Forrest logo
back to context overview

npx

List of commands for npx:

  • npx:ai:7801b serve v14 onwards requires Node v14 to run. Please use serve v13 if you cannot upgrade to Node v14.
    $ npx serve
    try on your machine
    explain this command
  • npx:tldr:2ebf2 npx: Run a command if it exists in the current path or in `node_modules/.bin`.
    $ npx --no-install ${command} ${command_arguments}
    try on your machine
    explain this command
  • npx:tldr:87890 npx: Execute the command from a local or remote `npm` package.
    $ npx ${command} ${arg1 arg2 ---}
    try on your machine
    explain this command
  • npx:tldr:b3828 npx: Display help.
    $ npx --help
    try on your machine
    explain this command
  • npx:tldr:d26ab npx: In case multiple commands with the same name exist, it is possible to specify the package name.
    $ npx --package ${package_name} ${command}
    try on your machine
    explain this command
  • npx:tldr:fa977 npx: Execute a specific command suppressing any output from `npx` itself.
    $ npx --quiet ${command} ${arg1 arg2 ---}
    try on your machine
    explain this command
back to context overview