Getting Started with the Qlty CLI
Install the CLI
First, install our CLI onto your local machine:
Qlty CLI supports macOS and Linux on X64 and ARM64, with Windows support in development.
Verifying the Installer (Optional)
We provide GitHub attestations powered by Sigstore that allow you to verify the authenticity of our installer before running it.
Prerequisites: GitHub CLI (gh) must be installed.
macOS & Linux:
Windows:
A successful verification will display attestation details showing the installer was signed by GitHub Actions and built from the official Qlty repository.
Learn more: GitHub artifact attestations documentation
Initialize your repository
From your Git repository, run:
This will generate a baseline configuration based on the file types within your project and store it as .qlty/qlty.toml in your repository.
You can find more plugins with qlty plugins list and enable them with qlty plugins enable [plugin].
Identify code smells and review quality metrics
Check the code quality (for supported programming languages):
Getting help
- Learn more: Run
qltyfor a summary of the most commonly used commands andqlty --helpfor a full list.- Appending
--helpto any command will provide detailed information about that command.
- Appending
- Join the community: Chat with us on Discord
- Get community support: Open an issue or discussion on GitHub
Next steps
- Exclude irrelevant files in your repository
- Refer to the Analysis Configuration guide
- Explore the 40+ linters and security scanners available as plugins