yarn add package

Category: Node.js & npm/yarn

yarn add package

Add a runtime dependency and update yarn.lock

Adds a package to your project's dependencies and updates yarn.lock.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.