Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


<div class="table-wrap"><table>
<table style="line-height: 1.4285715;" class="confluenceTable"><tbody><tr><td class="highlight-grey confluenceTd" data-highlight-colour="grey">By>
By <a target="_top" href="">SonarSource</a> &#8211; GNU LGPL 3 &#8211;
<a target="_top" href="">Issue Tracker</a> &#8211;
<a target="_top" href="">Sources</a>
    <div style="padding-top:10px;padding-bottom:5px<tr><td colspan="4">
	<strong>Download    <span style="font-size:larger;"><strong>SonarQube SonarQube Scanner 23.9<3</strong><strong><br/span>>
     &#8211; Compatible with SonarQube 5.6+ (LTS)
 <br>   <a target="_top" href="">Linux 64 bit</a>
    <a target="_top" href="">Windows 64 bit</a>
    <a target="_top" href="">Download<>Mac OS X 64 bit</a>
</ <a target="_top" href="">Any*</a>
<tr><td colspan="4"><small>*This package expects that a JVM is already installed on the system - with same Java requirements as the SonarQube server.</small></td></td></tr>
</div> </td></tr></tbody></table></div>


  1. Expand the downloaded file into the directory of your choice. We'll refer to it as <install_directory> in the next steps.
  2. Update the global settings to point to your SonarQube server by editing <install_directory>/conf/

    Code Block
    #----- Default SonarQube server

  3. Add the <install_directory>/bin directory to your path.
  4. You can verify your installation by opening a new shell and executing the command sonar-scanner -h (on Windows platform the command is sonar-scanner.bat -h) . You should get output like this:

    Code Block
    usage: sonar-scanner [options]
     -D,--define <arg>     Define property
     -e,--errors           Produce execution error messages
     -h,--help             Display help information
     -v,--version          Display version information
     -X,--debug            Produce execution debug output


Code Block
# must be unique in a given SonarQube instance
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=My project

# Path is relative to the file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this This property is optional if sonar.modules is set. 
# If not set, SonarQube starts looking for source code from the directory containing 
# the file.

# Encoding of the source code. Default is default system encoding


To help you get started, simple project samples are available for most languages on github. They can be browsed or downloaded. You'll find them filed under projects/languages.


Upgrade the version of Java being used for analysis or use one of the native package (that embed its own Java runtime). SonarQube 5.6+ requires Java 8.

Property missing: 'sonar.cs.analyzer.projectOutPaths'. No protobuf files will be loaded for this project.

Scanner CLI is not able to analyze .NET projects. Please, use Scanner for MSBuild. If you are running Scanner for MSBuild, ensure that you are not hitting a known limitation.

Going Further