Out of the box support for pnpm!

Great news-- Netlify now has support for pnpm out of the box! :netliconfetti:

What does this mean?

  • pnpm is an alternative Node.js package manager that’s especially popular among developers working with monorepos. That means that you can share dependencies across projects, and when it comes time to update your files you only have to make changes within the package.

How can you use it?

  • Using pnpm with Netlify requires only two steps!
  • First, you’ll need to check in a pnpm-lock.yaml file.
  • When you git push Netlify will automatically detect the lock file and run pnpm install for you.

Please visit the docs to learn how to get started. Additionally, please visit our blog to learn more details about our implementation! If you have any follow up questions, please let us know in the comments below!

2 Likes