Skip to content

Instantly share code, notes, and snippets.

View Ksound22's full-sized avatar
💭
iWrite iCode

Kolade Chris Ksound22

💭
iWrite iCode
View GitHub Profile

Terminal Commands for Beginners

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:

Keys and Key Combos you can Use in the Terminal

  • 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 forward
  • CTRL + B — Takes the cursor one character backward
@Ksound22
Ksound22 / install-nvm-node-on-wsl.md
Last active October 20, 2022 10:43
A step by step guide on how to install NVM and Node JS on WSL (Windows Subsystem for Linux)

How to Install NVM on WSL (Windows Subsystem for Linux)

  • 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