![]() Press ESC + :wq to save and close your file. Edit the following configuration file in your home directory vim ~/.bash_profileĪnd, add the below lines to ~/.bash_profile ( or ~/.zshrc for macOS Catalina or newer versions) export NVM_DIR=~/.nvm Now, configure the required environment variables. Next, create a directory for NVM at home. Update the Homebrew package list and install NVM. Now, your system is ready for the installation. ![]() brew uninstall -ignore-dependencies node brew uninstall -force node Step 2 – Install NVM on macOS My system already has installed node via Homebrew. If your system already has a node installed, uninstall it first. Login to the macOS desktop system and install Homebrew on your system (if not already installed) ruby -e "$(curl -fsSL )"įor more instruction visit Homebrew installation tutorial. You must have macOS desktop access with administrator privileges. This tutorial helps you to install NVM on your macOS system and manage Node.js versions. ![]() The macOS users can install NVM using the homebrew. The NVM (Node Version Manager) is a shell script used for installing and managing Node.js on a Linux-based system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |