mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 17:15:23 +02:00
npx: add page (#1857)
This commit is contained in:
parent
7b9cb25a97
commit
89ceaeeddb
1 changed files with 15 additions and 0 deletions
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`
|
Loading…
Add table
Reference in a new issue