如果您想在开发模式下的 Chromebook 上下载 Go,而不安装 Linux,请按照以下步骤操作:启用开发模式,以防你还没有。下载最新版本的 Go for Linux ( https://go.dev/dl/ )在您的终端类型外壳mkdir ~/Codingtar -xzf ~/Downloads/ADD YOUR VERSION HERE -C ~/Coding/ echo "sudo mount -i -o remount,exec /home/chronos/user/" >> ~/.bash_profileecho "sudo mount -i -o remount,exec /tmp/" >> ~/.bash_profile设置环境变量export GOROOT=~/CS/go *Where you extracted Go*export GOPATH=~/Downloads/go *Where you wanna keep your Go projects*PATH=$PATH:$GOROOT/bin:$GOPATH/bin *This adds everything to PATH*为确保一切正常,请重新启动您的终端并输入go version您应该看到您安装的版本