Skip to content

How to run something like pnpm install --recursive <monorepo-package> #8682

Answered by xty
zachkirsch asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a way to just install the dependencies for the server package (and the other monorepo packages that it depends on)?

pnpm --filter server... install might be what you're looking for. Just append an ellipsis (...) to the package name.

Also, you can read more about filtering here in the docs. The selector syntax is actually quite powerful.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zachkirsch
Comment options

Answer selected by zachkirsch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants