Changelog
- 28edeed 🐛 Fix forwarding testing endpoint to containers (QD-10281)
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.