Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix 安装 asmfmt

查看 asmfmt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install asmfmt

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install asmfmt

MacPorts ports tree · devel/asmfmt/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#asmfmt

nixpkgs package indexes · pkgs/by-name/as/asmfmt/package.nix · 来源: api.github.com

概览

软件包摘要

Go Assembler Formatter

命令和别名

  • asmfmt

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
asmfmtcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.3.2
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v1.3.2

https://github.com/klauspost/asmfmt

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:asmfmt
版本1.3.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/asmfmt
主页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
构建依赖go
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameasmfmt
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

asmfmt

nix profile install nixpkgs#asmfmt
  • normalized package name match
  • 匹配方式:Asmfmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/asmfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

asmfmt

sudo port install asmfmt
  • normalized package name match
  • 匹配方式:Asmfmt
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/asmfmt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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