使用vfox管理开发环境
安装脚本
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
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 专属我的味道!