Node.js and NPM+NPX
- https://nodejs.org/en/
- https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
User global:
Section titled “User global:”mkdir ~/.npm-globalnpm config set prefix '~/.npm-global'echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bash_profileInstall global:
Section titled “Install global:”npm install -g npmnpm install -g nodemon now serve local-web-server json-servernpm install -g typescript @vue/cli @vue/cli-service-globalStarter kits
Section titled “Starter kits”npx create-<starter-kit-package>npm init <starter-kit-package>yarn create <starter-kit-package>NPX cache
Section titled “NPX cache”~/.npm/_npx