apt install golang
wget https://go.dev/dl/go1.23.0.linux-arm64.tar.gz tar xvf go1.23.0.linux-arm64.tar.gz -C /opt
Add /opt/go/bin to $PATH
Download page