Skip to content

pnpm --dir ./packages/cli link --global doesn't work #5368

@lvqq

Description

@lvqq

Describe the user story

For example, when I use pnpm workspaces to manage a monorepo, once I want to link one of the cli packages to global, I need to run cd packages/xxx and then pnpm link --global. Is there any plan to support --cwd option to specifity a working directory? This can aviod the need to cd into a folder and then cd back out.

Describe the solution you'd like

Just work as yarn --cwd <command> like

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions