package building_Go_requires_Go_1_24_6_or_later

import "cmd/dist"

Dist helps bootstrap, build, and test the Go distribution.

Usage:

go tool dist [command]

The commands are:

banner         print installation banner
bootstrap      rebuild everything
clean          deletes all built files
env [-p]       print environment (-p: include $PATH)
install [dir]  install individual directory
list [-json]   list all supported platforms
test [-h]      run Go test(s)
version        print Go version

Index

Constants

const (
	CheckExit = 1 << iota
	ShowOutput
	Background
)

Source Files

build.go buildgo.go buildruntime.go buildtag.go buildtool.go doc.go exec.go imports.go main.go notgo124.go quoted.go sys_default.go test.go testjson.go util.go util_gc.go

Version
v1.26.0-rc.2
Published
Jan 8, 2026
Platform
linux/amd64
Imports
24 packages
Last checked
1 minute ago

Tools for package owners.