Web Developing KB
Leading Pages
- Mirror-list: About the mirrors, accelerators for China users, etc.
NodeJS Environment Managers
- NVM, Node Version Manager
- N
- FNM, Fast Node Manager
- Volta
- Asdf
FNM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
brew install fnm
brew upgrade fnm
fnm ls-remote
fnm ls
fnm install --lts
fnm ls
fnm install 14.13.1
fnm use lts-latest
fnm default lts-latest
# install fnm env to your zsh so that node/npm can be available right now
cat >> $HOME/.zprofile <<EOF
command -v fnm >/dev/null && eval $(fnm env)
EOF
# Start a new zsh shell
zsh
# Now, these following should work:
node -v
npm -v
npm install -g npm
npm install -g yarn
yarn -v