관리 메뉴

Jerry

npm config 플래그 리스트 (옵션) 본문

Server/Node.js

npm config 플래그 리스트 (옵션)

juicyjerry 2023. 3. 15. 09:15
반응형

Shorthands and Other CLI Niceties

The following shorthands are parsed on the command-line:

명령줄에서 구문 분석되는 단축키 리스트

 

 

 

 

 

 

 

-D 와 같은 접미어를 “플래그” 라고 부르는데, 주로 사용되는 플래그는 다음과 같다.

 

 

 

 

 

 

 

  • -a: --all
  • --enjoy-by: --before
  • -c: --call
  • --desc: --description
  • -f: --force
  • -g: --global
  • --iwr: --include-workspace-root
  • -L: --location
  • -d: --loglevel info
  • -s: --loglevel silent
  • --silent: --loglevel silent
  • --ddd: --loglevel silly
  • --dd: --loglevel verbose
  • --verbose: --loglevel verbose
  • -q: --loglevel warn
  • --quiet: --loglevel warn
  • -l: --long
  • -m: --message
  • --local: --no-global
  • -n: --no-yes
  • --no: --no-yes
  • -p: --parseable
  • --porcelain: --parseable
  • -C: --prefix
  • --readonly: --read-only
  • --reg: --registry
  • -S: --save
  • -B: --save-bundle
  • -D: --save-dev
  • -E: --save-exact
  • -O: --save-optional
  • -P: --save-prod
  • -?: --usage
  • -h: --usage
  • -H: --usage
  • --help: --usage
  • -v: --version
  • -w: --workspace
  • --ws: --workspaces
  • -y: --yes

 

 

 

 

출처: https://docs.npmjs.com/cli/v9/using-npm/config#shorthands-and-other-cli-niceties

 

반응형

'Server > Node.js' 카테고리의 다른 글

What is Node.js?  (0) 2020.12.19