/install go-install
name: go-install version: 1.0.0 description: Install Go compiler on Linux for Go project compilation and testing
Go Compiler Installation
Install Go compiler on Linux for Go project development, compilation, and testing.
Use Cases
- Go project development
- Running unit tests
- Compiling Go programs
Installation Steps
1. Check System Architecture
uname -m
# x86_64 = amd64
# aarch64 = arm64
2. Download and Install
amd64 (x86_64):
cd /tmp
curl -LO https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
tar -xzf go1.22.0.linux-amd64.tar.gz
mv go ~/go-sdk
rm go1.22.0.linux-amd64.tar.gz
arm64 (aarch64):
cd /tmp
curl -LO https://go.dev/dl/go1.22.0.linux-arm64.tar.gz
tar -xzf go1.22.0.linux-arm64.tar.gz
mv go ~/go-sdk
rm go1.22.0.linux-arm64.tar.gz
3. Configure Environment Variables
export PATH=$PATH:~/go-sdk/bin
export GOPATH=~/go
export GOROOT=~/go-sdk
4. Persist Configuration
Add to ~/.bashrc or ~/.profile:
echo 'export PATH=$PATH:~/go-sdk/bin' >> ~/.bashrc
echo 'export GOPATH=~/go' >> ~/.bashrc
echo 'export GOROOT=~/go-sdk' >> ~/.bashrc
5. Verify Installation
go version
go env GOPATH GOROOT
Common Commands
# Run tests
go test ./...
# Run tests with verbose output
go test ./... -v
# Build project
go build -o \x3Coutput> ./cmd/\x3Centry>
# Download dependencies
go mod download
# Tidy dependencies
go mod tidy
Resource Requirements
| Item | Value |
|---|---|
| Download Size | ~65MB |
| Extracted Size | ~300MB |
| Memory | 512MB minimum |
| CPU | Single core sufficient |
Notes
- Go has no runtime dependencies, single binary
- Extremely fast compilation, ideal for CI/CD
- Recommended to use LTS version (e.g., 1.22.x)
- GOPATH directory is auto-created
Version Selection
| Version | Description |
|---|---|
| go1.22.x | LTS stable (recommended) |
| go1.21.x | Previous stable |
| go1.23.x | Latest |
Download: https://go.dev/dl/\r --------------------------0aa845c205f28859--\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install go-install - After installation, invoke the skill by name or use
/go-install - Provide required inputs per the skill's parameter spec and get structured output
What is Go Install?
Install Go 1.22 compiler on Linux, configure environment variables, and provide commands for development, testing, building, and dependency management. It is an AI Agent Skill for Claude Code / OpenClaw, with 285 downloads so far.
How do I install Go Install?
Run "/install go-install" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Go Install free?
Yes, Go Install is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Go Install support?
Go Install is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Go Install?
It is built and maintained by solidexu (@solidexu); the current version is v1.0.0.