DEV Community

Shivani Sharma
Shivani Sharma

Posted on

1

SonarQube setup on macOS (part 1)

Install SonarQube from
https://www.sonarqube.org/downloads/

You can unzip sonarqube-8.6.0.39681 or whatever version you have downloaded.

Once unzipped, move to macosx-universal-64 using command:
cd Downloads/sonarqube-8.6.0.39681/bin/macosx-universal-64

To Start SonarQube:
./sonar.sh start

once sonarqube is started you can see message:
Starting SonarQube...
Started SonarQube.

You can check if sonarqube is running or not using :
./sonar.sh status

SonarQube is running (1731).

Open a browser and check port 9000
http://localhost:9000/

In order to change the default 9000 port, you can move to conf folder where you can see a file sonar.properties, where default port 9000 can be changed.

To Stop SonarQube:
./sonar.sh stop

Prerequisite for sonarqube:

If not installed previously, please install Java 11.
https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html

In case of issues like Error as “wrapper” cannot be opened because the developer cannot be verified
Please check the solution provided here

Part 2: https://dev.to/shivani15sharma/running-sonarqube-to-check-javascript-code-part-2-730

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay