- You need the qube server. Could be Sonarcloud or a local instance. I used the docker container
- You need the scanner from homebrew
- You need an auth token iff you're using the cloud api
# export SONAR_TOKEN=<>
brew install sonar-scanner
docker run -d --name sonarqube -p 9000:9000 sonarqube:latest
sonar-scanner -Dproject.settings=sonar-project.properties -Dsonar.login=admin -Dsonar.password=admin