bun install --production

Category: Node.js & npm/yarn

bun install --production

Install without dev dependencies

Skips devDependencies so production deployments install only what the app runs, mirroring npm install --omit=dev. Speeds up container builds and shrinks node_modules. Reinstall without the flag in development.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.