summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/libnpx/libnpx.1
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/libnpx/libnpx.1')
-rw-r--r--deps/npm/node_modules/libnpx/libnpx.19
1 files changed, 8 insertions, 1 deletions
diff --git a/deps/npm/node_modules/libnpx/libnpx.1 b/deps/npm/node_modules/libnpx/libnpx.1
index e8049194bc..8fb05f222d 100644
--- a/deps/npm/node_modules/libnpx/libnpx.1
+++ b/deps/npm/node_modules/libnpx/libnpx.1
@@ -1,4 +1,4 @@
-.TH "NPX" "1" "October 2017" "libnpx@9.7.0" "User Commands"
+.TH "NPX" "1" "April 2018" "libnpx@10.1.1" "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\.