Skip to content

fix(docs): use pnpm add instead of pnpm install #7563

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

Merged
merged 1 commit into from
May 15, 2025

Conversation

jferrettiboke
Copy link
Contributor

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>.

@jferrettiboke jferrettiboke requested a review from a team as a code owner April 11, 2025 13:01
@jferrettiboke jferrettiboke requested a review from sade-wusi April 11, 2025 13:01
@sade-wusi sade-wusi added fixed-content fix to content that has outdated or wrong information content-update updates to content that are not new features, includes grammar fixes, added notes labels Apr 11, 2025
@pwseg pwseg removed the content-update updates to content that are not new features, includes grammar fixes, added notes label May 15, 2025
@pwseg pwseg changed the title fix(docs): use pnpm add <pkg> instead of pnpm install <pkg> fix(docs): use pnpm add instead of pnpm install May 15, 2025
@pwseg pwseg merged commit 923be21 into segmentio:develop May 15, 2025
4 checks passed
Copy link
Contributor

Thank you for your contribution! Your pull request is merged, but may take a day or two to appear on the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed-content fix to content that has outdated or wrong information
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants