# go をインストール

go のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:go
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install go
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install go
```

  証拠: MacPorts ports tree: lang/go/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add go
```

  証拠: Alpine Linux edge package indexes: go from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#go
```

  証拠: nixpkgs package indexes: go from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S go
```

  証拠: Arch Linux sync databases: go from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install go
```

  証拠: openSUSE Tumbleweed package metadata: go from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install go
```

  証拠: Chocolatey community package catalog: go from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gitversion.portable'

- Scoop (92%):

```sh
scoop install main/go
```

  証拠: Scoop official bucket manifest trees: bucket/go.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id GoLang.Go -e
```

  証拠: Windows Package Manager source index: GoLang.Go from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:go
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/go>
- **バージョン:** 1.26.3
- **ソース概要:** Open source programming language to build simple/reliable/efficient software
- **ホームページ:** <https://go.dev/>
- **上流ドキュメント:** <https://go.dev/>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://go.dev/dl/go1.26.3.src.tar.gz>
- **更新:** 2026-05-10T22:44:36-04:00
- **生成ソース:** 2026-05-26T17:25:59+00:00

## 実行可能ファイル

- go (cli)
- gofmt (cli)
- go (エイリアス)
- gofmt (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 鮮度

- ページ生成日: 2026-05-26
- マネージャ版: 1.26.3
- マネージャ更新日: 2026-05-10
- ローカルデータ: ok
- 上流リポジトリ: https://go.dev/
- info: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

compiler and runtime ecosystem.

- **Geiger リスク:** yellow / high
- compiler and runtime ecosystem
- **承認ゲートルール:** 7

## 関連リンク

- [golangci-lint](https://www.automicvault.com/pkg/brew/golangci-lint/) - Popular package that depends on this formula.
- [kubebuilder](https://www.automicvault.com/pkg/brew/kubebuilder/) - Popular package that depends on this formula.
- [operator-sdk](https://www.automicvault.com/pkg/brew/operator-sdk/) - Popular package that depends on this formula.
- [staticcheck](https://www.automicvault.com/pkg/brew/staticcheck/) - Popular package that depends on this formula.
- [gofumpt](https://www.automicvault.com/pkg/brew/gofumpt/) - Popular package that depends on this formula.
- [gosec](https://www.automicvault.com/pkg/brew/gosec/) - Popular package that depends on this formula.
- [goimports](https://www.automicvault.com/pkg/brew/goimports/) - Popular package that depends on this formula.
- [mage](https://www.automicvault.com/pkg/brew/mage/) - Popular package that depends on this formula.
- [go@1.24](https://www.automicvault.com/pkg/brew/go-1-24/) - Package name indicates the same formula family.
- [go@1.23](https://www.automicvault.com/pkg/brew/go-1-23/) - Package name indicates the same formula family.
- [go@1.25](https://www.automicvault.com/pkg/brew/go-1-25/) - Package name indicates the same formula family.
- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/)
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## ソース

- Nucleus package database
- Geiger risk classifier
- approval-gate seed metadata
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
