diff options
Diffstat (limited to 'deps/npm/man/man1/npx.1')
-rw-r--r-- | deps/npm/man/man1/npx.1 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/deps/npm/man/man1/npx.1 b/deps/npm/man/man1/npx.1 index 912effdc3b..f52e3c7a51 100644 --- a/deps/npm/man/man1/npx.1 +++ b/deps/npm/man/man1/npx.1 @@ -1,4 +1,4 @@ -.TH "NPX" "1" "October 2017" "npx@9.7.0" "User Commands" +.TH "NPX" "1" "March 2018" "npx@10.0.0" "User Commands" .SH "NAME" \fBnpx\fR \- execute npm package binaries .SH SYNOPSIS @@ -101,6 +101,13 @@ $ npx \-\-node\-arg=\-\-inspect cowsay Debugger listening on ws://127\.0\.0\.1:9229/\.\.\.\. .fi .RE +.SS Specify a node version to run npm scripts (or anything else!) +.P +.RS 2 +.nf +npx \-p node@8 npm run build +.fi +.RE .SH SHELL AUTO FALLBACK .P You can configure \fBnpx\fP to run as your default fallback command when you type something in the command line with an \fB@\fP but the command is not found\. This includes installing packages that were not found in the local prefix either\. |