Overview
Thepm install (or pm i) command installs dependencies with intelligent monorepo awareness. It automatically scopes installation to the current package when you’re inside a workspace package, and provides safety warnings when running at the monorepo root.
Syntax
Options
boolean
default:"false"
Skip confirmation prompt when installing all packages from monorepo root
string[]
Filter installation to specific workspace package(s). Can be specified multiple times.
Behavior
From Workspace Package Directory
When runningpm i from inside a workspace package, Better PM automatically filters the installation to only that package and its dependencies:
From Monorepo Root
When runningpm i from the monorepo root, Better PM shows a warning and lists all workspace packages:
In non-interactive environments (like CI with
CLAUDECODE=1), the command will not prompt for confirmation and will display the usage instructions instead.