Skip to content

Instantly share code, notes, and snippets.

@jorgeluisrmx
Last active August 28, 2019 03:36
Show Gist options
  • Save jorgeluisrmx/32d72876cb1e12f5b7ba2f755fac01d8 to your computer and use it in GitHub Desktop.
Save jorgeluisrmx/32d72876cb1e12f5b7ba2f755fac01d8 to your computer and use it in GitHub Desktop.
# usage
pipenv shell
npx ijsnotebook
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
# Install
pipenv install jupyter
npm install ijavascript
npm init # questionnaire to create package.json
npm init --yes # creates a default package.json
npm install <package-name> # install local package
npm install package@1.1.5 #install specific version of a package
npm run <script> # run 'scripts' of package.sjon
npm list # list installed packages
npm outdated # list outaded packages
npm update <package-name> # update package
npm uninstall <package-name> # unsinstall local package
npm search <package-name> # search for packages
npm install -g <package-name> # install GLOBAL packake
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
# install depedencies from package.json & package-lock.json
npm install
# npm version
npm -v
# Show packages installed in global mode
npm list -g --depth 0
npx <package-name> # run package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment