Commands Reference
Complete quick reference for all vx commands. Click any command name for detailed documentation.
Tool Management
install
Install tool versions. Alias: i
vx install <TOOL>[@VERSION] [OPTIONS]
vx install node@22 # Install Node.js 22
vx install python@3.12 uv@latest # Install multiple tools
vx install "node@^22" # Semver range
vx install node@lts # LTS version
vx install go@1.23 --force # Force reinstalllist
List installed tools and available runtimes. Alias: ls
vx list # List all known runtimes
vx list --installed # Only show installed tools
vx list --status # Show installation status
vx list node # Show versions for a specific tooluninstall
Remove an installed tool version.
vx uninstall node@18 # Remove specific version
vx uninstall node --all # Remove all versionswhich / where
Show path of the currently active tool version.
vx which node # /home/user/.vx/store/node/22.11.0/bin/node
vx which python # Show active Python pathversions
Show available versions for a tool.
vx versions node # List all available Node.js versions
vx versions python # List available Python versionsswitch
Switch to a different installed version.
vx switch node 20 # Switch to Node.js 20
vx switch python 3.11 # Switch to Python 3.11search
Search for available tools.
vx search lint # Search for linting tools
vx search python # Search for Python-related toolstest
Test runtime availability and provider functionality. CI-friendly.
vx test node # Test Node.js availability
vx test --all # Test all providers
vx test --all --json # JSON output for CIglobal
Manage globally installed packages with full ecosystem isolation. Alias: g
vx global install typescript # Install globally
vx global install pip:httpie # Install with ecosystem prefix
vx global list # List global packages
vx global uninstall typescript # UninstallProject Management
init
Initialize a new vx.toml configuration for the current project.
vx init # Interactive initialization
vx init --detect # Auto-detect project toolsadd
Add a tool requirement to vx.toml.
vx add node@22 # Add Node.js 22
vx add python@3.12 # Add Python 3.12remove
Remove a tool from vx.toml. Alias: rm
vx remove node # Remove Node.js requirementsync
Sync installed tools with vx.toml requirements.
vx sync # Install missing, remove extra toolslock
Generate or update vx.lock for reproducible environments.
vx lock # Generate lock file
vx lock --update # Update lock filecheck
Check version constraints and tool availability.
vx check # Verify all tools meet constraintsbundle
Offline development environment packaging.
vx bundle create # Create offline bundle from vx.lock
vx bundle export # Export as portable archive
vx bundle import pkg.tar.gz # Import from archive
vx bundle status # Show bundle statusanalyze
Analyze project dependencies, scripts, and required tools.
vx analyze # Analyze current projectScripts & Environment
run
Run scripts defined in vx.toml with enhanced argument passing and variable interpolation.
vx run dev # Run 'dev' script
vx run test -- --coverage # Pass args to script
vx run --list # List available scripts
vx run test -H # Show script helpdev
Enter an isolated development environment with all project tools.
vx dev # Interactive shell
vx dev -c "node -v" # Run single command
vx dev --export --format github # Export for CI
vx dev --info # Show environment infosetup
Install all project tools and run setup hooks.
vx setup # Install all project tools
vx setup --force # Force reinstall
vx setup --dry-run # Preview without installingenv
Manage project and global virtual environments.
vx env create my-env --node=22 --python=3.12
vx env use my-env # Activate environment
vx env list # List all environments
vx env show # Show current environment
vx env delete my-env # Delete environment
vx env sync # Sync with vx.tomlConfiguration & Shell
config
Manage global and project configuration. Alias: cfg
vx config show # Show current config
vx config init # Initialize vx.toml
vx config set key value # Set config value
vx config get key # Get config value
vx config validate # Validate vx.toml
vx config edit # Open config in editor
vx config schema # Generate JSON Schemashell
Shell integration for auto-switching and completions.
vx shell init bash # Generate bash init script
vx shell init zsh # Generate zsh init script
vx shell completions bash # Generate completionsExtensions & Plugins
ext
Manage vx extensions. Alias: extension
vx ext list # List installed extensions
vx ext install <URL> # Install from repository
vx ext dev <PATH> # Link local extension for dev
vx ext info <NAME> # Show extension details
vx ext update # Update all extensions
vx ext uninstall <NAME> # Remove extensionx
Execute extension commands.
vx x my-extension # Run extension default command
vx x my-ext cmd --arg # Run specific subcommandplugin
Manage provider plugins.
vx plugin list # List plugins
vx plugin info <NAME> # Show plugin details
vx plugin enable <NAME> # Enable a plugin
vx plugin disable <NAME> # Disable a plugin
vx plugin search <QUERY> # Search for plugins
vx plugin stats # Plugin statisticsSystem & Maintenance
info
Show system information, capabilities, and diagnostics.
vx info # Human-readable info
vx info --json # JSON output (for scripts/AI)
vx info --warnings # Show build diagnosticsmetrics
View execution performance metrics and reports.
vx metrics # Show performance metrics
vx metrics --json # JSON formatcache
Manage the download and version cache.
vx cache info # Show cache statistics
vx cache list # List cached entries
vx cache prune # Safe cleanup of expired entries
vx cache purge # Remove all cache (destructive)
vx cache dir # Show cache directory pathself-update
Update vx to the latest version. Uses cargo-dist install receipts for fast updates when available, with multi-channel CDN fallback for legacy installations.
vx self-update # Update to latest
vx self-update --check # Check for updates only
vx self-update 0.7.7 # Install specific version
vx self-update --force # Force reinstall
vx self-update --token <T> # Use GitHub token (avoids rate limits)
vx self-update --prerelease # Include pre-release versionsversion
Show vx version information.
vx version # Show version
vx --version # Short formhook
Manage lifecycle hooks.
vx hook status # Show hook status
vx hook run pre-commit # Run specific hook
vx hook install # Install hooksservices
Manage development services.
vx services start # Start all services
vx services stop # Stop all services
vx services status # Service status
vx services logs # View logscontainer
Container and Dockerfile management.
vx container generate # Generate Dockerfile
vx container build # Build container
vx container push # Push to registryauth
Authentication management.
vx auth login # Authenticate
vx auth logout # Logout
vx auth status # Show auth statusmigrate
Migrate configuration and data from older formats.
vx migrate # Run migrationImplicit Package Execution
For detailed information on running packages without explicit installation, see Implicit Package Execution.