Uninstallation
This guide will help you completely remove vfox from your system.
1. Remove Shell Hooks
First, you need to remove the vfox activation commands from your shell configuration files.
WARNING
Please select the instructions appropriate for your Shell!
Bash
Open your ~/.bashrc file and remove the following line:
eval "$(vfox activate bash)"After saving the file, reload your shell configuration:
source ~/.bashrcZSH
Open your ~/.zshrc file and remove the following line:
eval "$(vfox activate zsh)"After saving the file, reload your shell configuration:
source ~/.zshrcFish
Open your ~/.config/fish/config.fish file and remove the following line:
vfox activate fish | sourceAfter saving the file, reload your shell configuration:
source ~/.config/fish/config.fishPowerShell
Open your PowerShell profile. You can find its location by running:
$PROFILECommon locations:
C:\Users\<username>\Documents\PowerShell\Microsoft.PowerShell_profile.ps1(PowerShell 7+)C:\Users\<username>\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1(Windows PowerShell)
Remove the following line from the profile:
Invoke-Expression "$(vfox activate pwsh)"After saving the file, reload your PowerShell profile:
. $PROFILEClink & Cmder
- Find the scripts path:shell
clink info | findstr scripts - Remove the
clink_vfox.luafile from the scripts directory - Restart Clink or Cmder
Nushell
Open your Nushell config file (location shown by $nu.config-path) and remove the vfox activation line that was appended during installation.
2. Uninstall vfox Binary
Remove the vfox executable from your system.
Windows
Scoop
scoop uninstall vfoxwinget
winget uninstall vfoxSetup Installer
- Open Settings > Apps > Installed apps (or Control Panel > Programs > Uninstall a program)
- Find vfox in the list
- Click Uninstall and follow the wizard
Manual Installation
- Delete the directory where you extracted vfox
- Remove the
vfoxinstallation directory from yourPATHenvironment variable:- Open System Properties > Environment Variables
- Find
Pathin User variables or System variables - Remove the entry pointing to the vfox directory
- Click OK to save
Unix-like
Homebrew
brew uninstall vfoxAPT
sudo apt-get remove vfoxTo also remove the repository configuration:
sudo rm /etc/apt/sources.list.d/versionfox.listYUM
sudo yum remove vfoxTo also remove the repository configuration:
sudo rm /etc/yum.repos.d/versionfox.repoManual Installation
Remove the vfox binary:
sudo rm /usr/local/bin/vfox3. Clean Up vfox Data (Optional)
If you want to completely remove all data stored by vfox, including installed SDKs, plugins, and configuration files:
WARNING
This will permanently delete all SDK versions you installed through vfox!
Remove vfox Data Directory
rm -rf ~/.version-foxThis directory contains:
- Installed SDK versions
- Plugin files
- Configuration files
- Global
.tool-versionsfile - Cache and temporary files
Verify Uninstallation
To verify that vfox has been completely removed:
which vfox
# or
vfox --versionBoth commands should return "command not found" or similar error messages.
Troubleshooting
vfox command still works after uninstallation
- Make sure you have closed and reopened all terminal windows after removing the shell hooks
- Check if there are multiple shell configuration files (e.g.,
.bash_profile,.profile,.bashrc) and ensure the vfox activation line is removed from all of them - On Windows, restart your computer to ensure all environment variable changes take effect
SDKs installed via vfox still appear in PATH
- Check if you have a
.tool-versionsfile in your current directory or home directory - Remove the vfox data directory as described in step 3 above
- On Windows, manually check your user environment variables and remove any SDK-related paths that were added by vfox
