Package Manager
PronunciationPAK-ij MAN-ih-jer
Definition
A package manager is a tool that downloads, installs, updates and removes the libraries a project depends on, resolves version conflicts and usually writes a lock file. Examples: npm, pnpm, pip, Poetry and uv.
Where you hear it
In setup instructions (npm install, pip install), CI scripts and "which package manager do we use?" decisions.
Examples
Run the package manager to install everything from the lock file.
Don't mix npm and yarn in the same project.
The package manager resolved the version conflict and wrote a new lock file.
Common mistake
Mixing two package managers in one project. They write different lock files and install different versions.
Don't confuse with
An operating system package manager (apt, brew), which installs programs rather than a project's libraries.
Say it at work
- In a meeting or chat
Which package manager does this repo use?
- In an email or ticket
Delete node_modules and reinstall.
Keep exploring
More in DevOps & Cloud