>_ linuxcommand.dev
Programming

go

Go Compiler und Toolchain

Ubuntu CentOS Debian SUSE Fedora RHEL Arch Alpine macOS
Verifiziert: 2026-03-04
Syntax
$go [command] [arguments]
Optionen
run
build
test
mod
fmt
Beispiele
$go run main.go
$go build main.go
$go mod init example.com/mymodule
Typische Anwendungsfälle
?
Standardverwendung
go --help
Hinweis Offizielle Go-Toolchain für Kompilierung und Modulverwaltung.
Export