安装脚本

curl -sSL https://raw.githubusercontent.com/version-fox/vfox/main/install.sh | bash -s -- --user

Bash

echo 'eval "$(vfox activate bash)"' >> ~/.bashrc
source ~/.bashrc

Zsh

echo 'eval "$(vfox activate zsh)"' >> ~/.zshrc
source ~/.zshrc

安装jdk21

vfox add java
vfox install java@21
vfox use --global java

安装maven

vfox add maven
vfox install maven@latest
vfox use --global maven

安装nodejs

vfox add nodejs
vfox install nodejs@latest
vfox use --global nodejs