Common issues and solutions.
The vx binary is not in your PATH.
Solution:
-
Check installation location
-
Add to PATH:
export PATH="$HOME/.local/bin:$PATH"
-
Restart your terminal
Solution:
# Don't use sudo with the install script
# Instead, ensure ~/.local/bin exists and is writable
mkdir -p ~/.local/bin
chmod 755 ~/.local/binNetwork or URL issues.
Solutions:
-
Check internet connection
-
Try again (transient error)
-
Check proxy settings:
export HTTP_PROXY=http://proxy:port export HTTPS_PROXY=http://proxy:port
The specified version doesn't exist.
Solutions:
-
Check available versions:
vx versions <tool>
-
Use a valid version specifier
-
Clear version cache:
vx clean --cache
Downloaded file is corrupted.
Solutions:
-
Clear cache and retry:
vx clean --cache vx install <tool>
-
Check disk space
The tool was installed but can't be found.
Solutions:
-
Check installation:
vx which <tool>
-
Verify store directory:
ls ~/.local/share/vx/store/<tool>/
-
Try reinstalling:
vx install <tool> --force
Solutions:
-
Check version resolution:
vx --verbose <tool> --version
-
Check
vx.tomlin current directory -
Check global config:
vx config show
Solutions:
-
Check file permissions:
ls -la ~/.local/share/vx/store/<tool>/<version>/
-
Fix permissions:
chmod +x ~/.local/share/vx/store/<tool>/<version>/<binary>
Solutions:
-
Check current directory
-
Create configuration:
vx init
TOML syntax error.
Solutions:
- Validate TOML syntax
- Check for common issues:
- Missing quotes around strings
- Incorrect indentation
- Invalid characters
Solutions:
-
Check
[env]section invx.toml -
Verify with:
vx dev -c "env | grep MY_VAR"
Solutions:
-
Regenerate completions:
vx shell completions bash > ~/.local/share/bash-completion/completions/vx
-
Restart shell
-
For Zsh, ensure compinit is called
Solutions:
-
Verify shell integration is set up:
echo $VX_ENV
-
Re-add to shell profile:
eval "$(vx shell init bash)"
Solutions:
-
Use lazy loading in shell profile
-
Cache init script:
vx shell init bash > ~/.vx-init.sh source ~/.vx-init.sh
Solutions:
-
Check usage:
vx cache info
-
Clean up:
vx clean --all
-
Remove unused versions:
vx uninstall <tool> <version>
Enable debug output for detailed information:
vx --debug <command>vx --verbose <command>vx --versionIf 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