Today, we're proud to announce the public beta of the Qlty CLI, a new universal code quality tool for linting, auto-formatting, and metrics that supports 12+ programming languages. This product release is the first big step in our mission to help teams improve their Code Health and reduce the toil of software maintenance.
With the Qlty CLI, you can easily:
The Qlty CLI is entirely free for any team of any size. It is available for macOS, Linux, and Windows and is public on GitHub under a delayed Open Source publication (DOSP) license.
To develop and deploy production applications, teams often rely on 10+ programming, IaC, configuration, and markup languages, each with its own intricacies. With so many tools to master, even experienced developers sometimes introduce consistency and correctness issues that can lead to maintainability challenges.
Fortunately, there are tools to help, and many of them are open source. Auto-formatters shift the responsibility for code style from the developer to the computer. Static analyzers exist for every language to catch all manner of maintainability, reliability, and security issues beyond any compiler.
However, many teams today still struggle to adopt static analysis and complain about issues like:
The Qlty CLI was built from the ground up to solve all these problems and make it easy for large teams working on polyglot applications to adopt auto-formatting and static analysis.
We've built a system to discover and install 50+ static analysis tools in a sandboxed, cross-platform way. We leverage Git awareness to show you only the new issues introduced by your code changes. Finally, we built a lightning-fast CLI with Rust, with the high performance needed to run as a Git hook without breaking your flow.
On macOS or Linux:
curl "https://qlty.sh" | sh
On Windows:
powershell -c "iwr https://qlty.sh | iex"
With the qlty
binary installed, here are some commands to get you started:
# Enable linters based on your repository contents
qlty init
# Run the enabled linters and security scanners
qlty check
# Auto-format the whole codebase
qlty fmt --all
We are excited to be working on one final piece of the puzzle: Using large language models (LLMs) to fix every lint issue safely. In our initial testing, AI successfully generated fixes for 90%+ of lints. When developers can apply fixes with a single keystroke or click, it is a game-changer for issue prevention.
Visit our documentation to learn more. Connect with other developers and the Qlty team on Discord. Share your feedback and feature requests on GitHub Discussions.