![]() ![]() $ nvm install 16.14.2 # Check locally installed versions. $ nvm ls-remote # Install specific version. $ source ~/.bash_profile # Verify nvm is installed $ nvm -version *** # Check all available remote versions. export NVM_DIR=~/.nvm source $(brew -prefix nvm)/nvm.sh # Read and execute your updated ~/.bash_profile. $ mkdir ~/.nvm # Add the following to your ~/.bash_profile. ![]() $ brew install nvm # Create system directory for nvm. ![]() I’d like to make a small update to this post, by also mentioning that there’s another approach to easily switch between different node versions, and that is to use Node Version Manager (NVM). If you’re working on multiple projects, and wish to quickly switch between different versions of Node due to compatibility, then Homebrew might come in handy. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |