macOS
brew install argclocal Homebrew formula metadata
sudo port install argcMacPorts ports tree · devel/argc/Portfile · source: api.github.com
brew
Easily create and use cli based on bash script. Version 1.24.0 via Homebrew; verified 2026-05-20.
install
brew install argclocal Homebrew formula metadata
sudo port install argcMacPorts ports tree · devel/argc/Portfile · source: api.github.com
nix profile install nixpkgs#argcnixpkgs package indexes · pkgs/by-name/ar/argc/package.nix · source: api.github.com
overview
Easily create and use cli based on bash script
history
Argc is a Rust-distributed command-line tool for writing Bash CLIs and command runners from annotated shell comments. It generates argument parsing, usage text, completions, man pages, and standalone Bash scripts while keeping the user's command logic in ordinary shell functions.
The GitHub repository was created in February 2022, and the earliest GitHub release visible through the releases API is v0.2.1 from the same month. The project has since grown into a 1.x tool with documented specifications for comment tags such as `@cmd`, `@arg`, `@option`, `@flag`, `@env`, and `@meta`.
The README documents installation through Cargo, Homebrew/Linuxbrew, AUR, release binaries, a shell installer, and GitHub Actions. Homebrew builds it as a Rust formula, generates completions, and tests command-runner creation with `argc --argc-create`, which reflects its dual role as both parser generator and task runner.
In CLI mode, a script adds comment tags above Bash code and evaluates `argc --argc-eval` to bind parsed arguments into `argc_` variables. In command-runner mode, users keep recipes in `Argcfile.sh`, generate one with `argc --argc-create`, and run recipes much like a Makefile-style task runner.
Argc is package-nerd bait because it gives Bash scripts a structured CLI surface without forcing a rewrite in Go, Rust, Python, or Node. It also sits at an interesting boundary: installed as one compiled binary, but primarily useful for making shell scripts more distributable, documented, and completion-friendly.
security posture
No matching local secret-handling manifest was found for argc. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
Argcfile.shArgcfile.shexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
argc | cli | global executable |
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.
https://github.com/sigoden/argc
install metadata
| Package key | brew:argc |
|---|---|
| Version | 1.24.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/argc |
| Homepage | https://github.com/sigoden/argc |
| Repository | https://github.com/sigoden/argc |
| Upstream docs | https://github.com/sigoden/argc#readme |
| License | Apache-2.0 OR MIT |
| Source archive | https://github.com/sigoden/argc/archive/refs/tags/v1.24.0.tar.gz |
| Last updated | 2026-05-20T06:35:58Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | argc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
argc
nix profile install nixpkgs#argcargc
sudo port install argcsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.