🔥 A general version manager for multiple sdks, such as Java, Go, Node.js, Deno, Bun, .Net, Python, PyPy, PHP, Kotlin, Scala, Groovy, Flutter, Julia, Zig, V, Odin, Typst, etc. A better choice than nvm, fnm, fvm, gvm, pyenv, asdf-vm, etc.
Lock sdk version for a project. Auto-switches to locked version while changing directory(cd).
Update vmr to the latest version by command vmr-update.
Support odin-lang.
对一个项目锁定特定sdk版本,使用cd切换至该项目下的任何位置时,开启一个新的终端session并切换到锁定版本。
一键更新脚本, 用户可以使用vmr-update命令就能将vmr更新到最新版本。
支持Odin语言。
Bugfix.
Packed with UPX.
修复一些bug;
使用UPX压缩;
与Android SDKs相关的子命令 Subcommand related to Android SDKs:
Install Android SDKs following the order above, then you can create Android Apps with Flutter and VSCode. 按照上面的顺序安装Android SDK,然后你就能使用Flutter和VSCode来写安卓APP了。当然你还需要先用vmr安装Flutter。
vm 重命名为 vmr,避免与windows下的Hyper-V自带vm命令冲突。 Rename vm to vmr, to avoid conflict with Hyper-V on Windows.
add upx support. 增加对upx的支持.
Add terminal session scope support for subcommand use.
moqsien@moqsien ~ % vm use -h
Example: vm use [email protected]
Usage:
use [flags]
Aliases:
use, u
Flags:
-h, --help help for use
-c, --mirror_in_china Downlowd from mirror sites in China.
-r, --rustup-default-stable Set rustup default stable.
-s, --session-only Use a version only for the current terminal session.
-t, --threads int Number of threads to use for downloading. (default 1)
Example: vm use -s [email protected]
增加基于pty/conpty的某个终端会话范围(session scope)内使用某个版本的功能。
也即,当退出当前terminal的会话之后,全局版本不受影响。
添加kubectl版本管理; 添加一键手动添加环境变量。(MacOS/Linux下,环境变量添加到~/.vm/vm_env.sh中,更整洁;Windows下无需打开系统环境变量管理器,更方便)。
Tested for: