All apps/Yarn

Yarn

yarn

A package manager that doubles down as project manager.

Runs as yarn, yarnpkg|macOS, Linux, Windows|yarnpkg.com

Command form

ai-draft · 4 tasks · 15 fields

Install or add packages with Yarn 1.x. Registry, proxy, cache and mutex options are left out.

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

yarn add

Add packages
Add packagesExample values, fixed in this page — nothing here reaches a terminal
Basic
Packages*
string
Install exact version
--exact
Advanced
Skip lifecycle scripts
--ignore-scripts
TasksEach one presets the form for one job
Add dependency
packagesexactignore_scripts
Add dev dependency
packagesexactignore_scripts
ParametersOnly these flags are editable in the form
Packages
string · positional 0 · repeatable
Save to devDependencies
boolean
--dev-D
Save to peerDependencies
boolean
--peer-P
Save to optionalDependencies
boolean
--optional-O
Install exact version
boolean
--exact-E
Same minor version (tilde)
boolean
--tilde-T
Skip lifecycle scripts
boolean
--ignore-scripts
Allow in workspace root
boolean
--ignore-workspace-root-check-W

yarn install

Install dependencies
Install dependenciesExample values, fixed in this page — nothing here reaches a terminal
Basic
Fail if lockfile needs update
--frozen-lockfile
Production only
--production
Skip lifecycle scripts
--ignore-scripts
TasksEach one presets the form for one job
Install from package.json
frozenprodignore_scripts
Reproducible (CI) install
frozenprodignore_scripts
ParametersOnly these flags are editable in the form
Fail if lockfile needs update
boolean
--frozen-lockfile
Production only
boolean
--production--prod
Force reinstall
boolean
--force
Skip lifecycle scripts
boolean
--ignore-scripts
Offline (cache only)
boolean
--offline
Do not read or write lockfile
boolean
--no-lockfile
Verify file tree
boolean
--check-files
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

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