How to Install Sonarqube on windows ?
In this tutorial we’re going to learn how to install Sonarqube on windows and configure with our windows machine.
What is Sonarqube ?
SonarQube is an open-source platform that helps developers improve the quality and security of their code:
Key Benefits of Sonarqube :-
Code analysis: Analyzes code for over 30 languages, frameworks, and IaC platforms
Detects issues: Automatically reviews code to detect bugs, vulnerabilities, and other common code issues
Integrates with DevOps platforms: Integrates with GitHub, GitLab, Azure, and Bitbucket
Supports multiple deployment options: Can be deployed on-prem or in a cloud environment
First go to below url and select community download for free
Put your email after click on signup and download
2nd step download jdk 17
Run as administrator
Now check Java version.java — version
java --version
Now check where installed java
where java
Next extract the sonarqube file
Now successfully extracted here Now.
Open cmd as a run as administrator
Next go to Sonarqube folder -> sonarqube-25.1.0.102122\bin\windows-x86–64 Copy that path as like below
C:\Users\admin\Downloads\sonarqube-25.1.0.102122\bin\windows-x86–64
And just paste in cmd
Next go to below path and run command
cd C:\Users\admin\Downloads\sonarqube-25.1.0.102122\bin\windows-x86-64
Run below command in your terminal
StartSonar.bat
Open below URL in your browser.
http://localhost:9000/
I hope its helpful for you 👍👍