PNPM + Nextjs + short article
How to install nextjs with pnpm
PNPM is a new nodejs package manager to install nextjs
PNPM is a new nodejs package manager like npm and yarn. Today I'm telling you how to install nextjs with pnpm.
Let's start it
- Install nextjs with pnpm
- How to run the app with pnpm
Install nextjs with pnpm
To install the nextjs with pnpm. nextjs provide a next-app
command to install nextjs on your laptop or PC.
pnpm create next-app
or
pnpm create next-app my-new-app-name
Output of command
How to run the app with the pnpm command?
To run the nextjs dev script with pnpm. pnpm provides run command to run any script available in the package.json.
pnpm run dev
Conclusion
pnpm is a great package manager. Pmpm is very fast as compared to yarn and npm.
You feel the speed of pnpm to install any package. The great thing is that pnpm is managed to different nodejs versions like nvm
a command.
You can follow and read more articles on officialrajdeepsingh.dev and follow on Twitter and Linkedin.
Read More content on the Nextjs. Sign up for a free newsletter and join the nextjs community on medium.