> For the complete documentation index, see [llms.txt](https://docs.elentra.org/ejs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elentra.org/ejs/elentra-js-2.0/yarn-package-manager.md).

# Yarn Package Manager

For JavaScript package management, Elentra JS 2.0 has migrated to using **Yarn.**&#x20;

Yarn is a package manager originally developed by Facebook, that has some distinct differences and advantages over **npm**, though both have access to the same registered library of packages.

The main benefit of Yarn is that it is significantly faster, especially in larger projects with many dependencies, and unlike npm it can handle more than one installation step at a time. Yarn is also better in terms of security, as it will exclusively load packages defined in the `yarn.lock` or `package.json`files, and verifies each one with a checksum.

The terminal commands for Yarn are slightly different than npm and may take some getting used to but they will quickly become second nature. The **Technical Setup Guide** section of the documentation has an article on [how to get set up and using Yarn](/ejs/developers/setup/install-requirements.md).
