https://github.com/version-fox/vfox Navigation Menu Skip to content Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} version-fox / vfox Public * * Notifications * Fork 65 * Star 1.9k * A cross-platform and extendable version manager with support for Java, Node.js, Flutter, .Net & more vfox.lhan.me License Apache-2.0 license 1.9k stars 65 forks Branches Tags Activity Star Notifications * Code * Issues 35 * Pull requests 2 * Discussions * Actions * Security * Insights Additional navigation options * Code * Issues * Pull requests * Discussions * Actions * Security * Insights version-fox/vfox This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 328 Commits .github .github cmd cmd completions completions docs docs inno_setup inno_setup internal internal .gitignore .gitignore .goreleaser.yaml .goreleaser.yaml .tool-versions .tool-versions CNAME CNAME CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTING.md LICENSE LICENSE README.md README.md README_CN.md README_CN.md codecov.yml codecov.yml go.mod go.mod go.sum go.sum install.sh install.sh logo.png logo.png main.go main.go View all files Repository files navigation * README * Code of conduct * Apache-2.0 license Logo vfox Go Report Card GitHub License GitHub Release Discord [English] [Zhong Wen Wen Dang ] 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. Introduction 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. Why use vfox? * cross-platform support (Windows, Linux, macOS) * consistent commands to manage all your languages * support Global, Project, Session scopes when switching versions * simple plugin system to add support for your language of choice * automatically switches runtime versions as you traverse your project * shell completion available for common shells (Bash, ZSH, Powershell, Clink) * support for existing config files .node-version, .nvmrc, .sdkmanrc for easy migration * it's faster than asdf-vm, and offers more simple commands and genuine cross-platform unification. see Comparison with asdf Demo asciicast Quickstart For detailed installation instructions, see Quick Start 1. Choose an installation that works for you. 2. [?][?] Hook 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: # 1. Open PowerShell Profile: New-Item -Type File -Path $PROFILE # Just ignore the 'file already exists' error. Invoke-Item $PROFILE # 2. Add the following line to the end of your $PROFILE and save: 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. 3. Add an SDK plugin $ vfox add nodejs 4. Install a runtime $ vfox install nodejs@21.5.0 5. Switch runtime $ vfox use nodejs@21.5.0 $ node -v 21.5.0 Full Documentation See vfox.lhan.me for full documentation. Roadmap Our future plans and high priority features and enhancements are: * [*] Refactoring the plugin mechanism: + Introducing plugin templates to facilitate multi-file plugin development. + Establishing a global registry (similar to NPM Registry or Scoop Main Bucket) to provide a unified entry point for plugin distribution. + Decomposing the existing plugin repository into individual repositories, one for each plugin. * [*] Allowing the switching of registry addresses. * [*] Plugin capabilities: Parsing legacy configuration files, such as .nvmrc, .node-version, .sdkmanrc, etc. * [ ] Plugin capabilities: Allowing plugins to load installed runtimes and provide information about the runtime. Available Plugins If you have installed vfox, you can view all available plugins with the vfox available command. For more details, see the Available Plugins. Contributors Thanks to following people who contributed to this project. [6874747073] Contributing 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 Star History Star History Chart Thanks Featured|HelloGitHub COPYRIGHT Apache 2.0 license - Copyright (C) 2024 Han Li and contributors About A cross-platform and extendable version manager with support for Java, Node.js, Flutter, .Net & more vfox.lhan.me Topics nodejs windows macos linux bash zsh cli golang sdk plugin-manager tools lua cross-platform powershell asdf cmd version-manager development-tools Resources Readme License Apache-2.0 license Code of conduct Code of conduct Activity Custom properties Stars 1.9k stars Watchers 11 watching Forks 65 forks Report repository Releases 15 v0.4.1 Latest Apr 22, 2024 + 14 releases Sponsor this project * ko_fi ko-fi.com/aooohan Packages 0 No packages published Contributors 21 * * * * * * * * * * * * * * + 7 contributors Languages * Go 95.2% * Inno Setup 2.1% * Lua 1.4% * Shell 1.1% * PowerShell 0.2% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.