squirrel CLI
- Command
-
squirrel - Docs
- https://docs.squirrelscan.com/cli
$ squirrel auth login Acquired by the CLI — running squirrel auth login opens the auth flow and stores the credential.
env SQUIRRELSCAN_API_KEY, SQUIRREL_API_TOKEN Create a key in Settings → API Keys, or run `squirrel auth login` and then `squirrel keys create`. Pick scopes and expiry, copy the key when shown (it is shown once), then supply it as Authorization: Bearer sq_... or set SQUIRRELSCAN_API_KEY for CLI/headless use. The legacy env alias SQUIRREL_API_TOKEN is also accepted by the CLI.
$ squirrel auth login Create a key at https://app.squirrelscan.com/settings/api-keys (or run squirrel keys create after squirrel auth login). Set it as SQUIRRELSCAN_API_KEY, or send it as Authorization: Bearer sq_... on any request. Local, unauthenticated audits are always free; a key is only needed for cloud features such as hosted crawling, publishing, and credits.