Install the CLI
The CLI is served by your Shield360 platform, so machines download it from the same server they report to. Replace https://app.shield360.ai with your own address if you self-host.
curl -fsSL https://app.shield360.ai/api/cli/install.sh | SHIELD360_INSTALL_KEY=<key> sh$env:SHIELD360_INSTALL_KEY = "<key>"iwr -useb https://app.shield360.ai/api/cli/install.ps1 | iexsh cli/scripts/install-local.shThe install scripts also enrol the machine, start the collector and add coding-agent hooks. Get the install key from Visibility → Setup. For a binary without the enrolment, download it from Visibility → Setup or from /api/cli/download/<target>. See Deploy the collector for every target, MDM rollout and multi-user machines.
Install locations & PATH
Section titled “Install locations & PATH”| Method | Install location | PATH handling |
|---|---|---|
| macOS / Linux script | ~/.shield360/bin/shield360 | Prints a PATH-add hint if the directory isn’t on $PATH |
| Windows script | %USERPROFILE%\.shield360\bin\shield360.exe | Updates user-scope PATH automatically - open a new terminal to pick it up |
| From source | ~/.shield360/bin/shield360 | Add it to $PATH if not already |
Script options
Section titled “Script options”| Environment variable | Purpose | Default |
|---|---|---|
SHIELD360_INSTALL_KEY | Organisation install key used to enrol the machine (required) | none |
SHIELD360_URL | Server to download from and enrol with | The server that served the script |
SHIELD360_INSTALL_DIR | Target install directory | $HOME/.shield360/bin |
Build from source
Section titled “Build from source”If you have the repository checked out and Go installed, build a local binary:
sh cli/scripts/install-local.shThis builds with go build -trimpath -ldflags "-s -w" from cli/cmd/shield360 and installs to ~/.shield360/bin/shield360.
Verify the install
Section titled “Verify the install”shield360 version# shield360 v1.2.3 (abc1234)
shield360 doctor# Prints resolved config, dials your OTLP endpoint, lists installed pluginsUninstall
Section titled “Uninstall”The shield360 binary is never touched by shield360 coding uninstall (which only removes vendor plugin manifests). Remove the binary the way you installed it:
shield360 collector uninstall # stop background reportingrm ~/.shield360/bin/shield360 # remove the binaryOn Windows, run shield360 collector uninstall, then delete %USERPROFILE%\.shield360\bin\shield360.exe.