If you switch between development projects which expect different environments, specifically different runtime versions or ambient libraries,
or you are tired of all kinds of cumbersome environment configurations, vfox
is the ideal choice for you.
vfox
is a cross-platform version manager(similar to nvm
, fvm
, sdkman
, asdf-vm
, etc.), extendable via plugins. It allows you to quickly install
and switch between different environment you need via the command line.
.node-version
, .nvmrc
, .sdkmanrc
for easy migrationasdf-vm
, and offers more simple commands and genuine cross-platform unification.
see Comparison with asdfFor detailed installation instructions, see Quick Start
vfox
into your shell (pick one that works for your shell) ⚠️echo 'eval "$(vfox activate bash)"' >> ~/.bashrc
echo 'eval "$(vfox activate zsh)"' >> ~/.zshrc
echo 'vfox activate fish | source' >> ~/.config/fish/config.fish
# For PowerShell:
if (-not (Test-Path -Path $PROFILE)) { New-Item -Type File -Path $PROFILE -Force }; Add-Content -Path $PROFILE -Value 'Invoke-Expression "$(vfox activate pwsh)"'
# For Clink:
# 1. Install clink: https://github.com/chrisant996/clink/releases
# Or Install cmder: https://github.com/cmderdev/cmder/releases
# 2. Find script path: clink info | findstr scripts
# 3. copy internal/shell/clink_vfox.lua to script path
Remember to restart your shell to apply the changes.
$ vfox add nodejs
$ vfox install nodejs@21.5.0
$ vfox use nodejs@21.5.0
$ node -v
21.5.0
See vfox.lhan.me for full documentation.
Our future plans and high priority features and enhancements are:
NPM Registry
or Scoop Main Bucket
) to provide a unified entry point for plugin distribution..nvmrc
, .node-version
, .sdkmanrc
, etc.If you have installed
vfox
, you can view all available plugins with thevfox available
command.
For more details, see the Available Plugins.
Thanks to following people who contributed to this project. 🎉🎉🙏🙏
Bug reports, contributions and forks are welcome. All bugs or other forms of discussion happen on issues.
See more at CONTRIBUTING.md.
Plugin Contributions, please go to Public Registry
Thanks JetBrains for the free open source license. :)
Apache 2.0 license - Copyright (C) 2024 Han Li and contributors