1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/npx.md
K.B.Dharun Krishna 2135714193
pages/*, style-guide: update contents, fix Markdown (#10492)
* pages/*, style-guide: update pages, fix Markdown (commit 1)

* Update pages

* style-guide.de: update page

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* pip3: remove search command

* rpm: update path placeholder

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages/linux/pkgfile.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: pixel <pixel+github@chrissx.de>
2023-08-26 23:00:06 +05:30

24 lines
646 B
Markdown

# npx
> Execute binaries from `npm` packages.
> More information: <https://github.com/npm/npx>.
- Execute the command from a local or remote `npm` package:
`npx {{command}} {{argument1 argument2 ...}}`
- In case multiple commands with the same name exist, it is possible to explicitly specify the package:
`npx --package {{package}} {{command}}`
- Run a command if it exists in the current path or in `node_modules/.bin`:
`npx --no-install {{command}} {{argument1 argument2 ...}}`
- Execute a specific command suppressing any output from `npx` itself:
`npx --quiet {{command}} {{argument1 argument2 ...}}`
- Display help:
`npx --help`