Skip to the content.

Node.JS Cheat Sheet

Command Result
node -v View the version of Node that’s installed.
node init Start a node project.
npm install Installs the project if there is a package.json file.
npm install node-sass --save-dev Installs Sass to your project and saves it to your package.json file.
npm uninstall jquery --save Uninstall a dependency and remove it from the package.json file.
npm install live-server -g Automatically reload page on save. Have this applied globally.
live-server Command to run after live-server is installed to actually run live-server.
npm run compile:sass Run a specific script found within package.json.