npm Scripts & Workspaces/Run a script quietly

Reduce npm log noise when running scripts.

Section: Scripts and lifecycle

Run a script quietly

bash
bash
npm run --silent <script>
Explanation

Reduce npm log noise when running scripts.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Scripts and lifecycle
Run a named script
Run a package.json script.
OpenIn sheetbashsame section
Pass args to a script
Pass additional arguments after `--`.
OpenIn sheetbashsame section
Run test script
Shortcut for `npm run test`.
OpenIn sheetbashsame section
Run start script
Shortcut for `npm run start`.
OpenIn sheetbashsame section
Run stop script
Shortcut for `npm run stop`.
OpenIn sheetbashsame section
Rebuild native modules
Rebuild packages with install scripts or native addons.
OpenIn sheetbashsame section