All apps/pnpm

pnpm

pnpm

Fast, disk space efficient package manager.

Runs as pnpm, pnpx|macOS, Linux, Windows|pnpm.io

Command form

ai-draft · 6 tasks · 27 fields

Add, remove, update dependencies and run scripts. Install flags such as --frozen-lockfile are not in the completion data and are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui pnpm

pnpm add

Add packages
Add packagesExample values, fixed in this page — nothing here reaches a terminal
Basic
Packages*
string
As devDependency
--save-dev
As dependency
--save-prod
As optionalDependency
--save-optional
Exact version
--save-exact
Advanced
Install globally
--global
Workspace packages only
--workspace
Filter
string
Skip scripts
--ignore-scripts
Offline
--offline
TasksEach one presets the form for one job
Add dependency
packagessave_devsave_prodsave_optionalsave_exactglobalworkspacefilterignore_scriptsoffline
Add dev dependency
packagessave_devsave_exact
ParametersOnly these flags are editable in the form
Packages
string · positional 0 · repeatable
As devDependency
boolean
--save-dev-D
As dependency
boolean
--save-prod-P
As optionalDependency
boolean
--save-optional-O
Exact version
boolean
--save-exact-E
Install globally
boolean
--global-g
Workspace packages only
boolean
--workspace
Filter
string
--filter
Skip scripts
boolean
--ignore-scripts
Offline
boolean
--offline

pnpm remove

Remove packages
Remove packagesExample values, fixed in this page — nothing here reaches a terminal
Basic
Packages*
string
In every workspace package
--recursive
Global package
--global
From devDependencies
--save-dev
Filter
string
TasksEach one presets the form for one job
Remove
packagesrecursiveglobalsave_devfilter
ParametersOnly these flags are editable in the form
Packages
string · positional 0 · repeatable
In every workspace package
boolean
--recursive-r
Global package
boolean
--global
From devDependencies
boolean
--save-dev-D
Filter
string
--filter

pnpm update

Update packages
Update packagesExample values, fixed in this page — nothing here reaches a terminal
Basic
Packages (empty = all)
string
Ignore version ranges
--latest
Pick interactively
--interactive
In every workspace package
--recursive
Global packages
--global
Advanced
Filter
string
TasksEach one presets the form for one job
Update all
packageslatestinteractiverecursiveglobalfilter
Interactive latest
latestinteractive
ParametersOnly these flags are editable in the form
Packages (empty = all)
string · positional 0 · repeatable
Ignore version ranges
boolean
--latest-L
Pick interactively
boolean
--interactive-i
In every workspace package
boolean
--recursive-r
Global packages
boolean
--global
Filter
string
--filter

pnpm run

Run a script
Run a scriptExample values, fixed in this page — nothing here reaches a terminal
Basic
Script and arguments*
string
In every workspace package
--recursive
Skip if undefined
--if-present
Run in parallel
--parallel
Stream output
--stream
Advanced
Filter
string
TasksEach one presets the form for one job
Run script
scriptrecursiveif_presentparallelstreamfilter
ParametersOnly these flags are editable in the form
Script and arguments
string · positional 0 · repeatable
In every workspace package
boolean
--recursive-r
Skip if undefined
boolean
--if-present
Run in parallel
boolean
--parallel
Stream output
boolean
--stream
Filter
string
--filter
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed pnpm against its version. A form that does not match your version is not offered.