
npm
List of commands for npm:
-
npm:ai:02983 Installs forrest CLI globally using npm$ npm install -g forrest-clitry on your machineexplain this command
-
npm:ai:8c882 This command installs software using npm package manager for Node.js$ npm install ${package-name}try on your machineexplain this command
-
npm:ai:a465a Uninstalls forrest CLI globally on Linux.$ npm uninstall -g forrest-clitry on your machineexplain this command
-
npm:ai:c803f Install Electron with version 11.4.7 globally$ npm install -g electron@11.4.7try on your machineexplain this command
-
npm:ai:db6eb Installs the reth package globally$ npm install -g rethtry on your machineexplain this command
-
npm:init Interactively create a `package.json` file.$ npm inittry on your machineexplain this command
-
npm:module:global:remove-all Remove all global npm modules$ npm ls -gp --depth=0 | awk -F/ '/node_modules/ && !/\/npm$/ {print $NF}' | xargs npm -g rmtry on your machine
-
npm:module:local:remove Uninstall a local NPM package$ npm uninstall ${name}try on your machine
-
npm:module:reinstall-all Reinstall all NPM dependencies$ rm -rf node_modules && npm installtry on your machine
-
npm:modules:install:global List all globally installed NPM packages$ npm list -g --depth=0try on your machineexplain this command
-
npm:package:version Find version of an installed npm package$ npm list ${package_name}try on your machine
-
npm:packages:find:unused Find unused npm packages in package.json$ npx depchecktry on your machine
-
npm:packages:tree Print a tree of locally installed dependencies.$ npm listtry on your machineexplain this command
-
npm:packages:why Show why an npm package is installed.$ npm-why ${package_name}try on your machineexplain this command
-
npm:run:dev Run a npm based application in development mode.$ npm run devtry on your machineexplain this command
-
npm:test:run Execute tests in an npm managed application$ npm testtry on your machineexplain this command
-
npm:tldr:42a3b npm: Download a specific version of a package and add it to the list of dependencies in `package.json`.$ npm install ${module_name}@${version}try on your machineexplain this command
-
npm:tldr:84f19 npm: Download a package and add it to the list of dev dependencies in `package.json`.$ npm install ${module_name} --save-devtry on your machineexplain this command
-
npm:tldr:a8430 npm: Download a package and install it globally.$ npm install --global ${module_name}try on your machineexplain this command
-
npm:tldr:adbd7 npm: List top-level globally installed modules.$ npm list --global --depth=${0}try on your machineexplain this command
-
npm:tldr:d5311 npm: Download all the packages listed as dependencies in package.json.$ npm installtry on your machineexplain this command
-
npm:warp:0ef24 Update NPM to the latest version$ npm update -g npmtry on your machineexplain this command
-
npm:warp:213fc Update each dependency in package.json to the latest version (NPM)$ npm i -g npm-check-updates
$ ncu -u
$ npm installtry on your machineexplain this command -
npm:warp:cd2b6 Install npm package from GitHub directly$ npm install ${repo}#${branch}try on your machineexplain this command