NVM Install Apple macOS M1 Silicon Chip

In this article, we will show you how to install the NVM (Node Version Manager) on the Apple macOS M1 Silicon Chip

Image for post

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

Video

NVM Installation

Step 1:

Go to the Users directory `/users/username` as shown in the following screenshot


Example:
/users/oxlb/
Image for post

Step 2:

Create a new file .zhrc as shown below

.zshrc
Image for post

Step 3:

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

Image for post

.ZHRC file

Now if you look at .zhrc file. You will see the automated export configuration as shown in the following screenshot

Image for post

That means NVM installed successfully.

Verify NVM Installation

Open the new terminal, type the following command to verify the NVM installation

nvm list

Then you will see the command works and show you the list as shown in the following screenshot

Image for post

Thank You! πŸš€πŸš€πŸš€πŸš€πŸš€

We teach & develop for startups

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store