We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e3e7cb commit 8643f4fCopy full SHA for 8643f4f
pages/common/npm-completion.md
@@ -0,0 +1,20 @@
1
+# npm completion
2
+
3
+> Enable or set up tab-completion for npm commands.
4
+> More information: <https://docs.npmjs.com/cli/commands/npm-completion>.
5
6
+- Enable tab-completion for the current shell session:
7
8
+`npm completion`
9
10
+- Add completion to your shell profile (Bash):
11
12
+`npm completion >> ~/.bashrc`
13
14
+- Add completion to your shell profile (Zsh):
15
16
+`npm completion >> ~/.zshrc`
17
18
+- Write completions script to a specific file:
19
20
+`npm completion > {{path/to/file}}`
0 commit comments