Install Node.js Development Environment
- Install
git
sudo pacman -S git
- Install Visual Studio Code and nvm from AUR
yay -S visual-studio-code-bin nvm
- Add nvm init script to shell rc file
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc # bash echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.zshrc # zsh
- Install Node.js, e.g. version 12
nvm install 12