Nextjs
Published in

Nextjs

How to install nextjs with pnpm
How to install nextjs with pnpm

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

  1. Install nextjs with pnpm
  2. 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

Install nextjs with pnpm

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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rajdeep singh

Rajdeep singh

525 Followers

JavaScript || Reactjs || Nextjs || Python || Rust || Biotechnology || Bioinformatic || Front-end Developer || Writer || https://officialrajdeepsingh.dev/