manjaro install nodejs code example
Example 1: debian install node js
su -
apt install curl -y
curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt install -y nodejs
Example 2: install node js in manjaro
pacman -S nodejs npm
Example 3: manjaro nodejs
sudo pacman -S nvm
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc
exec $SHELL
nvm ls-remote
nvm install --lts