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
InstallAddNodenvmVersioninitManagerscriptusingto
shellcurlorrcwget, whichever is availablefilecurlecho-o-'sourcehttps:/usr/share/nvm/init-nvm.sh' >> ~/raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh.bashrc|# bashwgetecho-qO-'sourcehttps:/usr/share/nvm/init-nvm.sh' >> ~/raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh.zshrc|#bashzsh- Install Node.js, e.g. version 12
nvm install 12