Package Managers
Alternatives to npm
{"intro": "npm combines a JavaScript package registry with a command-line workflow for sharing code and managing dependencies. Its free Registry contains more than two million packages, and public package authors can publish unlimited public packages without charge. Dependency resolution, lockfiles, workspaces, private registry authentication and offline installation work across Linux, macOS and Windows, with other operating systems available through Node.js installers or version managers. Private publishing starts at $7 per month: Pro covers individual creators, while Teams costs $7 per user per month for organizations and provides team-based permissions.\n\nReaders look elsewhere when their projects use a different language, package format or platform range, or when they want free private publishing. Each alternative below also supports core workflow features such as dependency resolution, lockfiles, workspaces, private registry authentication and offline installation, but their ecosystems differ. Weigh whether you need Python, Rust, Java, C++ or broader package sources, and compare supported operating systems with your build environment. The better choice is the tool whose language focus and package inputs match your project, not simply the one with no subscription.", "rows": [{"ref": "sw:uv", "name": "uv", "best_for": "Python projects using one free manager", "pricing": "Free plan", "key_difference": "uv is a Rust-written Python package and project manager, while npm centers on JavaScript packages.", "choose_when": "Choose it for Python projects needing wheels, source distributions or Python-specific lockfiles instead of npm packages."}, {"ref": "sw:gradle", "name": "Gradle", "best_for": "Java projects using Maven or Ivy", "pricing": "Free plan", "key_difference": "Gradle handles Maven, Ivy and flat-directory packages, unlike npm’s JavaScript package formats.", "choose_when": "Choose it when your project needs Gradle’s Java-oriented package sources on Windows, macOS or Linux."}, {"ref": "sw:cargo", "name": "Cargo", "best_for": "Rust projects and crates", "pricing": "Free plan", "key_difference": "Cargo is the Rust package manager, supporting crates, alternate registries, Git dependencies and local paths.", "choose_when": "Choose it for Rust projects that need Cargo’s crate and dependency-source model rather than npm’s JavaScript registry."}, {"ref": "sw:yarn", "name": "Yarn", "best_for": "JavaScript teams wanting project management", "pricing": "Free plan", "key_difference": "Yarn manages npm packages plus tarballs and local, Git, link, patch, portal and workspace references.", "choose_when": "Choose it when those additional JavaScript package references and project-management framing fit your workflow."}, {"ref": "sw:pnpm", "name": "pnpm", "best_for": "Multi-ecosystem package workflows", "pricing": "Free plan", "key_difference": "pnpm accepts npm, JSR, Cargo, PyPI, tarball, Git and local-directory packages and runs on Android too.", "choose_when": "Choose it when one free tool should cover varied package sources or Android alongside desktop platforms."}, {"ref": "sw:conan", "name": "Conan", "best_for": "C++ and embedded dependencies", "pricing": "Free plan", "key_difference": "Conan manages Conan recipes and binary packages across desktop, mobile, embedded and bare-metal targets.", "choose_when": "Choose it for C++-oriented dependencies or projects targeting iOS, Android, embedded or bare-metal systems."}, {"ref": "sw:pip", "name": "pip", "best_for": "Python installation from varied sources", "pricing": "Free plan", "key_difference": "pip installs Python sdists and wheels from indexes, version-control URLs, local projects and source archives.", "choose_when": "Choose it when a Python installer with those package-source options suits your project better than npm."}]}
- 01 Chocolatey From $1.50/mo Free plan Windows · macOS · Linux9.1 Visit Specs
- 02
Conan Conan suits C and C++ developers who need dependency and binary management across different platforms or build systems.
Free plan Windows · macOS · Linux · iOS9.0 Visit Specs - 03
uv uv suits Python developers who want one tool for package and project management, Python versions, scripts, and command-line tools.
Free plan Windows · macOS · Linux8.9 Visit Specs - 04 Composer
Composer suits PHP developers managing project libraries, including those who need lockfiles, offline installation, or varied repository sources.
Free plan Windows · macOS · Linux · Self-hosted8.9 Visit Specs - 05
Cargo Cargo is for developers building Rust packages who want dependency management, builds, tests, and publishing from the command line.
Free plan Windows · macOS · Linux8.8 Visit Specs - 06 pip
pip suits Python users who need to install packages from indexes, repositories, or local sources, including those managing environments with requirements files.
Free plan Windows · macOS · Linux8.8 Visit Specs - 07 Apache Maven
Maven suits Java project teams looking for a POM- and plugin-based build system with dependency management.
Free plan Windows · macOS · Linux · Self-hosted8.8 Visit Specs - 08 Mamba
Mamba suits people managing conda packages and environments across its supported platforms.
Free plan Windows · macOS · Linux · API8.8 Visit Specs - 09
Yarn Yarn suits developers managing JavaScript dependencies, including open-source developers and enterprise users working with monorepos.
Free plan Windows · macOS · Linux8.7 Visit Specs - 10
Gradle Gradle suits developers automating builds for JVM, Android and other supported project types, from startups to large enterprises.
Free plan Windows · macOS · Linux · API8.7 Visit Specs - 11 vcpkg
vcpkg suits developers managing C/C++ dependencies across supported platforms, particularly projects using CMake or MSBuild.
Free plan Windows · macOS · Linux · iOS8.7 Visit Specs - 12 renv Free plan Windows · macOS · Linux8.7 Visit Specs
- 13 Pixi
Pixi suits developers working in robotics, data science, machine learning, and other software workflows who want isolated, reproducible environments.
From €42/mo Free plan Windows · macOS · Linux8.6 Visit Specs - 14 Swift Package Manager
It suits developers creating Swift packages for personal use, private company use, or open-source release.
Free plan Windows · macOS · Linux · iOS8.6 Visit Specs - 15
Nix Nix suits technically comfortable users who need reproducible package builds, system configuration or shared development environments.
Free plan Windows · macOS · Linux · Self-hosted8.6 Visit Specs - 16 Spack
Spack suits scientific computing teams that need to manage software configurations across machines, clusters, or architectures.
Free plan Windows · macOS · Linux · Self-hosted8.6 Visit Specs - 17 Cabal Free plan Windows · macOS · Linux8.6 Visit Specs
- 18
Homebrew Free plan Windows · macOS · Linux8.6 Visit Specs - 19 Julia Pkg Free plan Windows · macOS · Linux8.5 Visit Specs
- 20 Tank Free plan Web · Windows · macOS · Linux8.5 Visit Specs
- 21 Paket Free plan Windows · macOS · Linux8.5 Visit Specs
- 22 LuaRocks
Lua developers who want to install modules, manage package collections, or publish modules can use LuaRocks.
Free plan Windows · macOS · Linux · API8.5 Visit Specs - 23
Bun Bun suits JavaScript and TypeScript developers who want runtime, package management, testing, and bundling in one tool.
Free plan Windows · macOS · Linux8.4 Visit Specs - 24 Rebar3 Free plan Windows · macOS · Linux8.4 Visit Specs
- 25
Hex Hex suits developers working with BEAM languages and teams that need to publish or manage private packages.
From $7.50/mo Free plan Web · API · Self-hosted8.3 Visit Specs - 26 Carthage Free plan macOS · iOS8.3 Visit Specs
- 27 CocoaPods
CocoaPods suits app developers managing public or private Cocoa dependencies and library developers distributing components.
Free plan macOS · iOS8.2 Visit Specs - 28 Spago Free plan Windows · macOS · Linux8.2 Visit Specs
- 29 Quicklisp Free plan Windows · macOS · Linux8.2 Visit Specs
- 30
NuGet NuGet suits .NET library creators and consumers who need package creation, dependency management and restoration across machines or build servers.
Web · Windows · macOS · Linux8.1 Visit Specs