Docker
Container runtime
Dev / ToolsFree
Language for network services
The script is free · VPS from $2.79 per month · installs in about 45 seconds
root@vps:~# V=$(curl -fsSL 'https://go.dev/VERSION?m=text' | head -n1) && curl -fsSLO https://go.dev/dl/$V.linux-amd64.tar.gz && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf $V.linux-amd64.tar.gz && echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profile
✓ Go 1.27.1 installed · about 45 seconds
root@vps:~#
Go is a compiled language from Google for network services, APIs, bots and utilities. A program builds into a single dependency-free binary and uses little memory.
Docker, Xray, Gitea, Caddy and many VPN panels are written in Go, so you need it if you build them from source or write your own services.
The command downloads the latest version from go.dev and installs it into /usr/local/go, as the official documentation recommends.
go get for dependenciesFor Go: at least 1 vCPU, 2 GB RAM and 10 GB NVMe.
Three steps in the bot or one command over SSH; installation takes about 45 seconds.
Open @ExpressHost_bot and pay for a VPS. The server will be ready in about 60 seconds.
At the “Add-ons” step pick the script from the library, or run it later: Server settings → Scripts.
source ~/.profileThe bot will send the server address and login details to the chat.
Connect to the server as root and run the command. Supported systems: Ubuntu 22.04, Ubuntu 24.04, Debian 11, Debian 12, AlmaLinux 9.
V=$(curl -fsSL 'https://go.dev/VERSION?m=text' | head -n1) && curl -fsSLO https://go.dev/dl/$V.linux-amd64.tar.gz && sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf $V.linux-amd64.tar.gz && echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profilesource ~/.profilego versiongo mod init example.com/app, build with go buildDidn’t find an answer? Message @ExpressHost_SupportBot.
Repeat the install command: the old version in /usr/local/go will be replaced with the new one.
In the Ubuntu and Debian repositories Go is usually several versions behind. The archive from go.dev gives you the current version.
In ~/go/pkg/mod; binaries from go install go to ~/go/bin.
Go installs at checkout — in the bot.
Netherlands, Amsterdam
$2.89/mo
$0.10 for 24 hours · $0.72 for 7 days
Go is installed manually: the install command is further down this page.
Germany, Frankfurt
$3.14/mo
$0.11 for 24 hours · $0.79 for 7 days
Go is installed manually: the install command is further down this page.
Poland, Warsaw
$2.79/mo
$0.10 for 24 hours · $0.70 for 7 days
Go is installed manually: the install command is further down this page.
Estonia, Tallinn
$3.10/mo
$0.11 for 24 hours · $0.78 for 7 days
Go is installed manually: the install command is further down this page.