Commands
These command groups map directly to the current clap subcommands in crates/pack-cli/src/main.rs.
Gem-compatible verbs
pack install railsInstall a specific gem through RubyGems, with Windows-safe ruby -S gem fallback.
pack list railsList installed gems through RubyGems, optionally matching a pattern.
pack search railsSearch remote gems through the native RubyGems.org API client.
pack info railsInspect gem metadata and dependencies through the native registry client.
pack envShow RubyGems environment information.
pack outdatedCheck globally installed gems for updates through RubyGems.
Project dependency flows
pack installRun the project install path when no specific gem is supplied through Bundler, with ruby -S bundle fallback.
pack exec rails consoleRun gem binaries from the same front door.
pack add railsAdd a dependency to the Gemfile.
pack remove railsRemove a dependency from the Gemfile.
pack updateUpdate all or one dependency in the current project through Bundler.
pack update --globalUpdate globally installed gems through RubyGems (gem update path).
pack generateGenerate or update Gemfile.lock.
pack why rackTrace why a gem appears in the dependency tree.
pack lockWrite a binary pack.lock.
pack upgradeUpgrade Pack through RubyGems when available, or the direct binary installer otherwise.
Tasks and diagnostics
pack doctorInspect project state, Ruby environment, cache directories, gems, plugins, and Rails issues.
pack run devRun a named task from a Packfile.
pack tasksList Packfile task names and optionally descriptions.
pack plugins listInspect installed Pack plugins.
Rails shortcuts
pack serverStart the Rails server.
pack consoleOpen Rails console.
pack testRun Rails tests.
pack rspecRun RSpec with passthrough args.
pack db migrateRun database operations.
pack assets precompileDrive asset pipeline operations.
pack cache clearRun cache helpers.
pack dockerGenerate Docker support for a Rails app.