In this article, we will show you how to install the NVM (Node Version Manager) on the Apple macOS M1 Silicon Chip
What is NVM?
NVM stands for Node Version Manager. As the name suggests, it helps you manage and switch between different Node versions with ease. It provides a command-line interface where you can install different versions with a single command, set a default, switch between them, and much more
Go to the Users directory `/users/username` as shown in the following screenshot
Create a new file .zhrc as shown below
Open the terminal and type the following command and hit enter
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
Once installed then you will see the output as shown below in the screenshot
Now if you look at .zhrc file. You will see the automated export configuration as shown in the following screenshot
That means NVM installed successfully.
Verify NVM Installation
Open the new terminal, type the following command to verify the NVM installation
Then you will see the command works and show you the list as shown in the following screenshot
Thank You! 🚀🚀🚀🚀🚀