Releases: JetBrains/qodana-cli
v2023.2.9
Changelog
- 8b698c4 🐛 Disable tests for Mac OS. Fix URL for the feed.
- cbd2734 🐛 Fix failing tests.
- f9d6771 🐛 Remove unused function.
- cd3ef99 🚸 Migrate 232 to support new feeds.
- d1a8d20 🧪 Mute cloud token test
- 734691b 🧪 Update test directories not to conflict in parallel 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.
Or, if you have Go installed, you can install the latest version of the CLI with the following command:
go install github.com/JetBrains/qodana-cli/v2023@main
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.
v2023.2.8
Changelog
- b7ed95a 🐛 Fix token validation behaviour
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
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.
Or, if you have Go installed, you can install the latest version of the CLI with the following command:
go install github.com/JetBrains/qodana-cli/v2023@main
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.
v2023.2.7
Changelog
- 41fc834 ⬆️ Bump Go version and dependencies
- 7da64e2 ⬆️ Bump actions/checkout from 3 to 4
- 7aa5ee6 ⬆️ Bump docker/login-action from 2 to 3
- 7a51e7b ⬆️ Bump github.com/go-enry/go-enry/v2 from 2.8.4 to 2.8.5
- 886bb2c ⬆️ Bump github.com/google/uuid from 1.3.0 to 1.3.1
- 36ee33d ⬆️ Bump github.com/owenrumney/go-sarif/v2 from 2.2.0 to 2.2.2
- 1f3e6e3 ⬆️ Bump github.com/pterm/pterm from 0.12.63 to 0.12.66
- b1d2161 ⬆️ Bump github.com/pterm/pterm from 0.12.67 to 0.12.69
- 647f965 ⬆️ Bump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.7
- 06f5d34 ⬆️ Bump github.com/shirou/gopsutil/v3 from 3.23.7 to 3.23.8
- a6bb77e ⬆️ Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0
- 0a148c4 ⬆️ Bump goreleaser/goreleaser-action from 4 to 5
- 758bcbe ⬆️ Bump the dependencies group with 1 update
- 505b832 ⬆️ Bump the dependencies group with 2 updates
- ead3bf5 💥 Move some variables to constants
- 7ff0d93 🐛 Add properties to CLI only for container runs
- 08fed30 🐛 Do not allow setting fixes for unsupported products (QD-6559)
- 22c6e11 🐛 Do not run the publisher twice for container
- e84f6e4 🐛 Don't run exclude plugins logic in container, since it was already computed. Take into the consideration plugins that should be installed and don't ignore them.
- ef928b5 🐛 Fail when token is provided and invalid
- 6267517 🐛 Fix Jenkins branch detection with cienvironment (QD-7034)
- eefb157 🐛 Fix Qodana directory location
- 33c0b9f 🐛 Fix
show
behaviour - 5e178f5 🐛 Fix missing products info
- 6c4a194 🐛 Fix package versioning
- 721ca63 🐛 Fix version compatibility with
EAP
products - 1705468 🐛 Handle
--fixes-strategy
option deprecation properly - 2b0b29f 🐛 Return
-r
shorthand option forscan
- 9cf09fa 🚸 Allow removing the token from the keyring
- 4d2bb2f 🚸 Apply the fixes arguments correctly (QD-6890)
- aae99b5 🚸 Do not validate token when it's not needed
- 3a1393f 🚸 Improve user messaging about token and options
- 439a64d 🤡 Added tests
- b8a576f 🔨 Add validation token in cli process
- 3d55e0d 🛂 Add QODANA_TOKEN validation code
- 0a87a78 🧑💻 Changed request time to server
- cd53cee 🧪 Fix contributors tests and add a mailmap
- 37afdb5 🧪 Fix installers tests
- 6a68d9d 🧪 Use
QDPYC
in tests - e316e0c 🗑️ Deprecate
stub-profile
flag (QD-6638) - cb83bb2 ⚡ Support more product codes
- d057312 🔥 Remove publisher.go and publisher_test.go
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
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.
Or, if you have Go installed, you can install the latest version of the CLI with the following command:
go install github.com/JetBrains/qodana-cli/v2023@main
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.
v2023.2.6
Changelog
- 626f521 🐛 Fix container execution mode
- 481a33e 🐛 Fix local IDE arguments order
- 1637f1a 🐛 Fix local IDE exit code fetching
- 76dc16d 🚸 Disable any user interactions for container mode
- bb525c3 🚸 Implement more container-friendly CLI behaviour
- c0b7519 🚸 Improve
scan
help for local and container runs
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
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.
v2023.2.5
Changelog
- 3e71126 🐛 Don't fail with the exception when git repo doesn't exist
- f0653f8 🐛 Don't spam the user with internal asserts during IDE preparation
- e41d7b6 🐛 Don't supply empty coverage directory. (#172)
- c386694 🚸 Allow setting ide field from yaml file.
- 9bfd7e7 🔥 Output percentage while downloading IDEs
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
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.
v2023.2.4
Changelog
Install
💡 The Qodana CLI is distributed and run as a binary. The Qodana linters with inspections are Docker Images.
- You must have Docker installed and running locally to support this: https://www.docker.com/get-started
- 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)
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
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.
v2023.2.3
Changelog
Install
💡 The Qodana CLI is distributed and run as a binary. The Qodana linters with inspections are Docker Images.
- You must have Docker installed and running locally to support this: https://www.docker.com/get-started
- 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)
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
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.
v2023.2.2
Changelog
- 9604b13 ⬆️ Bump dependencies
- e8b3629 🚸 Allow setting IDE download URL from the arguments
- 173fd02 🚸 Make paths text more understandable
- 6f42cc2 🚸 Make the token messaging better
- e241068 🔥 Add native mode – new highly experimental feature of running Qodana without containers
- 1a5cf68 🔥 Make non-EAP linters default
- 08b9f98 ⚡ Download IDEs for local runs
- 95aff9d ⚡ Support
QODANA_TOKEN
storage and management
Install
💡 The Qodana CLI is distributed and run as a binary. The Qodana linters with inspections are Docker Images.
- You must have Docker installed and running locally to support this: https://www.docker.com/get-started
- 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)
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
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.
v2023.2.1
Changelog
- 29134e6 🐛 Apply fixes-strategy for linter
Install
💡 The Qodana CLI is distributed and run as a binary. The Qodana linters with inspections are Docker Images.
- You must have Docker installed and running locally to support this: https://www.docker.com/get-started
- 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)
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
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.
v2023.2.0
Changelog
Install
💡 The Qodana CLI is distributed and run as a binary. The Qodana linters with inspections are Docker Images.
- You must have Docker installed and running locally to support this: https://www.docker.com/get-started
- 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)
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
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.