- Make sure your Linux distro is up to date by running
sudo apt update && sudo apt upgrade
. - Install cURL by running
sudo apt-get install curl
- Install NVM by running
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
- Verify NVM installation by running
command -v nvm
- Check the available versions of Node JS by running
nvm ls available
- Install the latest release of Node JS by running
nvm install node
- Install the long-term support version by running
nvm install --lts
- Install a specific version by running
nvm install <version number>
. For example,nvm install 14.20.0
This is a list of terminal [or command line] commands every beginner should familiarize themselves with. This gist file is a manual for this video:
- Up Arrow β Shows the previous command executed. If you continue to press it, it gives you more and more commands you executed. YOu can also press the down arrow to see the previous command after pressing Up arrow.
- Home button β Takes the cursor to the start of the command line
- End button β Takes the cursor to the end of the command line
CTRL + F
β Takes the cursor one character forwardCTRL + B
β Takes the cursor one character backward