As Javascript is client side based, you will probably need node.js for your serverside. That being said, here are some shortcuts for Javascript terminal usage -
1. Installing -
Regular: npm install
Shortcut: npm i
2. Testing -
Regular: npm test
Shortcut: npm t
3.Getting Help -
Regular: npm --help
Shortcut: npm -h
4. Global Flag -
Regular: --global
Shortcut -g
5. Saving as a Development Dependency -
Regular: --save-dev
Shortcut: -D
Accepting 'npm init' Defaults -
Regular: npm init --yes OR npm init --force
Shortcut: npm init -y OR npm init -f
Note that you no longer need to use '--save' or '-S' to save packages, as that is now the default. To install a package without saving it, use the '--no-save' flag.
You can find many more shortcuts at -
npm Tricks for Faster JavaScript Development[
^] or a basic development setup tutorial at -
JavaScript Tutorial – How to Set Up a Front End Development Project[
^]
For further clarification on Javascript vs Node.js, read more at -
Node js vs JavaScript[
^]