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 }}
Repository navigation
[Feature]: alias | Alias a version to a common name #359
Aliases are available on main since #736 (merged, not released yet):
$ vfox aliasset nodejs node22 22.9.0
$ vfox use nodejs@node22 # selects 22.9.0
$ vfox use -g nodejs@node22
$ vfox alias listnodejs@node22 -> [email protected]
$ vfox aliasunset nodejs node22
How it differs from the fnm form in the description:
The alias is used as nodejs@node22, so the SDK name is still required: vfox use node22 is not supported.
An alias is resolved for what you type on the command line (use, uninstall, info, exec, doctor) and is never written to .vfox.toml, so version files stay valid for people who do not have the alias. vfox use -p nodejs@node22 writes 22.9.0.
An installed version with the same name always wins over an alias, and vfox list shows the aliases next to their versions.
An alias names one specific installed version. There is no moving default alias; vfox use -g already sets the global version.
Activity
linghengqian commentedon Oct 22, 2026
feat: add aliases for installed versions and the Detect hook
feat: link existing SDKs, add vfox doctor, aliases and path.mode (#736)
linghengqian commentedon Oct 23, 2026
Aliases are available on
mainsince #736 (merged, not released yet):How it differs from the
fnmform in the description:nodejs@node22, so the SDK name is still required:vfox use node22is not supported.use,uninstall,info,exec,doctor) and is never written to.vfox.toml, so version files stay valid for people who do not have the alias.vfox use -p nodejs@node22writes22.9.0.vfox listshows the aliases next to their versions.defaultalias;vfox use -galready sets the global version.See
vfox alias. It will be in the next release.