Installation
Install scripts, per-platform archives, building from source, and staying up to date.
lawlint is a single native binary with no runtime dependencies. Installing it puts one file on your machine and nothing else — no account, no daemon, and no documents leaving your disk.
Install script
curl -fsSL https://lawlint.com/install.sh | shirm https://lawlint.com/install.ps1 | iexThe script downloads the archive for your platform, verifies it, and places the
lawlint binary in a user-local bin directory — no sudo, nothing installed
system-wide, and no documents sent anywhere.
If the shell cannot find lawlint afterwards, that bin directory is not on your
PATH; the installer prints the line to add.
Direct downloads
Every archive below is the latest release, served from
assets.lawlint.com. Use these when you’d rather not pipe a script to a shell,
or when you’re provisioning a machine that has no interactive session.
| Platform | Architecture | Archive |
|---|---|---|
| macOS | Apple silicon | lawlint-aarch64-apple-darwin.tar.gz |
| macOS | Intel | lawlint-x86_64-apple-darwin.tar.gz |
| Windows | x86_64 | lawlint-x86_64-pc-windows-msvc.zip |
| Linux | x86_64 | lawlint-x86_64-unknown-linux-gnu.tar.gz |
Unpack the archive and put lawlint somewhere on your PATH:
tar -xzf lawlint-aarch64-apple-darwin.tar.gz
mv lawlint ~/.local/bin/
Build from source
Useful for development, or for a platform without a published archive. You need a Rust toolchain.
git clone https://github.com/sethtjf/lawlint
cd lawlint
cargo build --release -p lawlint-cli
The binary lands at target/release/lawlint.
Staying current
lawlint self-update --check # report current and latest; download nothing
lawlint self-update # install the latest release
lawlint also checks for a newer release at most once a day and mentions one if
it exists. --no-update-check skips that on any command — worth setting in CI.
--check?flag
Report current and latest version and whether an update is available. Downloads nothing.
flag--force?flag
Reinstall even when already on the latest version.
flag--version?string
Install a specific version instead of the latest.
stringWhat gets installed where
user-local bin
~/.lawlint
<your project>/.lawlint
rules
Nothing under .lawlint/ is created until you run lawlint init or lawlint learn. API keys
are never written into the project.