Automic VaultAutomic Vault

brew

Install asmfmt with Homebrew, MacPorts, Nix

Go Assembler Formatter. Version 1.3.2 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#asmfmt.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install asmfmt

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install asmfmt

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

Linux

Nixverified · 92%
nix profile install nixpkgs#asmfmt

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

overview

Package summary

Go Assembler Formatter

Commands and aliases

  • asmfmt

history

Project history and usage

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`.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
asmfmtcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version1.3.2
manager updated
local dataok
upstreamcurrent
latest detectedv1.3.2

https://github.com/klauspost/asmfmt

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:asmfmt
Version1.3.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/asmfmt
Homepagehttps://github.com/klauspost/asmfmt
Repositoryhttps://github.com/klauspost/asmfmt
Upstream docshttps://github.com/klauspost/asmfmt#readme
LicenseMIT
Source archivehttps://github.com/klauspost/asmfmt/archive/refs/tags/v1.3.2.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

asmfmt

nix profile install nixpkgs#asmfmt
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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