Installation
Install the squirrel CLI to start auditing websites for SEO, performance, security, and technical issues.squirrel is available for Linux, macOS, and Windows with automatic PATH configuration.
Installing squirrel CLI
- Linux / macOS
- Windows
Install using the automated installer script:
What this does
The installer will:Add to PATH
If~/.local/bin is not in your PATH, add it to your shell configuration:Verifying installation
Confirm that squirrel is installed and accessible:If both commands work, squirrel is installed correctly!
Troubleshooting
Command not found error
Command not found error
If you see Verify PATH:The squirrel installation directory should appear in the output.Solution: Add
squirrel: command not found or similar:Check installation location:~/.local/bin (or the Windows equivalent) to your PATH as shown in the installation steps above.Permission denied error
Permission denied error
If squirrel is not executable:
SSL/Certificate errors
SSL/Certificate errors
If the installer fails with SSL errors:
- Linux/Mac: Ensure
curlis up to date - Windows: Ensure PowerShell can make HTTPS requests
Setting up a project
Before running audits, initialize a squirrel project in your working directory.Why initialize?
Runningsquirrel init creates a squirrel.toml configuration file that:
- Sets the project name for database organization
- Stores audit results in
~/.squirrel/projects/<project-name> - Allows you to manage multiple audit projects separately
Initialize with default settings
Initialize with custom project name
For better organization, specify a project name:Project name importance
The project name determines where audit data is stored:All audits for the same project share a database, allowing you to track changes over time and compare historical results.
Configuration with squirrel.toml
Thesquirrel.toml file stores project-specific settings.
Example configuration
squirrel.toml
Configuration management
Use theconfig subcommands to manage settings:
- View config
- Set values
- Show path
- Validate
Common configuration options
Project identifier for database storage
Maximum pages to crawl per audit (up to 5000)
Coverage mode:
quick, surface, or fullCustom user agent string for crawling
List of rule IDs to skip during audits
Minimum acceptable health score
Self-management commands
squirrel includes built-in commands for managing the CLI itself:Update
Doctor
Version
Settings
Completion
Uninstall
Shell completions
Enable tab completion for your shell:Next steps
You’re ready to run your first audit!
Run your first audit
Learn how to audit websites with different coverage modes
Audit categories
Explore the 21 audit categories and 230+ rules