mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
915 B
915 B
title
| title |
|---|
| Choosing a package manager |
A package manager is like a helper for your programs. It brings all the tools for your projects and makes sure they fit and work well together. It's like having someone organize things so you can work without problems.
The most used ones are:
For this tutorial, we'll be using Yarn. It's made by Facebook.
Advantages of Yarn:
- Performance: Yarn is fast and has efficient dependency management.
- Lockfile: Yarn's
yarn.lockfile ensures deterministic builds, crucial for collaboration. - Offline Mode: Yarn offers a reliable offline mode, ideal for environments with limited internet access.
- Plug-n-play: Yarn Berry (2) introduces "plug-n-play" (PnP), reducing disk space usage.