Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 607 Bytes

File metadata and controls

66 lines (46 loc) · 607 Bytes

Command line tips

Here are some helpful command-line tips:

  1. Changing folders
cd <name-of-folder>
  1. Displaying folder contents
ls
  1. Creating folders
mkdir <name-of-folder>


npm & Yarn

  • Initializing/starting NodeJS project

npm

npm init

Yarn

yarn init

  • Adding files

npm

npm install <package-name>

Yarn

yarn add <package-name>

  • Removing files

npm

npm uninstall <package-name>

Yarn

yarn remove <package-name>