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.
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]
.
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
Getting help
- Learn more: Run
qlty
for a summary of the most commonly used commands andqlty --help
for a full list.- Appending
--help
to 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