MacOS A->Z
1. Install HomeBrew
Ref: https://brew.sh/
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
If MacOS can't found brew command
$ echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc
2. Install NVM (Node Version Management)
You can install vary node version in PC and easy switch between node version
$ brew install nvm
$ nvm --version
$ nvm install --lts // Install Node latest version
$ nvm install <node_version>
$ nvm use <node version>
Note: if nvm command not found, add line below to ./zshrc
source $(brew --prefix nvm)/nvm.sh
3. Install Yarn command
$ brew install yarn
4. How to show NPM Scripts in Visual Studio Code
Go to View > Open View > Select NPM Script
5. Install Many Java Verison in Mac OS
$ /usr/libexec/java_home -V // All Java Installed will show here
Comments[ 0 ]
Post a Comment