Skip to content

Node.js and NPM+NPX

Terminal window
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bash_profile
Terminal window
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
Terminal window
npx create-<starter-kit-package>
npm init <starter-kit-package>
yarn create <starter-kit-package>
~/.npm/_npx