Yarn CLI

The Yarn command-line interface — `yarn` — provides install, add, remove, up, run, exec, dlx, info, why, pack, rebuild, dedupe, node, bin, search, upgrade-interactive, and stage commands for managing JavaScript project dependencies and executing project scripts. Built on top of @yarnpkg/cli and the Clipanion command framework.

API entry from apis.yml

apis.yml Raw ↑
aid: yarn-pkg:yarn-cli
name: Yarn CLI
tags:
- CLI
- Package Manager
- JavaScript
- Node.js
- Workspaces
humanURL: https://yarnpkg.com/cli
properties:
- url: https://yarnpkg.com/cli
  type: Documentation
- url: https://yarnpkg.com/getting-started/install
  type: GettingStarted
- url: https://github.com/yarnpkg/berry/tree/master/packages/yarnpkg-cli
  type: SourceCode
- url: https://github.com/yarnpkg/berry
  type: SourceCode
- url: vocabulary/yarn-pkg-vocabulary.yml
  type: Vocabulary
- url: json-ld/yarn-pkg-context.jsonld
  type: JSONLD
description: The Yarn command-line interface — `yarn` — provides install, add, remove, up, run, exec,
  dlx, info, why, pack, rebuild, dedupe, node, bin, search, upgrade-interactive, and stage commands for
  managing JavaScript project dependencies and executing project scripts. Built on top of @yarnpkg/cli
  and the Clipanion command framework.