Automic VaultAutomic Vault

brew

Install statix with Homebrew, Nix

Lints and suggestions for the nix programming language. Version 0.5.8 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install statix

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#statix

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

overview

Package summary

Lints and suggestions for the nix programming language

Commands and aliases

  • statix

history

Project history and usage

statix is a Nix-language linter and fixer. It occupies a niche but important CLI role for Nix users: checking Nix expressions for antipatterns and applying mechanical suggestions.

Project history

The upstream GitHub repository was created in October 2021. Its README describes `statix check` as a command that highlights antipatterns in Nix code and `statix fix` as a command that can apply several suggestions.

The project is implemented in Rust and its README notes that, at least for the documented version, it works with ASTs produced by `rnix-parser` and does not evaluate Nix code.

Adoption history

The input package metadata lists statix in Homebrew and Nix. The official README documents installation through a Nix flake, nixpkgs, and Homebrew/Linuxbrew, which matches its audience: developers already working in the Nix packaging and configuration ecosystem.

How it is used

Common usage is `statix check /path/to/dir` to recursively find Nix files and report lints, or `statix fix /path/to/file` to apply suggestions. The README documents standard, JSON, and errfmt output modes, plus project-root configuration through `statix.toml`.

Why package nerds care

Package nerds care about statix because Nix expressions are package metadata, build logic, and system configuration all at once. A lightweight linter that understands Nix source helps maintain large flakes, nixpkgs overlays, and home-manager style repositories.

Its significance is narrower than language-wide linters, but it is directly relevant to package-manager culture because it improves the source language used by Nix packaging itself.

Timeline

  • 2021: Upstream GitHub repository created.
  • 2022: 0.5.x releases published on GitHub.
  • 2023: v0.5.8 release published.

Related projects

  • The README relates statix to `rnix-parser`; in usage it sits near Nix formatters and other Nix static-analysis tools.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:programming language

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 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.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
statix.toml

executables

Installed executables

CommandKindExposureNote
statixcliglobal 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-08
manager version0.5.8
manager updated
local dataok
upstreamcurrent
latest detectedv0.5.8

https://github.com/oppiliappan/statix

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

install metadata

Package metadata

Package keybrew:statix
Version0.5.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/statix
Homepagehttps://github.com/oppiliappan/statix
Repositoryhttps://github.com/oppiliappan/statix
Upstream docshttps://github.com/oppiliappan/statix#readme
LicenseMIT
Source archivehttps://github.com/oppiliappan/statix/archive/refs/tags/v0.5.8.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namestatix
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%

statix

nix profile install nixpkgs#statix
  • normalized package name match
  • Matched by: Statix
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/statix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment