10
07月
2026
https://github.com/voidint/g/releases

设置环境变量
命令
g ls //列出通过g安装的 go 版本
g ls-remote stable //列出可安装的稳定版本
g ls-remote //列出可安装的所有版本
g install 1.24.6 //安装指定版本
g use 1.19.10 //切换到另一个已安装的 Go 版本
g uninstall 1.19.10 //要卸载已安装的特定 Go 版本
g clean //清除 Go 安装的包文件缓存非特殊说明,本文版权归 Code. 所有,转载请注明出处.
本文标题: 安装go版本控制工具g
延伸阅读
codex二开项目 安装nvm,nodejs 安装codex插件 windows安装claude-code Typora的安装与破解最新|与我有关
