# staticcheck をインストール

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

## インストール

```sh
sudo av install brew:staticcheck
```

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

### macOS

- Homebrew (100%):

```sh
brew install staticcheck
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install staticcheck
```

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

### Linux

- apk (92%):

```sh
sudo apk add staticcheck
```

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

- dnf (92%):

```sh
sudo dnf install staticcheck
```

  証拠: Fedora Rawhide package metadata: staticcheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S staticcheck
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/staticcheck
```

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

## パッケージ情報

- **パッケージキー:** brew:staticcheck
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/staticcheck>
- **バージョン:** 2026.1
- **ソース概要:** State of the art linter for the Go programming language
- **ホームページ:** <https://staticcheck.dev/>
- **リポジトリ:** <https://github.com/dominikh/go-tools>
- **上流ドキュメント:** <https://staticcheck.dev/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/dominikh/go-tools/archive/refs/tags/2026.1.tar.gz>
- **更新:** 2026-05-07T23:16:13Z
- **生成ソース:** 2026-05-26T17:25:59+00:00

## 実行可能ファイル

- staticcheck (cli)
- staticcheck (エイリアス)

## 依存関係

- go

## インストール挙動

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

## 鮮度

- ページ生成日: 2026-05-26
- マネージャ版: 2026.1
- マネージャ更新日: 2026-05-07
- ローカルデータ: ok
- 上流リポジトリ: https://github.com/dominikh/go-tools
- 検出された最新: 2026.1 (current)

## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / medium
- generalized runtime or code generation signal

## 関連リンク

- [go](https://www.automicvault.com/pkg/brew/go/) - Runtime dependency declared by Homebrew.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## ソース

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