Skip to content
lawlint
Esc
navigateopen⌘Jpreview
On this page

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 | sh
irm https://lawlint.com/install.ps1 | iex

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

PlatformArchitectureArchive
macOSApple siliconlawlint-aarch64-apple-darwin.tar.gz
macOSIntellawlint-x86_64-apple-darwin.tar.gz
Windowsx86_64lawlint-x86_64-pc-windows-msvc.zip
Linuxx86_64lawlint-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.

PropType
--check?flag

Report current and latest version and whether an update is available. Downloads nothing.

Typeflag
--force?flag

Reinstall even when already on the latest version.

Typeflag
--version?string

Install a specific version instead of the latest.

Typestring

What gets installed where

user-local bin
lawlint
~/.lawlint
credentials — API keys, mode 0600
config.json — user-level settings (optional)
<your project>/.lawlint
config.json — written by lawlint init
rules
personal — written by lawlint learn

Nothing under .lawlint/ is created until you run lawlint init or lawlint learn. API keys are never written into the project.

Last updated on July 24, 2026