Troubleshooting
Common issues and solutions.
Installation Issues
"command not found: vx"
The vx binary is not in your PATH.
Solution:
Check installation location
Add to PATH:
bashexport PATH="$HOME/.local/bin:$PATH"Restart your terminal
Permission denied during installation
Solution:
# Don't use sudo with the install script
# Instead, ensure ~/.local/bin exists and is writable
mkdir -p ~/.local/bin
chmod 755 ~/.local/binTool Installation Issues
"Failed to download"
Network or URL issues.
Solutions:
Check internet connection
Try again (transient error)
Check proxy settings:
bashexport HTTP_PROXY=http://proxy:port export HTTPS_PROXY=http://proxy:port
"Version not found"
The specified version doesn't exist.
Solutions:
Check available versions:
bashvx versions <tool>Use a valid version specifier
Clear version cache:
bashvx clean --cache
"Checksum mismatch"
Downloaded file is corrupted.
Solutions:
Clear cache and retry:
bashvx clean --cache vx install <tool>Check disk space
Execution Issues
"Tool not found" after installation
The tool was installed but can't be found.
Solutions:
Check installation:
bashvx which <tool>Verify store directory:
bashls ~/.local/share/vx/store/<tool>/Try reinstalling:
bashvx install <tool> --force
Wrong version being used
Solutions:
Check version resolution:
bashvx --verbose <tool> --versionCheck
vx.tomlin current directoryCheck global config:
bashvx config show
"Permission denied" when running tool
Solutions:
Check file permissions:
bashls -la ~/.local/share/vx/store/<tool>/<version>/Fix permissions:
bashchmod +x ~/.local/share/vx/store/<tool>/<version>/<binary>
Configuration Issues
"vx.toml not found"
Solutions:
Check current directory
Create configuration:
bashvx init
"Invalid configuration"
TOML syntax error.
Solutions:
- Validate TOML syntax
- Check for common issues:
- Missing quotes around strings
- Incorrect indentation
- Invalid characters
Environment variables not set
Solutions:
Check
[env]section invx.tomlVerify with:
bashvx dev -c "env | grep MY_VAR"
Shell Integration Issues
Completions not working
Solutions:
Regenerate completions:
bashvx shell completions bash > ~/.local/share/bash-completion/completions/vxRestart shell
For Zsh, ensure compinit is called
Auto-switching not working
Solutions:
Verify shell integration is set up:
bashecho $VX_ENVRe-add to shell profile:
basheval "$(vx shell init bash)"
Performance Issues
Slow startup
Solutions:
Use lazy loading in shell profile
Cache init script:
bashvx shell init bash > ~/.vx-init.sh source ~/.vx-init.sh
High disk usage
Solutions:
Check usage:
bashvx cache infoClean up:
bashvx clean --allRemove unused versions:
bashvx uninstall <tool> <version>
Getting Help
Debug Output
Enable debug output for detailed information:
vx --debug <command>Verbose Output
vx --verbose <command>Check Version
vx --versionReport Issues
If you can't resolve an issue:
- Search existing issues
- Create a new issue with:
- vx version
- OS and shell
- Steps to reproduce
- Error messages
- Debug output