DEV Community

Cover image for Let your Next.js apps to run with bun instead of crawling.
Nishad Chowdhury
Nishad Chowdhury

Posted on

Let your Next.js apps to run with bun instead of crawling.

If you're facing slow browser performance and dev server crashes with Next.js, you're not alone. Many have experienced this, even with 16GB RAM and an SSD. Try boosting your Next.js app by following these steps:

  1. Open CMD/PowerShell/Git Bash and install Bun globally using npm install -g bun.
  2. Update your package.json by replacing "dev": "next dev" with "dev": "next dev --turbo".

Run your project with bun run dev for better performance. If issues persist, consider upgrading your PC's RAM to at least 16GB.

Top comments (0)