Changelog
- e501554 ⬆️ Bump Docker SDK
- 11f6fb1 ⬆️ Bump github.com/go-enry/go-enry/v2
- 10db1a5 🐛 Fix native macOS mode (QD-9694)
- d0fdfb0 🚸 Compute absolute cwd before running git. Improve tests. Clean up unused code.
- d773597 🚸 Fix the test data
- cad377b 🚸 Provide more information about unavailable or unsupported releases (QD-9841)
- 6cb7d7b 🚸 Stop producing errors from stderr
- 2853b7c 🚸 Stop producing errors from stderr
- b5f0ded 🚸 Stop storing diff in memory, write and read it to/from file.
- f6cf316 🚀 Add
QDPHP
to supported native codes - ad8de6f ⚡ QD-9824 Add information about changed files to scope files.
- f82bd5f ⚡ QD-9824 Add rename test
- ff9941a ⚡ QD-9824 Add support HEAD~1 syntax for go-git. Copy changes.json to log folder.
- 31debef ⚡ QD-9824 Fix Windows test
- 73bf6f8 ⚡ QD-9824 Fix names. Add test about moving files.
- 487d12f ⚡ QD-9824 Fix paths for Windows tests
- 9e034c0 ⚡ QD-9824 Fix windows test
- 3617acd ⚡ QD-9824 Pass absolute paths, filter only changes belong to project
- dbfdda6 ⚡ QD-9824 Pass baseline through system property qodana.scoped.baseline.path
- 4ba1204 ⚡ QD-9824 add logging of git output in tests
Install
💡 The Qodana CLI is distributed and run as a binary. The Qodana linters with inspections are Docker Images or, starting from version
2023.2
, your local/downloaded by CLI IDE installations (experimental support).
- To run Qodana with a container (the default mode in CLI), you must have Docker or Podman installed and running locally to support this: https://www.docker.com/get-started, and, if you are using Linux, you should be able to run Docker from the current (non-root) user (https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user)
- To run Qodana without a container, you must have the IDE installed locally to provide the IDE installation path to the CLI or specify the product code, and CLI will try to download the IDE automatically (experimental support).
macOS and Linux
Install with Homebrew (recommended)
brew install jetbrains/utils/qodana
Install with our installer
curl -fsSL https://jb.gg/qodana-cli/install | bash
Also, you can install nightly
or any other version (e.g. v2023.2.9
) the following way:
curl -fsSL https://jb.gg/qodana-cli/install | bash -s -- nightly
Windows
Install with Windows Package Manager (recommended)
winget install -e --id JetBrains.QodanaCLI
Install with Chocolatey
choco install qodana
Install with Scoop
scoop bucket add jetbrains https://github.com/JetBrains/scoop-utils
scoop install qodana
Anywhere else
Alternatively, you can install the latest binary (or the apt/rpm/deb/archlinux package) from this page.
Update
Update to the latest version depends on how you choose to install qodana
on your machine.
Update with Homebrew
brew upgrade qodana
Update with Scoop
scoop update qodana
Update with Chocolatey
choco upgrade qodana
Update on Linux and macOS with the installer script
curl -fsSL https://jb.gg/qodana-cli/install | bash
Alternatively, you can grab the latest binary (or the apt/rpm/deb package) from this page.