본문으로 건너뛰기
버전: 6.x

Command line tab 자동완성

버전 4.9.0에서 추가됨

Unlike other popular package managers, which usually require plugins, pnpm supports command line tab-completion for Bash, Zsh, Fish, and similar shells.

자동 완성을 설정하려면 다음을 실행합니다.

pnpm install-completion

The CLI will ask for which shell to generate the autocompletion script. Alternatively, the target shell may be specified in the command line (since v5.15.0):

pnpm install-completion zsh

완성된 예제를 보려면, 이 기사를 읽으세요.