Local-first, agent-native developer tools.
imgctl 0.1.x ships prebuilt binaries for:
x86_64-unknown-linux-gnux86_64-apple-darwinaarch64-apple-darwinWindows is not supported. Install from source works on any target Rust builds.
brew tap agent-rt/tap
brew install imgctl
brew upgrade imgctl upgrades when a new tagged release ships.
VERSION=0.1.0
TARGET=aarch64-apple-darwin # or x86_64-apple-darwin, x86_64-unknown-linux-gnu
curl -L "https://github.com/agent-rt/imgctl/releases/download/v${VERSION}/imgctl-${VERSION}-${TARGET}.tar.gz" \
| tar -xz
sudo mv "imgctl-${VERSION}-${TARGET}/imgctl" /usr/local/bin/
Verify checksum:
curl -LO "https://github.com/agent-rt/imgctl/releases/download/v${VERSION}/imgctl-${VERSION}-${TARGET}.tar.gz.sha256"
shasum -a 256 -c "imgctl-${VERSION}-${TARGET}.tar.gz.sha256"
Requires Rust 1.85+ (uses 2024 edition).
git clone https://github.com/agent-rt/imgctl.git
cd imgctl
cargo install --path apps/imgctl-cli --locked --force
Installs imgctl to ~/.cargo/bin/. Make sure that directory is on PATH.
mermaidThe imgctl mermaid subcommand renders Mermaid diagrams via headless Chrome (through the chromiumoxide crate). Install one of:
apt install chromium-browser or pacman -S chromium.Other commands (convert, resize, crop, annotate, analyze) work without Chrome — they’re pure Rust on top of image + imageproc.
imgctl --version
imgctl --help
# Sanity test
echo "graph TD; A-->B" > /tmp/d.mmd
imgctl mermaid -i /tmp/d.mmd -o /tmp/d.png
file /tmp/d.png # → PNG image data
brew uninstall imgctl # if installed via Homebrew
cargo uninstall imgctl-cli # if installed via cargo
sudo rm /usr/local/bin/imgctl # if installed via tarball