npx --no-install prettier --check src/

Category: Node.js & npm/yarn

npx --no-install prettier --check src/

Run a local binary without installing anything

Runs the prettier binary from the project's own node_modules and fails instead of downloading it when missing. The --no-install flag makes npx strictly local, ideal for CI that should never fetch packages on the fly. Drop the flag to auto-install like plain npx.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.