


Variable path followed by “$HOME/” will be the path where you kept your “sonarqube” & “sonarqube-scanner” folders. Just add the following two “environmental variables” to this file & save it.Įxport PATH=$PATH:$HOME/sonarqube-7.4/bin/macosx-universal-64Įxport PATH=$PATH:$HOME/sonar-scanner-3.-macosx/bin Open “terminal.app”, enter the following command, and hit Enter.
SONAR 8 POWER EBOOK HOW TO
Please check on other resources how to set. Add “Environmental Variable” (for macOS, it goes under “.bash_profile” file for other OS platform, it varies.Unzip both the downloaded files and keep it at a common place (I kept it here inside users root level).Download “SonarQube-Scanner” (download as per your machine OS).Download “SonarQube” (download as per your machine OS).
SONAR 8 POWER EBOOK INSTALL
Install JVM on your machine (I installed it by Homebrew).For that, this you need to check on other resources. The steps for SonarQube setup used in this article are performed under MacOS platform but the same steps can be followed while working on other OS platforms also except “Step 2” (setting environmental variables). It provides us with a beautiful dashboard with the functionality of in-detail scanning data where we can analyze our code quality and improve it. Well, as I told in the description, SonarQube is an open-source automatic code review tool to detect bugs, vulnerabilities, and code smells in your code. First of all, let us understand what SonarQube is and why it is so important.
