Yarn -

used to manage dependencies in Node.js projects. It is known for its speed, security, and deterministic installation through the use of a Installation NPM package manager to install Yarn globally with npm install --global yarn Starting a Project in your terminal to create a new package.json yarn init -y to quickly skip the setup prompts. Adding Dependencies yarn add [package-name] to add a new library to your project. Installing Packages yarn install (or simply ) to download all dependencies listed in your package.json : Yarn automatically generates a

: This allows you to manage multiple packages within a single repository (monorepos), making it easier to share code and manage versions across different parts of a large project. Offline Caching : Once a package is installed, Yarn caches every package used to manage dependencies in Node