Installing Dependencies
How to install all Node.js packages and set up your local environment.
Last updated:
Node.js version
BloggFast requires Node.js 18.17 or higher. Verify your version:
node -v
# Should output v18.17.0 or higherIf you need to manage multiple Node versions, we recommend nvm (macOS/Linux) or nvm-windows.
# Using nvm
nvm install 20
nvm use 20Package manager
BloggFast ships with a package-lock.json (npm). The lock file ensures reproducible installs. If you prefer pnpm or Bun, delete the lock file and install with your preferred package manager — but npm is recommended to stay in sync with the shipped lock file.
Running the install
npm installThis installs all dependencies listed in package.json, including Next.js 16, React 19, Prisma 7, Sanity 4, shadcn/ui, Tailwind CSS v4, the Vercel AI SDK, Resend, and all other packages. The install typically completes in 30–90 seconds.
Note
Optional global tools
These are not required but are useful during development:
# Prisma CLI (for running migrations manually)
npm install -g prisma
# Sanity CLI (for managing Sanity projects)
npm install -g @sanity/cliBoth CLIs are also available locally via npx without global installation.