npx: add page (#1857)
This commit is contained in:
15
pages/common/npx.md
Normal file
15
pages/common/npx.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# npx
|
||||
|
||||
> Execute binaries from `npm` packages.
|
||||
|
||||
- Execute the binary from a given npm module:
|
||||
|
||||
`npx {{module_name}}`
|
||||
|
||||
- In case a package has multiple binaries, specify the package name along with the binary:
|
||||
|
||||
`npx -p {{package_name}} {{module_name}}`
|
||||
|
||||
- View help contents:
|
||||
|
||||
`npx --help`
|
Reference in New Issue
Block a user