A cross-reference table of commands across different package managers
Ruby
7
15 commits
updated Feb 9, 2026
A cross-reference table of commands across different package managers, helping developers quickly find equivalent commands when switching between ecosystems.
View the comparison table:
This repository provides:
Currently includes 61 package managers:
"Package" vs "Module" vs "Crate" vs "Gem"
"Install" Semantics
install without arguments installs from lockfile; with package name adds new dependencycargo add for adding dependenciesgo get to add dependenciesbundle install installs from Gemfile; use bundle add to add new gemspull downloads images; run creates and starts containersGlobal Installation
-g or --global flagyarn global add-g flag--user flag (or system-wide with sudo)cargo install is always globalpip search is disabled
pip search was disabled in 2021 due to abusecargo install vs cargo add
cargo install is for installing binary executables globallycargo add (newer) is for adding dependencies to your projectnpm ci vs npm install
npm ci (clean install) is faster, stricter, and preferred for CI/CDnode_modules before installingpackage-lock.jsonbundler vs gem
gem is the low-level package managerbundler manages application dependencies and ensures consistencybundle exec to run commands with correct gem versionsgo get behavior changed
go get no longer builds/installs packagesgo install for installing binariesgo get only for adding dependenciesdocker run vs docker exec
docker run creates a NEW container from an imagedocker exec runs a command in an EXISTING containerVendor commands
cargo vendor, go mod vendor, and rebar3 vendor copy dependencies into the project directory for offline or hermetic buildsbundle cache packages gems into vendor/cache (aliases: bundle package, bundle pack)pip download -d ./vendor/ -r requirements.txt downloads packages for offline installationyarn 1.x vs yarn 2+ (Berry)
node_modulesyarn --versionSome tools manage language versions, not packages:
These are included because they use similar command patterns.
brew
brew install --cask [app]docker
To add a new package manager:
<manager> --help > manpages/<manager>.txtdata/managers/<manager>.jsonruby scripts/combine-json.rb
ruby scripts/generate-table.rb > commands.md
ruby scripts/generate-csv.rb > commands.csv
package-manager-commands/
├── README.md # This file
├── commands.md # Full comparison table (generated)
├── commands.csv # CSV export (generated)
├── data/
│ ├── package-managers.json # All package managers in one file
│ └── managers/ # Individual JSON files (61 total)
├── manpages/ # Help output archives (50+ files)
└── scripts/
├── combine-json.rb # Combine individual JSON files
├── generate-table.rb # Generate commands.md
├── generate-csv.rb # Generate commands.csv
└── fetch-via-docker.rb # Fetch manpages via Docker
Individual package manager files:
{
"name": "npm",
"ecosystem": "JavaScript",
"description": "Node Package Manager",
"commands": {
"install": "npm install [package]",
"uninstall": "npm uninstall [package]",
...
}
}
546 followers · starred Nov 2025
191 followers · starred Dec 2025
A cross-reference table of commands across different package managers
Ruby
7
15 commits
updated Feb 9, 2026
A cross-reference table of commands across different package managers, helping developers quickly find equivalent commands when switching between ecosystems.
View the comparison table:
This repository provides:
Currently includes 61 package managers:
"Package" vs "Module" vs "Crate" vs "Gem"
"Install" Semantics
install without arguments installs from lockfile; with package name adds new dependencycargo add for adding dependenciesgo get to add dependenciesbundle install installs from Gemfile; use bundle add to add new gemspull downloads images; run creates and starts containersGlobal Installation
-g or --global flagyarn global add-g flag--user flag (or system-wide with sudo)cargo install is always globalpip search is disabled
pip search was disabled in 2021 due to abusecargo install vs cargo add
cargo install is for installing binary executables globallycargo add (newer) is for adding dependencies to your projectnpm ci vs npm install
npm ci (clean install) is faster, stricter, and preferred for CI/CDnode_modules before installingpackage-lock.jsonbundler vs gem
gem is the low-level package managerbundler manages application dependencies and ensures consistencybundle exec to run commands with correct gem versionsgo get behavior changed
go get no longer builds/installs packagesgo install for installing binariesgo get only for adding dependenciesdocker run vs docker exec
docker run creates a NEW container from an imagedocker exec runs a command in an EXISTING containerVendor commands
cargo vendor, go mod vendor, and rebar3 vendor copy dependencies into the project directory for offline or hermetic buildsbundle cache packages gems into vendor/cache (aliases: bundle package, bundle pack)pip download -d ./vendor/ -r requirements.txt downloads packages for offline installationyarn 1.x vs yarn 2+ (Berry)
node_modulesyarn --versionSome tools manage language versions, not packages:
These are included because they use similar command patterns.
brew
brew install --cask [app]docker
To add a new package manager:
<manager> --help > manpages/<manager>.txtdata/managers/<manager>.jsonruby scripts/combine-json.rb
ruby scripts/generate-table.rb > commands.md
ruby scripts/generate-csv.rb > commands.csv
package-manager-commands/
├── README.md # This file
├── commands.md # Full comparison table (generated)
├── commands.csv # CSV export (generated)
├── data/
│ ├── package-managers.json # All package managers in one file
│ └── managers/ # Individual JSON files (61 total)
├── manpages/ # Help output archives (50+ files)
└── scripts/
├── combine-json.rb # Combine individual JSON files
├── generate-table.rb # Generate commands.md
├── generate-csv.rb # Generate commands.csv
└── fetch-via-docker.rb # Fetch manpages via Docker
Individual package manager files:
{
"name": "npm",
"ecosystem": "JavaScript",
"description": "Node Package Manager",
"commands": {
"install": "npm install [package]",
"uninstall": "npm uninstall [package]",
...
}
}
546 followers · starred Nov 2025
191 followers · starred Dec 2025