# asmfmt を Homebrew, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:asmfmt
```

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

### macOS

- Homebrew (100%):

```sh
brew install asmfmt
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install asmfmt
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#asmfmt
```

  証拠: nixpkgs package indexes: pkgs/by-name/as/asmfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:asmfmt
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/asmfmt>
- **バージョン:** 1.3.2
- **ソース概要:** Go Assembler Formatter
- **ホームページ:** <https://github.com/klauspost/asmfmt>
- **リポジトリ:** <https://github.com/klauspost/asmfmt>
- **上流ドキュメント:** <https://github.com/klauspost/asmfmt#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/klauspost/asmfmt/archive/refs/tags/v1.3.2.tar.gz>
- **生成日時:** 2026-07-25T07:20:51+00:00

## 実行可能ファイル

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

## ビルド依存関係

- go

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-07-25
- マネージャ版: 1.3.2
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/klauspost/asmfmt
- 検出された最新: v1.3.2 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

asmfmt is a formatter for Go assembler files. Its README frames the project directly as `gofmt` for assembler code and documents `gofmt`-like flags such as `-d`, `-l`, and `-w`.

### プロジェクトの歴史

The GitHub repository was created in November 2015, and the first GitHub release, v1.0, was published in April 2016. The README's dated update log records many early formatting fixes around comments, macros, semicolons, and Go assembler syntax.

By the README's own status note, asmfmt is stable and its formatting is expected to change only for bugs. Later releases in 2018, 2019, 2021, and 2022 focused on fixes, module information, and keeping the standalone formatter buildable.

### 採用の歴史

asmfmt is a niche Go ecosystem tool. It is available through Go install, GitHub releases, Homebrew, MacPorts, and Nix according to the input package facts. Homebrew analytics are small, reflecting that only developers who touch Go assembly files need it.

### 使われ方

The tool is run as `asmfmt [flags] [path ...]` and should be pointed only at assembler files, because the README warns that non-assembler files cannot be positively identified and may be mangled. Editor integration examples include GoLand file watchers and Emacs before-save hooks.

### パッケージ好きにとっての重要性

asmfmt is package-nerd interesting because it exports the Go ecosystem's formatter culture into the much smaller world of Plan 9 style Go assembly. It is a tiny binary with a stable output contract, exactly the sort of tool package managers like to preserve for reproducible developer workflows.

### タイムライン

- 2015: GitHub repository created and early formatting updates logged.
- 2016: v1.0 and v1.1 GitHub releases published.
- 2018: v1.2.0 released.
- 2021: v1.3.x releases refreshed module and comment handling.
- 2022: v1.3.2 released.

### Related projects

- The README positions asmfmt as analogous to gofmt and links Go package documentation on pkg.go.dev.

### ソース

- <https://api.github.com/repos/klauspost/asmfmt>
- <https://api.github.com/repos/klauspost/asmfmt/releases>
- <https://formulae.brew.sh/api/formula/asmfmt.json>
- <https://github.com/klauspost/asmfmt#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** asmfmt
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Nix - asmfmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/as/asmfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - asmfmt: normalized package name match | MacPorts ports tree: devel/asmfmt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [clang-format](https://www.automicvault.com/ja/pkg/brew/clang-format/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [clang-format@11](https://www.automicvault.com/ja/pkg/brew/clang-format-11/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [gofumpt](https://www.automicvault.com/ja/pkg/brew/gofumpt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, go, gofmt.
- [jsonfmt](https://www.automicvault.com/ja/pkg/brew/jsonfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [jsonpp](https://www.automicvault.com/ja/pkg/brew/jsonpp/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [odinfmt](https://www.automicvault.com/ja/pkg/brew/odinfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [pgformatter](https://www.automicvault.com/ja/pkg/brew/pgformatter/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [rubyfmt](https://www.automicvault.com/ja/pkg/brew/rubyfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [elm-format](https://www.automicvault.com/ja/pkg/brew/elm-format/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, formatter, gofmt.

## Combined YAML source

View the package source record on GitHub. [combined/asmfmt.yml](https://github.com/automic-vault/db/blob/main/combined/asmfmt.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
