Node.js and NPM+NPX

User global:

mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bash_profile

Install global:

npm install -g npm
npm install -g nodemon now serve local-web-server json-server
npm install -g typescript @vue/cli @vue/cli-service-global

Starter kits

npx create-<starter-kit-package>
npm init <starter-kit-package>
yarn create <starter-kit-package>

NPX cache

~/.npm/_npx

Related content: