AWS Documentation

  1. Home
  2. Docs
  3. AWS Documentation
  4. Amazon Linux 2 SonarQube 9.3
  5. macOS and Linux

macOS and Linux

After download the SonarQube Scanner zip file, extract into /usr/local for example.

$ sudo unzip -d /usr/local sonar-scanner-cli-*.zip

Go to your project root and run sonnar-scanner. You can copy command line parameters below.

NOTE: We use non-ssl(http) url for option in the example below.


$ /usr/local/sonar-scanner-*/bin/sonar-scanner \
  -Dsonar.projectKey=sonarqube-test \
  -Dsonar.sources=. \ \
Was this article helpful to you? Yes No

How can we help?