yarn install --offline

Category: Node.js & npm/yarn

yarn install --offline

Install yarn dependencies from the cache

Installs only from the local yarn cache and fails if any dependency is missing, guaranteeing no network traffic during the install. Ideal for CI after warming the cache. Add --frozen-lockfile to also refuse lockfile changes.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.