nvm is a version manager for node.js, designed to be installed per-user, and invoked per-shell. nvm works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and windows WSL.
1 |
|
1 |
|
Then add zsh-nvm
to plugin list in ./zshrc
1 |
|
This will compile (unfortunately) and install the latest LTS
1 |
|
Do NOT install the yarn from package manager (pacman), it has the node dependency that mess with NVM.
Official guide: pre-project install
1 |
|
Set proxy for the working project by edit ./yarnrc
Add following lines:
1 |
|