Additional Instructions for macOS and Linux
Additional instructions on setting up the Ionic environment on macOS and Linux are provided in this lesson.
We'll cover the following...
Node Version Manager
Now review another way to install Node on macOS and Linux. My preferred approach to anything relating to node
and npm
is to install a tool called the Node Version Manager, or nvm
. It is a little more involved, but far more flexible overall.
What is nvm
? It is an elegant set of shell script functions to enable the most flexible use of node
imaginable.
The primary purpose of nvm
is to enable you to install and switch between multiple versions of node
and npm
instantly. So, if you happen to have one project that requires Node 8, but another one that requires Node 4, for example, it is easy to keep them both installed, yet still independent from one another.
To me, the more notable features of nvm
revolve around root, or administrator ...