Linux Terminal Glossary
›
Node.js & npm/yarn
Node.js & npm/yarn
479 commands
npm init
npm init -y
npm install
npm install express
npm install -D jest
npm install -g typescript
npm install express@4.18.0
npm uninstall express
npm update
npm run build
npm run dev
npm test
npm publish
npm link
npm audit
npm audit fix
npm ls
npm ls --depth=0
npm outdated
npm cache clean --force
npx create-react-app myapp
npx tsc --init
yarn add express
yarn add -D jest
yarn remove express
yarn upgrade
nvm install 20
nvm use 20
nvm ls
node -e 'console.log(1+1)'
npm init --scope=@myorg
npm set init-author-name 'Barry'
npm set init-license 'MIT'
npm config list
npm config list --json
npm config get prefix
npm config set registry https://registry.npmjs.org/
npm config set registry https://npm.pkg.github.com/
npm config delete proxy
npm config edit
npm config set save-exact true
npm config set fund false
npm config set loglevel warn
npm config set cache ~/.npm-cache
npm install package
npm install -D package
npm install -g package
npm install --save-exact package
npm install --legacy-peer-deps package
npm install --force package
npm install --no-save package
npm install --prefer-offline package
npm install --production
npm install package@2.3.1
npm install package@latest
npm install package@beta
npm install github:user/repo
npm install github:user/repo#branchname
npm install ./local-package
npm install file:../sibling-package
npm install https://registry.npmjs.org/package/-/package-1.0.0.tgz
npm ci
npm ci --omit=dev
npm install --ignore-scripts package
npm update package
npm uninstall package
npm uninstall -g package
npm uninstall --save-dev package
npm dedupe
npm prune
npm prune --production
npm run
npm run lint
npm run format
npm run build -- --watch
npm start
npm test -- --watch
npm stop
npm restart
npm run preinstall
npm run postbuild
npm version patch
npm version minor
npm version major
npm version prerelease --preid=beta
npm version patch --no-git-tag-version
npm publish --access public
npm publish --dry-run
npm publish --tag beta
npm pack
npm deprecate package@version 'Use newpkg instead'
npm unpublish package@version
npm dist-tag add package@1.2.3 latest
npm dist-tag ls package
npm dist-tag rm package beta
npm adduser
npm login
npm logout
npm whoami
npm token list
npm token create
npm token revoke abc123
npm owner add username package
npm owner rm username package
npm owner ls package
npm access public package
npm access restricted package
npm info package
npm info package version
npm info package versions --json
npm info package dist.tarball
npm search term
npm view package dependencies
npm view package peerDependencies
npm repo package
npm home package
npm bugs package
npm docs package
npm ls --all
npm ls package
npm ls -g --depth=0
npm why package
npm outdated --long
npm audit fix --force
npm audit --json
npm audit --audit-level=high
npm fund
npm diff --name-only
npm diff package@1.0.0 package@2.0.0
npm query ':semver(>2.0.0)'
npm link package-name
npm unlink package-name
npm cache verify
npm cache add package
npm init -w packages/myapp
npm install --workspaces
npm run build --workspace=packages/myapp
npm run test --workspaces --if-present
npm exec --workspace=packages/api -- node server.js
npm install package --workspace=packages/ui
npm exec -- jest --watch
npm pkg get name
npm pkg get scripts
npm pkg set version=2.0.0
npm pkg delete scripts.test
npm sbom --sbom-format=cyclonedx
npx create-next-app@latest myapp
npx create-vite@latest myapp
npx --yes cowsay hello
npx -p typescript tsc --init
npx http-server .
npx serve dist
npx ts-node script.ts
npx prettier --write .
npx eslint --fix src/
npx tsc --noEmit
npx rimraf node_modules dist
npx cross-env NODE_ENV=production node server.js
npx jest --coverage
npx concurrently 'npm run server' 'npm run client'
npx wait-on http://localhost:3000
npx open-cli http://localhost:3000
npx npm-check-updates -u
npx depcheck
npx patch-package
npx madge --circular src/
npx license-checker --summary
npx bundlesize
npx source-map-explorer dist/bundle.js
node script.js
node -e 'console.log(process.version)'
node -p 'JSON.parse(require("fs").readFileSync("pkg.json","utf8")).version'
node --inspect script.js
node --inspect-brk script.js
node --env-file=.env script.js
node --watch script.js
node --watch-path=src/ script.js
node --max-old-space-size=4096 script.js
node --experimental-vm-modules node_modules/.bin/jest
node --loader ts-node/esm script.ts
node -r dotenv/config script.js
node --input-type=module
node -v
node --version
node -
node -e 'process.exit(1)'
node --print 'os.cpus().length' --require os
node --experimental-fetch script.js
nvm install --lts
nvm install 20.11.0
nvm use --lts
nvm use default
nvm ls-remote
nvm ls-remote --lts
nvm alias default 20
nvm alias default lts/*
nvm current
nvm uninstall 18
nvm exec 18 node script.js
nvm run 18 script.js
nvm which 20
nvm cache clear
nvm deactivate
cat .nvmrc
echo '20' > .nvmrc
nvm use
volta install node
volta install node@20
volta install npm@10
volta install yarn
volta pin node@20
volta pin npm@10
volta list
volta list all
volta run --node=18 node script.js
volta which node
volta uninstall node@18
volta setup
volta fetch node@20
yarn
yarn install --frozen-lockfile
yarn add package
yarn add -D package
yarn add -P package
yarn add package@^2.0.0
yarn global add package
yarn remove package
yarn upgrade package
yarn upgrade package --latest
yarn upgrade-interactive
yarn upgrade-interactive --latest
yarn run scriptname
yarn dev
yarn workspaces foreach run build
yarn workspaces focus package
yarn dlx create-next-app myapp
yarn why package
yarn info package
yarn list --pattern 'react*'
yarn link
yarn link package-name
yarn unlink package-name
yarn cache clean
yarn cache list
yarn check --integrity
yarn init
yarn init -2
yarn set version stable
yarn config get nodeLinker
pnpm install
pnpm install --frozen-lockfile
pnpm add package
pnpm add -D package
pnpm add -g package
pnpm add package@3.0.0
pnpm remove package
pnpm update
pnpm update --latest
pnpm update --interactive
pnpm run build
pnpm dev
pnpm test
pnpm dlx create-react-app myapp
pnpm exec jest
pnpm -r run test
pnpm --filter package run build
pnpm store prune
pnpm store status
pnpm store path
pnpm list
pnpm outdated
pnpm audit
pnpm audit --fix
pnpm why package
pnpm link --global
pnpm init
pnpm env use --global lts
pnpm env use --global 20
pnpm config set auto-install-peers true
pnpm dedupe
npm install --package-lock-only
npm install --no-audit
npm install --no-fund
npm install --omit=optional
npm install --dry-run
npm install --offline
npm install --save-optional esbuild
npm install --save-peer react
npm install -w apps/web
npm install --workspaces --include-workspace-root
npm ci --ignore-scripts
npm ci --dry-run
npm ls --json
npm outdated --json
npm outdated -g
npm update -g
npm explain lodash
npm view lodash version
npm view lodash dist-tags
npm view lodash engines
npm view react@18.2.0 peerDependencies
npm view @types/node version
npm search express
npm cache ls lodash
npm rebuild
npm rebuild bcrypt
npm shrinkwrap
npm run --if-present lint
npm run env
npm run-script build
npm pkg set scripts.start='node index.js'
npm pkg set engines.node='>=20'
npm pkg set private=true
npm pkg fix
npm version 1.2.3
npm version from-git
npm version minor --workspaces
npm publish ./dist
npm publish --ignore-scripts
npm publish --otp=123456
npm unpublish lodash --force
npm pack --dry-run
npm pack --pack-destination ./tarballs
npm star lodash
npm unstar lodash
npm stars
npm ping
npm doctor
npm prefix
npm prefix -g
npm root
npm root -g
npm config get registry
npm config get cache
npm config set package-lock false
npm config set engine-strict true
npm config set @myorg:registry https://npm.pkg.github.com/
npm set save-prefix='~'
npm token create --read-only
npm token create --cidr=192.168.1.0/24
npm token revoke abc123
npm profile get
npm profile enable-2fa auth-and-writes
npm org set myorg barry developer
npm org ls myorg
npm org rm myorg barry
npm team create myorg:developers
npm team ls myorg
npm team add myorg:developers barry
npm team rm myorg:developers barry
npm team destroy myorg:developers
npm access grant read-only myorg:developers @myorg/mylib
npm access revoke myorg:developers @myorg/mylib
npm access list collaborators @myorg/mylib
npm exec --package=typescript -- tsc --version
npx --no-install prettier --check src/
npx -y @biomejs/biome check .
npx tsx script.ts
npx vitest run
npx turbo run build
npx knip
npx syncpack list-mismatches
node --check script.js
node --test
node --test --test-reporter=spec test/
node --trace-warnings server.js
node --trace-deprecation server.js
node --inspect=0.0.0.0:9229 server.js
node --heap-prof --heap-prof-dir=prof server.js
node --cpu-prof --cpu-prof-dir=prof server.js
node --prof server.js
node --experimental-strip-types script.ts
node --run dev
node --no-warnings server.js
node --expose-gc script.js
node --v8-options
node --import tsx script.ts
node --env-file-if-exists=.env server.js
nvm install node
nvm install --lts=iron
nvm install --reinstall-packages-from=default
nvm alias
nvm unalias myalias
nvm install-latest-npm
nvm reinstall-packages 20
nvm cache dir
fnm install --lts
fnm install 22
fnm use 22
fnm ls
fnm current
fnm default 22
fnm uninstall 22
fnm env --use-on-cd --shell bash
fnm exec --using=22 node --version
fnm ls-remote --lts
corepack enable
corepack disable
corepack prepare yarn@4.1.1 --activate
corepack use pnpm@9.12.0
corepack install
pnpm add --save-optional concurrently
pnpm add --save-exact lodash
pnpm add --save-peer react
pnpm add -w lodash
pnpm install --offline
pnpm install --prod
pnpm install --ignore-scripts
pnpm install --fix-lockfile
pnpm install --shamefully-hoist
pnpm store add lodash
pnpm fetch
pnpm --filter=web deploy --prod ./dist-web
pnpm patch lodash@4.17.21
pnpm patch-commit /tmp/lodash-edit
pnpm approve-builds
pnpm config get registry
pnpm config list
pnpm dlx tsx script.ts
pnpm exec eslint --fix src/
pnpm pack
pnpm publish
pnpm publish --no-git-checks
pnpm rebuild
pnpm licenses list
pnpm import
pnpm link ../shared-lib
pnpm create vite myapp
yarn install --offline
yarn add --exact lodash
yarn global list
yarn global remove nodemon
yarn workspaces info
yarn workspaces list
yarn workspaces foreach --parallel --all run test
yarn dlx prettier --write .
yarn plugin import workspace-tools
yarn cache clean --all
yarn config list
yarn config set nodeLinker node-modules
yarn node script.js
yarn npm whoami
yarn npm publish --access public
yarn npm info lodash
yarn version patch
yarn up lodash
yarn audit
bun install
bun install --frozen-lockfile
bun install --production
bun install --no-save
bun add lodash
bun add -d typescript
bun add -g typescript
bun add -E zod
bun remove lodash
bun update --latest
bun run dev
bun test
bun test --watch
bun test --coverage
bunx cowsay hi
bun create vite myapp
bun init my-app
bun pm ls
bun pm cache
bun pm cache rm
bun pm pack
bun pm version patch
bun pm whoami
bun link
bun unlink
bun build ./src/index.ts --outdir ./dist
bun build ./app.tsx --outdir ./out --target browser --minify
bun repl
bun --version
bun upgrade
bun publish
npm token revoke 4f2a9c1e8b3d7f5a
Search all 7,657 commands
instead.