Skip to main content
1

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.
We provide GitHub attestations powered by Sigstore that allow you to verify the authenticity of the Qlty CLI before installing it.Prerequisites: GitHub CLI (gh) must be installed.Example (macOS Apple Silicon):
For other platforms, download the appropriate archive from GitHub releases.Learn more: GitHub artifact attestations documentation
2

Initialize your repository

From your Git repository, run:
bash
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].
3

Identify code smells and review quality metrics

Check the code quality (for supported programming languages):
Scan for code smells like duplication
Review a summary of quality metrics
4

Lint your project

Run linters on changed files on your current branch
Run linters on all files
Run only the shellcheck linter on all files
Run linters on the web/ folder
5

Auto-format your code

Auto-format changed files on your current branch
Auto-format files in a directory

Getting help

  • Learn more: Run qlty for a summary of the most commonly used commands and qlty --help for a full list.
    • Appending --help to any command will provide detailed information about that command.
  • Join the community: Chat with us on Discord
  • Get community support: Open an issue or discussion on GitHub

Next steps