Commandes Node.js - Guide complet CLI JavaScript

🏷️ Lignes des commandes 📅 24/02/2026 17:00:00 👤 Mezgani said
Node.js Javascript Cli Runtime Npm Modules Asynchrone Backend Développement Serveur

Explorez les commandes Node.js pour exécuter des scripts JavaScript côté serveur. Gestion des modules, debugging et outils essentiels.

Ligne de commande :
node
Description :

Lance l'interpréteur JavaScript Node.js (REPL)

Options :
  • --version
  • -v
  • --eval
  • -e
  • --print
  • -p
  • --check
  • -c
  • --interactive
  • -i
  • --require
  • -r
  • --inspect
  • --inspect-brk
  • --inspect-port
  • --no-deprecation
  • --trace-deprecation
  • --throw-deprecation
  • --pending-deprecation
  • --no-warnings
  • --trace-warnings
  • --redirect-warnings
  • --trace-sync-io
  • --trace-event-categories
  • --trace-event-file-pattern
  • --max-http-header-size
  • --unhandled-rejections
  • --experimental-modules
  • --es-module-specifier-resolution
  • --experimental-json-modules
  • --experimental-wasm-modules
  • --experimental-import-meta-resolve
  • --experimental-loader
  • --experimental-network-imports
  • --experimental-policy
  • --experimental-vm-modules
  • --experimental-worker
  • --heap-prof
  • --diagnostic-dir
  • --report-uncaught-exception
  • --report-on-signal
  • --report-on-fatalerror
  • --report-compact
  • --report-filename
  • --report-dir
  • --title
  • --input-type
  • --disable-proto
  • --napi-modules
  • --no-addons
  • --abort-on-uncaught-exception
  • --max-old-space-size
  • --max-semi-space-size
  • --max-heap-size
  • --stack-trace-limit
  • --trace-gc
  • --expose-gc
  • --gc-global
  • --gc-interval
  • --prof
  • --prof-process
  • --cpu-prof
  • --cpu-prof-dir
  • --cpu-prof-interval
  • --cpu-prof-name
  • --heap-prof
  • --heap-prof-dir
  • --heap-prof-interval
  • --heap-prof-name
  • --tls-min-v1.0
  • --tls-min-v1.1
  • --tls-min-v1.2
  • --tls-min-v1.3
  • --tls-max-v1.2
  • --tls-max-v1.3
  • --enable-source-maps
  • --openssl-config
  • --use-openssl-ca
  • --use-bundled-ca
  • --icu-data-dir
  • --preserve-symlinks
  • --preserve-symlinks-main
  • --experimental-specifier-resolution
  • --conditions
  • -C
  • --watch
  • --watch-path
  • --watch-preserve-output
  • --env-file
  • --env-file-if-exists
  • --test
  • --test-name-pattern
  • --test-only
  • --test-reporter
  • --test-reporter-destination
  • --test-shard
  • --test-timeout
  • --test-concurrency
  • --test-coverage-lines
  • --test-coverage-branches
  • --test-coverage-functions
  • --dns-result-order

Ligne de commande :
node mon-fichier.js
Description :

Exécute un fichier JavaScript avec Node.js

Ligne de commande :
npm init
Description :

Initialise un nouveau projet Node.js avec package.json

Options :
  • --yes
  • -y
  • --force
  • -f
  • --scope
  • --workspace
  • -w
  • --include-workspace-root
  • --install-links

Ligne de commande :
npm install
Description :

Installe toutes les dépendances listées dans package.json

Options :
  • --save-prod
  • -P
  • --save-dev
  • -D
  • --save-optional
  • -O
  • --save-exact
  • -E
  • --save-bundle
  • -B
  • --no-save
  • --global
  • -g
  • --global-style
  • --legacy-bundling
  • --omit
  • -w
  • --workspace
  • --workspaces
  • --include-workspace-root
  • --install-links
  • --dry-run
  • --force
  • -f
  • --package-lock-only
  • --no-package-lock
  • --ignore-scripts
  • --no-audit
  • --no-bin-links
  • --no-fund
  • --audit
  • --strict-peer-deps
  • --prefer-offline
  • --offline
  • --cache
  • --prefix

Ligne de commande :
npm i
Description :

Alias de npm install

Options :
  • --save-prod
  • -P
  • --save-dev
  • -D
  • --save-optional
  • -O
  • --save-exact
  • -E
  • --save-bundle
  • -B
  • --no-save
  • --global
  • -g

Ligne de commande :
npm uninstall
Description :

Désinstalle un package Node.js

Options :
  • --save
  • -S
  • --save-dev
  • -D
  • --save-optional
  • -O
  • --no-save
  • --global
  • -g
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm update
Description :

Met à jour les packages Node.js

Options :
  • --save
  • --save-dev
  • -D
  • --global
  • -g
  • --depth
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm outdated
Description :

Vérifie les packages obsolètes

Options :
  • --all
  • -a
  • --json
  • --long
  • --parseable
  • --global
  • -g
  • --workspace
  • -w

Ligne de commande :
npm list
Description :

Liste les packages installés

Options :
  • --all
  • -a
  • --json
  • --long
  • --parseable
  • --global
  • -g
  • --depth
  • --prod
  • --development
  • --omit
  • --link
  • --unicode
  • --workspace
  • -w

Ligne de commande :
npm ls
Description :

Alias de npm list

Options :
  • --all
  • -a
  • --json
  • --long
  • --parseable
  • --global
  • -g
  • --depth

Ligne de commande :
npm run
Description :

Exécute un script défini dans package.json

Options :
  • --silent
  • -s
  • --if-present
  • --workspace
  • -w
  • --workspaces
  • --include-workspace-root
  • --foreground-scripts
  • --ignore-scripts
  • --script-shell

Ligne de commande :
npm start
Description :

Exécute le script 'start' du package.json

Options :
  • --
  • --silent
  • -s

Ligne de commande :
npm test
Description :

Exécute le script 'test' du package.json

Options :
  • --
  • --silent
  • -s

Ligne de commande :
npm stop
Description :

Exécute le script 'stop' du package.json

Options :
  • --
  • --silent
  • -s

Ligne de commande :
npm restart
Description :

Exécute les scripts 'stop' puis 'start'

Options :
  • --
  • --silent
  • -s

Ligne de commande :
npm publish
Description :

Publie un package sur le registre npm

Options :
  • --access
  • --tag
  • --dry-run
  • --otp
  • --registry
  • --scope
  • --provenance
  • --sbom-type
  • --sbom-format
  • --workspace
  • -w
  • --workspaces
  • --include-workspace-root

Ligne de commande :
npm version
Description :

Met à jour la version dans package.json

Options :
  • major
  • minor
  • patch
  • premajor
  • preminor
  • prepatch
  • prerelease
  • --allow-same-version
  • --commit-hooks
  • --git-tag-version
  • --json
  • --preid
  • --sign-git-tag
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm search
Description :

Recherche des packages sur le registre npm

Options :
  • --long
  • --json
  • --parseable
  • --no-description
  • --searchopts
  • --searchexclude
  • --registry
  • --prefer-online
  • --prefer-offline
  • --offline

Ligne de commande :
npm view
Description :

Affiche les informations d'un package

Options :
  • --json
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm info
Description :

Alias de npm view

Options :
  • --json
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm cache clean
Description :

Nettoie le cache npm

Options :
  • --force
  • -f

Ligne de commande :
npm cache verify
Description :

Vérifie l'intégrité du cache npm

Ligne de commande :
npm audit
Description :

Audite les vulnérabilités des dépendances

Options :
  • --audit-level
  • --dry-run
  • --force
  • -f
  • --json
  • --package-lock-only
  • --omit
  • --production
  • --registry
  • --fix
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm audit fix
Description :

Corrige automatiquement les vulnérabilités

Options :
  • --force
  • -f
  • --package-lock-only
  • --dry-run
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm dedupe
Description :

Déduplique les dépendances dans l'arbre node_modules

Options :
  • --global-style
  • --legacy-bundling
  • --strict-peer-deps
  • --no-package-lock
  • --omit
  • --ignore-scripts
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm prune
Description :

Supprime les packages orphelins

Options :
  • --omit
  • --dry-run
  • --json
  • --foreground-scripts
  • --ignore-scripts
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm shrinkwrap
Description :

Crée un fichier npm-shrinkwrap.json

Ligne de commande :
npm ci
Description :

Installation propre depuis package-lock.json

Options :
  • --omit
  • --ignore-scripts
  • --no-audit
  • --no-fund
  • --dry-run
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm link
Description :

Crée un lien symbolique pour un package local

Options :
  • --global
  • --install-links
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm unlink
Description :

Supprime un lien symbolique

Options :
  • --global
  • --workspace
  • -w
  • --workspaces

Ligne de commande :
npm rebuild
Description :

Reconstruit les modules natifs

Options :
  • --global
  • -g
  • --workspace
  • -w
  • --workspaces
  • --ignore-scripts

Ligne de commande :
npm repo
Description :

Ouvre la page du dépôt d'un package

Options :
  • --browser
  • --workspace
  • -w

Ligne de commande :
npm docs
Description :

Ouvre la documentation d'un package

Options :
  • --browser
  • --workspace
  • -w

Ligne de commande :
npm home
Description :

Ouvre la page d'accueil d'un package

Options :
  • --browser
  • --workspace
  • -w

Ligne de commande :
npm bugs
Description :

Ouvre la page des bugs d'un package

Options :
  • --browser
  • --workspace
  • -w

Ligne de commande :
npm config
Description :

Gère la configuration npm

Options :
  • set
  • get
  • delete
  • list
  • edit
  • --global
  • -g
  • --location

Ligne de commande :
npm login
Description :

Se connecte au registre npm

Options :
  • --registry
  • --scope
  • --auth-type

Ligne de commande :
npm logout
Description :

Se déconnecte du registre npm

Options :
  • --registry
  • --scope

Ligne de commande :
npm whoami
Description :

Affiche l'utilisateur npm connecté

Options :
  • --registry

Ligne de commande :
npm access
Description :

Gère les accès des packages publiés

Options :
  • public
  • restricted
  • grant
  • revoke
  • ls-packages
  • ls-collaborators
  • edit

Ligne de commande :
npm owner
Description :

Gère les propriétaires d'un package

Options :
  • add
  • rm
  • ls

Ligne de commande :
npm team
Description :

Gère les équipes npm

Options :
  • create
  • destroy
  • add
  • rm
  • ls

Ligne de commande :
npm pack
Description :

Crée un tarball du package

Options :
  • --dry-run
  • --json
  • --pack-destination

Ligne de commande :
npm prefix
Description :

Affiche le préfixe d'installation

Options :
  • --global
  • -g

Ligne de commande :
npm root
Description :

Affiche le chemin de node_modules

Options :
  • --global
  • -g

Ligne de commande :
npm bin
Description :

Affiche le dossier des exécutables npm

Options :
  • --global
  • -g

Ligne de commande :
npm explore
Description :

Explore un package installé

Ligne de commande :
npm exec
Description :

Exécute une commande depuis un package npm

Options :
  • --workspace
  • -w
  • --workspaces
  • --include-workspace-root
  • -c
  • --call

Ligne de commande :
npx
Description :

Exécute un package npm sans l'installer globalement

Options :
  • --package
  • -p
  • --cache
  • --userconfig
  • --call
  • -c
  • --shell
  • --yes
  • -y
  • --no
  • -n
  • --quiet
  • -q
  • --ignore-existing
  • --node-arg
  • -n

Ligne de commande :
npm init @eslint/config
Description :

Initialise ESLint dans un projet Node.js

Ligne de commande :
npx eslint
Description :

Lance ESLint sur le code

Options :
  • --fix
  • --quiet
  • --format
  • --max-warnings
  • --ext
  • --ignore-path
  • --no-ignore
  • --cache
  • --no-eslintrc
  • --config
  • -c
  • --rulesdir
  • --env
  • --global
  • --parser
  • --parser-options
  • --resolve-plugins-relative-to
  • --plugin
  • --rule
  • --report-unused-disable-directives

Ligne de commande :
npx prettier
Description :

Formate le code avec Prettier

Options :
  • --write
  • --check
  • --config
  • --ignore-path
  • --parser
  • --print-width
  • --tab-width
  • --single-quote
  • --trailing-comma
  • --bracket-spacing
  • --arrow-parens
  • --end-of-line
  • --semi
  • --use-tabs
  • --prose-wrap
  • --html-whitespace-sensitivity
  • --vue-indent-script-and-style
  • --embedded-language-formatting
  • --quote-props

Ligne de commande :
npx jest
Description :

Lance les tests avec Jest

Options :
  • --watch
  • --watchAll
  • --coverage
  • --verbose
  • --runInBand
  • --maxWorkers
  • --testNamePattern
  • -t
  • --updateSnapshot
  • -u
  • --bail
  • --silent
  • --onlyChanged
  • -o
  • --json
  • --outputFile
  • --config
  • -c
  • --clearCache
  • --no-cache
  • --collectCoverageFrom
  • --coverageDirectory
  • --coverageReporters
  • --coverageThreshold
  • --forceExit
  • --logHeapUsage
  • --detectOpenHandles

Ligne de commande :
npx mocha
Description :

Lance les tests avec Mocha

Options :
  • --watch
  • -w
  • --grep
  • -g
  • --fgrep
  • -f
  • --invert
  • -i
  • --recursive
  • --reporter
  • -R
  • --ui
  • -U
  • --timeout
  • -t
  • --slow
  • -s
  • --bail
  • -b
  • --exit
  • --parallel
  • -p
  • --jobs
  • -j
  • --retries
  • --require
  • -r
  • --config
  • --opts
  • --globals
  • --check-leaks
  • --full-trace
  • --inline-diffs
  • --no-diff
  • --no-timeouts
  • --color
  • --no-color
  • --delay
  • --dry-run
  • --file
  • --sort
  • --package

Ligne de commande :
npx ts-node
Description :

Exécute directement des fichiers TypeScript

Options :
  • --transpile-only
  • --compiler
  • -C
  • --project
  • -P
  • --ignore
  • -I
  • --prefer-ts-exts
  • --log-error
  • --pretty
  • --skip-project
  • --skip-ignore
  • --emit
  • --cwd
  • --scope
  • --scope-dir
  • --files
  • --help

Ligne de commande :
npx tsc
Description :

Compile TypeScript en JavaScript

Options :
  • --all
  • --allowJs
  • --allowUmdGlobalAccess
  • --allowUnreachableCode
  • --allowUnusedLabels
  • --alwaysStrict
  • --baseUrl
  • --build
  • -b
  • --charset
  • --checkJs
  • --composite
  • --declaration
  • -d
  • --declarationDir
  • --declarationMap
  • --diagnostics
  • --disableSizeLimit
  • --downlevelIteration
  • --emitBOM
  • --emitDeclarationOnly
  • --esModuleInterop
  • --experimentalDecorators
  • --extendedDiagnostics
  • --forceConsistentCasingInFileNames
  • --generateCpuProfile
  • --help
  • -h
  • --importHelpers
  • --importsNotUsedAsValues
  • --inlineSourceMap
  • --inlineSources
  • --init
  • --isolatedModules
  • --jsx
  • --jsxFactory
  • --jsxFragmentFactory
  • --lib
  • --listEmittedFiles
  • --listFiles
  • --listFilesOnly
  • --locale
  • --mapRoot
  • --maxNodeModuleJsDepth
  • --module
  • -m
  • --moduleResolution
  • --newLine
  • --noEmit
  • --noEmitHelpers
  • --noEmitOnError
  • --noErrorTruncation
  • --noFallthroughCasesInSwitch
  • --noImplicitAny
  • --noImplicitOverride
  • --noImplicitReturns
  • --noImplicitThis
  • --noImplicitUseStrict
  • --noLib
  • --noPropertyAccessFromIndexSignature
  • --noResolve
  • --noStrictGenericChecks
  • --noUncheckedIndexedAccess
  • --noUnusedLocals
  • --noUnusedParameters
  • --out
  • --outDir
  • --outFile
  • --paths
  • --plugins
  • --preserveConstEnums
  • --preserveSymlinks
  • --preserveWatchOutput
  • --pretty
  • --project
  • -p
  • --reactNamespace
  • --removeComments
  • --resolveJsonModule
  • --rootDir
  • --rootDirs
  • --showConfig
  • --skipDefaultLibCheck
  • --skipLibCheck
  • --sourceMap
  • --sourceRoot
  • --strict
  • --strictBindCallApply
  • --strictFunctionTypes
  • --strictNullChecks
  • --strictPropertyInitialization
  • --stripInternal
  • --suppressExcessPropertyErrors
  • --suppressImplicitAnyIndexErrors
  • --target
  • -t
  • --traceResolution
  • --tsBuildInfoFile
  • --typeRoots
  • --types
  • --useDefineForClassFields
  • --useUnknownInCatchVariables
  • --version
  • -v
  • --watch
  • -w

Ligne de commande :
npx nodemon
Description :

Surveille les fichiers et redémarre automatiquement Node.js

Options :
  • --watch
  • -w
  • --ext
  • -e
  • --exec
  • -x
  • --ignore
  • -i
  • --delay
  • --legacy-watch
  • -L
  • --polling-interval
  • --verbose
  • -V
  • --quiet
  • -q
  • --config
  • -c
  • --signal
  • --stdin
  • --inspect
  • --no-colors
  • --spawn
  • --exitcrash

Ligne de commande :
npx pm2 start
Description :

Démarre une application Node.js avec PM2

Options :
  • --name
  • -n
  • --watch
  • --ignore-watch
  • --max-memory-restart
  • --instances
  • -i
  • --log
  • -l
  • --output
  • -o
  • --error
  • -e
  • --time
  • --no-autorestart
  • --cron
  • --no-daemon
  • --env
  • --interpreter
  • --node-args
  • --max-restarts
  • --min-uptime
  • --kill-timeout
  • --listen-timeout
  • --restart-delay
  • --wait-ready
  • --merge-logs
  • --disable-logs
  • --log-date-format

Ligne de commande :
npx pm2 list
Description :

Liste les processus PM2

Options :
  • --sort

Ligne de commande :
npx pm2 stop
Description :

Arrête une application PM2

Options :
  • all
  • --silent

Ligne de commande :
npx pm2 restart
Description :

Redémarre une application PM2

Options :
  • all
  • --update-env

Ligne de commande :
npx pm2 delete
Description :

Supprime une application PM2

Options :
  • all

Ligne de commande :
npx pm2 logs
Description :

Affiche les logs des applications PM2

Options :
  • --raw
  • --json
  • --format
  • --lines
  • -n
  • --err
  • --out
  • --timestamp

Ligne de commande :
npx pm2 monit
Description :

Affiche le monitoring en temps réel

Ligne de commande :
npx pm2 save
Description :

Sauvegarde la liste des processus PM2

Options :
  • --force

Ligne de commande :
npx pm2 resurrect
Description :

Restaure les processus sauvegardés

Ligne de commande :
npx yarn
Description :

Gestionnaire de packages alternatif à npm

Options :
  • add
  • remove
  • upgrade
  • upgrade-interactive
  • install
  • info
  • list
  • why
  • run
  • test
  • build
  • dev
  • start
  • workspace
  • workspaces
  • focus
  • global
  • cache clean
  • config
  • init
  • create
  • dlx
  • plugin
  • pnp
  • version
  • publish
  • login
  • logout
  • link
  • unlink
  • audit
  • outdated
  • dedupe
  • pack
  • patch
  • patch-commit
  • set
  • unplug
  • stage
  • bin
  • constraints
  • exec
  • explain
  • generate
  • import
  • info
  • init
  • licenses
  • node
  • npm
  • policies
  • rebuild
  • search
  • tag
  • team
  • unplug
  • workspace-tools

Ligne de commande :
npx pnpm
Description :

Gestionnaire de packages rapide et économe en espace

Options :
  • install
  • i
  • add
  • update
  • up
  • remove
  • rm
  • uninstall
  • unlink
  • link
  • list
  • ls
  • outdated
  • rebuild
  • rb
  • prune
  • run
  • test
  • start
  • exec
  • dlx
  • create
  • init
  • publish
  • version
  • audit
  • audit fix
  • why
  • store status
  • store add
  • store prune
  • store path
  • config
  • root
  • bin
  • setup
  • doctor
  • recursive
  • patch
  • patch-commit
  • patch-remove
  • env
  • server
  • import
  • deploy
  • undeploy
  • cjs
  • esm

Ligne de commande :
node --inspect
Description :

Démarre Node.js avec le débogueur activé

Options :
  • --inspect-brk
  • --inspect-port

Ligne de commande :
npx cross-env
Description :

Définit des variables d'environnement cross-platform

Ligne de commande :
npx dotenv
Description :

Charge les variables d'environnement depuis .env

Options :
  • -e
  • --path
  • -c
  • --command
  • --help

Ligne de commande :
npx rimraf
Description :

Supprime récursivement des dossiers (node_modules, dist)

Options :
  • --glob
  • -g
  • --verbose

Ligne de commande :
npx mkdirp
Description :

Crée des dossiers récursivement

Options :
  • --mode
  • -m

Ligne de commande :
npx ncp
Description :

Copie récursive de fichiers/dossiers

Options :
  • --filter
  • --transform
  • --stopOnErr
  • --limit

Ligne de commande :
npx concurrently
Description :

Exécute plusieurs commandes en parallèle

Options :
  • --kill-others
  • -k
  • --raw
  • --success
  • -s
  • --prefix
  • -p
  • --names
  • -n
  • --prefix-colors
  • -c
  • --timestamp-format
  • --hide
  • --group
  • -g
  • --timings
  • -t
  • --restart-tries
  • --restart-after
  • --max-processes
  • -m
  • --handle-input
  • -i
  • --default-input-target

Ligne de commande :
npx wait-on
Description :

Attend qu'une ressource soit disponible

Options :
  • --timeout
  • -t
  • --interval
  • -i
  • --reverse
  • -r
  • --verbose
  • -v
  • --log
  • -l
  • --httpTimeout
  • --tcpTimeout
  • --window
  • -w
  • --validateStatus

Ligne de commande :
npx http-server
Description :

Sert un dossier avec un serveur HTTP

Options :
  • -p
  • --port
  • -a
  • --address
  • -c
  • --cache
  • --cors
  • --gzip
  • --brotli
  • --ssl
  • --cert
  • --key
  • --proxy
  • --username
  • --password
  • --robots
  • --no-dotfiles
  • --ext
  • -e
  • --utc
  • --log-ip
  • --no-dir-listings

Ligne de commande :
npx localtunnel
Description :

Expose un serveur local sur internet

Options :
  • --port
  • -p
  • --subdomain
  • -s
  • --local-host
  • --local-https
  • --allow-invalid-cert
  • --print-requests

Ligne de commande :
npx ngrok
Description :

Crée un tunnel sécurisé vers localhost

Options :
  • http
  • tcp
  • tls
  • --config
  • --authtoken
  • --region
  • --hostname
  • --subdomain
  • --host-header
  • --basic-auth
  • --oauth
  • --oauth-scope
  • --oauth-allow-email
  • --oauth-client-id
  • --oauth-client-secret
  • --request-header-remove
  • --request-header-add
  • --response-header-add
  • --response-header-remove
  • --verify-webhook
  • --verify-webhook-secret
  • --scheme
  • --bind-tls
  • --cidr-allow
  • --cidr-den
  • --proxy-proto
  • --remote-addr

Ligne de commande :
node --version
Description :

Affiche la version de Node.js

Ligne de commande :
npm --version
Description :

Affiche la version de npm

Ligne de commande :
npx nvm
Description :

Node Version Manager (gère plusieurs versions de Node.js)

Options :
  • install
  • uninstall
  • use
  • list
  • ls
  • ls-remote
  • current
  • alias
  • which
  • run
  • exec
  • version
  • --lts
  • --latest-npm
  • --no-progress
  • --reinstall-packages-from
  • --skip-default-packages

Ligne de commande :
npx n
Description :

Gestionnaire de versions Node.js simple

Options :
  • install
  • i
  • latest
  • stable
  • lts
  • run
  • use
  • which
  • bin
  • ls
  • lsr
  • list
  • remove
  • rm
  • -
  • prune
  • doctor
  • uninstall

Ligne de commande :
npx fnm
Description :

Fast Node Manager (gestionnaire de versions rapide)

Options :
  • install
  • uninstall
  • use
  • list
  • ls
  • list-remote
  • ls-remote
  • current
  • alias
  • unalias
  • default
  • completions
  • env
  • exec
  • which
  • version

Ligne de commande :
npx volta
Description :

Gestionnaire d'outils JavaScript

Options :
  • install
  • uninstall
  • pin
  • list
  • which
  • fetch
  • run
  • setup
  • completions

Ligne de commande :
npx depcheck
Description :

Vérifie les dépendances inutilisées

Options :
  • --ignore-bin-package
  • --skip-missing
  • --json
  • --ignores
  • --parsers
  • --detectors
  • --specials

Ligne de commande :
npx npm-check
Description :

Vérifie interactivement les dépendances obsolètes

Options :
  • -u
  • --update
  • -g
  • --global
  • -s
  • --skip-unused
  • -p
  • --production
  • -d
  • --dev-only
  • -E
  • --save-exact
  • --specials
  • --emoji
  • --installer
  • --no-color
  • --debug
  • --ignore

Ligne de commande :
npx license-checker
Description :

Vérifie les licences des dépendances

Options :
  • --production
  • --development
  • --json
  • --csv
  • --out
  • --relativeLicensePath
  • --summary
  • --failOn
  • --onlyAllow
  • --excludePackages
  • --excludePrivatePackages
  • --packages
  • --unknown
  • --customPath
  • --start
  • --direct
  • --color

Ligne de commande :
npx madge
Description :

Analyse les dépendances entre modules

Options :
  • --basedir
  • --extensions
  • --exclude
  • --include-npm
  • --webpack-config
  • --ts-config
  • --layout
  • --font-size
  • --bg-color
  • --node-color
  • --edge-color
  • --no-dependency-color
  • --cyclic
  • --orphans
  • --leaves
  • --image
  • --json
  • --dot

Ligne de commande :
npx pkg
Description :

Crée un exécutable à partir d'un projet Node.js

Options :
  • --targets
  • -t
  • --config
  • -c
  • --options
  • -o
  • --output
  • --out-path
  • --debug
  • --build
  • --public
  • --public-packages
  • --private
  • --no-bytecode
  • --no-native-build
  • --compress
  • --public-packages

Ligne de commande :
npx nexe
Description :

Alternative à pkg pour créer des exécutables Node.js

Options :
  • --input
  • -i
  • --output
  • -o
  • --target
  • -t
  • --build
  • -b
  • --bundle
  • --flags
  • --python
  • --configure
  • --make
  • --verbose
  • -v
  • --version

Ligne de commande :
npx webpack
Description :

Bundle des modules JavaScript

Options :
  • --config
  • --mode
  • --watch
  • --env
  • --profile
  • --json
  • --progress
  • --devtool
  • --entry
  • --output-path
  • -o
  • --stats
  • --no-stats
  • --color
  • --no-color
  • --display
  • --display-error-details
  • --display-modules
  • --display-reasons
  • --display-used-exports
  • --display-provided-exports
  • --display-optimization-bailout
  • --hide-modules
  • --silent
  • --fail-on-error
  • --bail
  • --cache
  • --watch-options-stdin

Ligne de commande :
npx webpack serve
Description :

Lance le serveur de développement Webpack

Options :
  • --config
  • --mode
  • --open
  • --port
  • --host
  • --hot
  • --live-reload
  • --https
  • --progress
  • --static
  • --no-static
  • --client-progress
  • --client-overlay
  • --client-logging
  • --client-reconnect
  • --history-api-fallback
  • --compress
  • --bonjour
  • --watch-files
  • --watch-options-stdin

Ligne de commande :
npx vite
Description :

Lance le serveur de développement Vite

Options :
  • --host
  • --port
  • --open
  • --cors
  • --strictPort
  • --force
  • --mode
  • --config

Ligne de commande :
npx vite build
Description :

Build le projet avec Vite

Options :
  • --mode
  • --target
  • --outDir
  • --assetsDir
  • --minify
  • --sourcemap
  • --watch
  • --ssr
  • --emptyOutDir
  • --config

Ligne de commande :
npx esbuild
Description :

Bundler JavaScript/TypeScript ultra-rapide

Options :
  • --bundle
  • --format
  • --platform
  • --target
  • --outfile
  • --outdir
  • --sourcemap
  • --minify
  • --watch
  • --servedir
  • --serve
  • --loader
  • --define
  • --external
  • --tree-shaking
  • --metafile
  • --legal-comments
  • --log-level
  • --color
  • --charset
  • --tsconfig
  • --jsx
  • --jsx-factory
  • --jsx-fragment

Ligne de commande :
npx rollup
Description :

Bundler pour bibliothèques JavaScript

Options :
  • --config
  • -c
  • --input
  • -i
  • --output
  • -o
  • --file
  • -f
  • --format
  • --name
  • -n
  • --watch
  • -w
  • --environment
  • -e
  • --plugin
  • -p
  • --bundleConfigAsCjs
  • --silent
  • --stdin
  • --amd
  • --no-treeshake
  • --no-treeshake.annotations
  • --no-treeshake.propertyReadSideEffects
  • --treeshake.preset
  • --treeshake.moduleSideEffects
  • --treeshake.correctVarValueBeforeDeclaration
  • --context
  • --moduleContext
  • --strictDeprecations
  • --experimentalCacheExpiry
  • --experimentalLogSideEffects

Ligne de commande :
npx parcel
Description :

Bundler sans configuration

Options :
  • serve
  • watch
  • build
  • --port
  • -p
  • --host
  • --open
  • --target
  • --public-url
  • --cache-dir
  • --no-cache
  • --no-source-maps
  • --detailed-report
  • --log-level
  • --https
  • --cert
  • --key
  • --hmr-port
  • --hmr-hostname
  • --no-autoinstall
  • --profile
  • --reporter

Ligne de commande :
npx swc
Description :

Compilateur TypeScript/JavaScript ultra-rapide

Options :
  • compile
  • bundle
  • minify
  • --config-file
  • --source-maps
  • --out-file
  • -o
  • --out-dir
  • -d
  • --watch
  • -w
  • --quiet
  • --log-watch-compilation
  • --extensions
  • --strip-leading-paths
  • --copy-files
  • --include-dotfiles
  • --only
  • --ignore
  • --no-swcrc
  • --config

Ligne de commande :
npx babel
Description :

Transpile le code JavaScript moderne

Options :
  • --out-file
  • -o
  • --out-dir
  • -d
  • --watch
  • -w
  • --copy-files
  • --no-copy-ignored
  • --ignore
  • --only
  • --extensions
  • --config-file
  • --env-name
  • --root-mode
  • --no-babelrc
  • --source-maps
  • --source-map-target
  • --source-file-name
  • --source-root
  • --no-comments
  • --compact
  • --minified
  • --auxiliary-comment-before
  • --auxiliary-comment-after
  • --verbose
  • --quiet