Skip to content

Install the CLI

npm, PyPI, the release archive, and the shell and PowerShell installers all install the same release binary for macOS, Linux, and Windows on x64 and arm64, so slopcop version reports which release it came from. The Go toolchain can build that binary from source instead.

ChannelPlatformsNeeds
npmmacOS, Linux, WindowsNode 22 or newer
PyPImacOS, Linux, WindowsPython 3.9 or newer
Release archivemacOS, Linux, Windowsnothing
Shell installermacOS, Linuxcurl
PowerShell installerWindowsPowerShell
Gobuilt from sourceGo 1.25 or newer
Terminal window
npm install --global @brokkai/slopcop
slopcop --help

The tarball carries the release binary for every supported platform, so it needs no Go toolchain. npx @brokkai/slopcop runs it without installing it.

Terminal window
slopcop version

prints the release the binary came from. slopcop --help lists every command. Nothing else is needed before signing in.

Every response from the service names its newest release. When that is newer than the running build, the CLI prints one line on stderr, never stdout, so --format json and sarif stay clean:

slopcop v0.0.9 is available (you have v0.0.7). Upgrade: npm install --global @brokkai/slopcop@latest

The command follows the channel the binary was installed through (npm, npx, pip, pipx, or uv), judged by where it lives, and links to the install instructions otherwise. The notice prints at most once a day. dev builds, Stop hook runs, and runs with SLOPCOP_NO_UPDATE_NOTICE set to any non-empty value never print it.

A service that no longer accepts a version answers client_outdated, which exits 2: upgrade through the channel you installed from and run the check again.

Use the channel you installed from:

ChannelUpgrade
npmnpm install --global @brokkai/slopcop@latest
pippip install --upgrade brokk-slopcop (or pipx upgrade brokk-slopcop, uv tool upgrade brokk-slopcop)
Shell or PowerShell installerrun the installer again
Release archivedownload the new archive and replace the binary
Gogo install github.com/BrokkAi/slopcop/cmd/slopcop@latest

The next slopcop login or check updates the agent skill to the one bundled in the new binary, and tells you which files changed. See The agent skill.