Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix (docs): use pnpm add <pkg> instead of pnpm install <pkg> #2434

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

jferrettiboke
Copy link
Contributor

@jferrettiboke jferrettiboke commented Jul 27, 2024

It should be pnpm add <pkg> instead of pnpm install <pkg>.

pnpm install is used to install all dependencies for a project while pnpm add <pkg> is used to install a package and any packages that it depends on.

More info (official source):


pnpm install <pkg> does the same as pnpm add <pkg> today, but it might stop functioning that way in future versions since the official docs clarify the difference between the two. It might be that pnpm install <pkg> was used in past versions, and the PNPM team didn't want to remove support for it right away after introducing pnpm add <pkg>.

Copy link
Collaborator

@lgrammel lgrammel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lgrammel lgrammel changed the title docs: use pnpm add <pkg> instead of pnpm install <pkg> fix (docs): use pnpm add <pkg> instead of pnpm install <pkg> Jul 29, 2024
@lgrammel lgrammel merged commit bc6cefd into vercel:main Jul 29, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants