Node management



nvm = Node Version Manager

To manage multiple node js environement

To use javascript library, node is required. But javascript library has some dependencies of other javascript library.

So, we need multiple node js version for frontend development.

To make multiple node version environment, nvm is good.

Set up nvm (Mac OS X)

Please check nvm page.

curl -o- | bash


To set up nvm command for zsh, please prepare .zshrc

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/" ] && . "$NVM_DIR/"

Install node version

Before stating, please check latest version for remote

nvm ls-remote

Try to install <version> node js

nvm install <version>

<version> is version

ex) v14.0.8

Now, you can use node, and npm command

Install Angular CLI

Let’s install or update Angular CLI

npm install -g @angular/cli

npm upgrade

npm install -g npm
Professional Programmer2