macOS installation for personal use on my desktop

  1. I’m new to this concept of code-checking software.
  2. I just downloaded SonarQube to the /opt directory on my macOD Big Sur 11.5 for personal use.
  3. I’m following the installation and console commands directions:
    /opt/sonarqube/bin/macosx-universal-64/ console
  4. CLI returns “” command not found"
  5. No logs were generated.

Does anyone have any advice? Should I be looking at a different code-checker?
Thank you!

Hi @Chexpeare, welcome to the SonarSource Community!

Our instructions reference relative paths; it’s up to you to ensure your absolute paths are valid references to what actually resulted from unzipping the software. You did unzip it, right? If not, please do. If you did, it probably resulted in something more like /opt/sonarqube-9.0-12345 and not the plain /opt/sonarqube you seem to be expecting unless you were careful to rename the resulting directory.

Depending upon your goals, for personal workstation use, SonarLint may be more suitable for seeing static analysis results within your IDE. It will give you all the same bug and code smell detection capabilities as SonarQube. Only security-related concerns will be missing.

Generally speaking, customers run SonarQube in a central location for the benefit of teams and incorporate its analysis into an automated CI pipeline.

Hope this helps!