{"id":906,"date":"2023-01-09T17:25:31","date_gmt":"2023-01-09T11:55:31","guid":{"rendered":"https:\/\/test.tntra.io\/blog\/?p=906"},"modified":"2025-02-07T23:22:47","modified_gmt":"2025-02-07T17:52:47","slug":"how-to-set-up-sonarqube-without-docker","status":"publish","type":"post","link":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/","title":{"rendered":"How to Set up SonarQube without Docker?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #c4161d;color:#c4161d\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #c4161d;color:#c4161d\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#What_is_Sonarqube_and_Why_is_it_Used\" >What is Sonarqube and Why is it Used?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#Steps_for_the_Installation_of_Sonar-scanner_and_Sonarqube_Without_Docker\" >Steps for the Installation of Sonar-scanner and Sonarqube Without Docker<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_Sonarqube_and_Why_is_it_Used\"><\/span>What is Sonarqube and Why is it Used?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Sonarqube is a Code Quality Assurance tool that collects and analyzes source code and provides reports for the code quality of your project. It combines static and dynamic analysis tools and enables quality to be measured continuously over time.<\/p>\n\n\n\n<p>Sonarqube is an open-source platform used for continuous inspection of code quality. It is used to identify bugs, vulnerabilities, and code smells in a wide variety of programming languages and can be integrated with a variety of build and continuous integration systems.&nbsp;<\/p>\n\n\n\n<p>You can run Sonarqube locally without docker or with it to achieve the following objectives:-&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Analyze code on-demand or with a scheduled job<\/li>\n\n\n\n<li>Automatically track technical debt<\/li>\n\n\n\n<li>Compare the quality of different branches or versions of code<\/li>\n\n\n\n<li>Write custom rules to identify specific issues<\/li>\n<\/ul>\n\n\n\n<p><strong>Difference Between Static and Dynamic Analysis:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Static code analysis<\/strong>\n<ul class=\"wp-block-list\">\n<li>Done without executing any of the code.&nbsp;<\/li>\n\n\n\n<li>It is considered an automatic code review process that finds potential errors and poor coding practices. It is majorly used for metrics computation, which gives a rating of how well the code works.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Dynamic Code Analysis<\/strong>\n<ul class=\"wp-block-list\">\n<li>Depends on codebase execution.&nbsp;<\/li>\n\n\n\n<li>Unlike static code analysis, It finds errors while programming execution.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Steps_for_the_Installation_of_Sonar-scanner_and_Sonarqube_Without_Docker\"><\/span>Steps for the Installation of Sonar-scanner and Sonarqube Without Docker<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Sonarqube can be installed and run on a machine without using Docker. Running Sonarqube without docker<strong> <\/strong>gives better control however it increases the amount of attention it requires.<\/p>\n\n\n\n<p>Here is how to run Sonarqube without Docker on your system:-<\/p>\n\n\n\n<p><strong>Step 1:<\/strong><\/p>\n\n\n\n<p><strong>Install Sonarqube Without Docker<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Download Sonarqube<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>NOTE: Always download the community version of Sonarqube<\/strong><\/li>\n\n\n\n<li>Download Sonarqube <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Download JVM<\/strong>\n<ul class=\"wp-block-list\">\n<li>Download the latest version of JVM <br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Now, extract the zip of both the Sonarqube and JVM files. In our case, the path for Sonarqube is <strong>\/Downloads\/Sonarqube-9.7.1.62043.<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>Step 2:&nbsp;<\/strong><\/p>\n\n\n\n<p>Run the following commands to install the Node packages:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get install unzip wget nodejs<\/code><\/pre>\n\n\n\n<p><strong>Step 3:<\/strong><\/p>\n\n\n\n<p>Now, access the directory where you have Sonarqube installed. In our case, its<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> cd Downloads\/Sonarqube-9.7.1.62043<\/code><\/pre>\n\n\n\n<p><strong>Step 3:<\/strong><\/p>\n\n\n\n<p>Now, access the directory where you have Sonarqube installed. In our case, its <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd Downloads\/Sonarqube-9.7.1.62043<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can run the Sonarqube server using the command .\/sonar.sh start and run it on localhost:9000.&nbsp;<\/li>\n\n\n\n<li>Now login with default credentials:\n<ol class=\"wp-block-list\">\n<li>Username &#8211; admin<\/li>\n\n\n\n<li>Password &#8211; admin<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Here, you can change your password.<\/li>\n\n\n\n<li>Now, if you get an authentication failed error while logging into Sonarqube, you can use the following command or else skip to the step 6.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -vu admin:admin -X POST \"http:\/\/localhost:9000\/api\/users\/change_password?login=admin&amp;previousPassword=admin&amp;password=\"123456\"\"<\/code><\/pre>\n\n\n\n<p><strong>Step 4<\/strong>:<\/p>\n\n\n\n<p>To use Sonarqube with sonar scanner, install the sonar-scanner packages. Also, unzip it using the below commands.&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/binaries.sonarsource.com\/Distribution\/sonar-scanner-cli\/sonar-scanner-cli-4.2.0.1873-linux.zip<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>unzip sonar-scanner-cli-4.2.0.1873-linux.zip<\/code><\/pre>\n\n\n\n<p><strong>Step 5<\/strong>:<\/p>\n\n\n\n<p>Move this to opt directory using the command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mv sonar-scanner-4.2.0.1873-linux \/opt\/sonar-scanner<\/code><\/pre>\n\n\n\n<p><strong>Step 6<\/strong>:<\/p>\n\n\n\n<p>The next step in installing Sonarqube without Docker is to edit the sonar-scanner.properties file.&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/opt\/sonar-scanner\/conf\/sonar-scanner.propertie<\/code><\/pre>\n\n\n\n<p><strong>Step 7:<\/strong><\/p>\n\n\n\n<p>Uncomment the following lines<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sonar.host.url=http:\/\/localhost:9000\nsonar.sourceEncoding=UTF-8<\/code><\/pre>\n\n\n\n<p><strong>Step 8:<\/strong><\/p>\n\n\n\n<p>Edit the \/etc\/profile.d<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/profile.d\/sonar-scanner.sh<\/code><\/pre>\n\n\n\n<p><strong>Step 9:<\/strong><\/p>\n\n\n\n<p>To run Sonarqube server without Docker<strong> <\/strong>add the following lines to it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\/bin\/bash\nexport PATH=\"$PATH:\/opt\/sonar-scanner\/bin\"<\/code><\/pre>\n\n\n\n<p><strong>Step 10:<\/strong><\/p>\n\n\n\n<p>The next step here would be to execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/etc\/profile.d\/sonar-scanner.sh<\/code><\/pre>\n\n\n\n<p>To set up the Sonarqube project<strong>, <\/strong>reboot your computer or use the source command to add the sonar scanner command to the PATH variable.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reboot\nsource \/etc\/profile.d\/sonar-scanner.sh<\/code><\/pre>\n\n\n\n<p><strong>Step 11<\/strong>:<\/p>\n\n\n\n<p>Use the following command to verify if the PATH variable was changed as per your expectation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>env | grep PATH<\/code><\/pre>\n\n\n\n<p>The output should be something like as mentioned below &#8211;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/usr\/games:\/usr\/local\/games:\/snap\/bin:\/opt\/sonar-scanner\/bin<\/code><\/pre>\n\n\n\n<p>Now, your sonar scanner is all set, and you check the version using the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sonar-scanner -v<\/code><\/pre>\n\n\n\n<p>After you run localhost:9000 and login with your credentials.<\/p>\n\n\n\n<p>Create a new project.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"890\" height=\"526\" src=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/create-new-project.png\" alt=\"create new project\n\" class=\"wp-image-933\" srcset=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/create-new-project.png 890w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/create-new-project-300x177.png 300w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/create-new-project-768x454.png 768w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/figure>\n\n\n\n<p>After that select a local project for its analysis.<\/p>\n\n\n\n<p>After that, generate a Sonarqube token as displayed below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"551\" src=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/generate-sonarqube-token.png\" alt=\"generate a Sonarqube token\" class=\"wp-image-934\" srcset=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/generate-sonarqube-token.png 850w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/generate-sonarqube-token-300x194.png 300w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/generate-sonarqube-token-768x498.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/figure>\n\n\n\n<p>After you select the type of your OS, you will get the below Sonarqube dashboard<strong>.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"607\" src=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-dashboard-1-1024x607.png\" alt=\"Sonarqube dashboard\" class=\"wp-image-936\" srcset=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-dashboard-1-1024x607.png 1024w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-dashboard-1-300x178.png 300w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-dashboard-1-768x455.png 768w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-dashboard-1.png 1096w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now copy and execute the commands in your project directory and the screen looks like below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"492\" src=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/project-directory-1-1024x492.png\" alt=\"execute the commands in your project directory\" class=\"wp-image-939\" srcset=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/project-directory-1-1024x492.png 1024w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/project-directory-1-300x144.png 300w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/project-directory-1-768x369.png 768w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/project-directory-1.png 1133w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>A Sonarqube server report will be generated such as shared below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"647\" src=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-server-without-Docker.png\" alt=\"Sonarqube server without Docker\" class=\"wp-image-937\" srcset=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-server-without-Docker.png 1024w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-server-without-Docker-300x190.png 300w, https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-server-without-Docker-768x485.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>SonarQube is a powerful tool for static code analysis that can help improve the quality and security of your software projects. You can install Sonarqube with Docker or directly on a supported operating system machine. Installing SonarQube without Docker gives you more control over the server configuration and includes additional responsibilities and maintenance.&nbsp;<\/p>\n\n\n\n<p>It also has some benefits, like having more control over the server configuration, but also it comes with more responsibilities and maintenance. It also requires you to run a compatible operating system with the version of Sonarqube.<\/p>\n\n\n\n<p>For the hassle-free implementation of SonarQube without Docker, you can contact the <a href=\"https:\/\/www.tntra.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">Tntra product engineering<\/a> team. Our teams are ready to take on a Sonarqube project that amplifies your digitization ambitions.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Sonarqube and Why is it Used? Sonarqube is&#8230;<\/p>\n","protected":false},"author":8,"featured_media":916,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-906","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set up SonarQube without Docker - Tntra<\/title>\n<meta name=\"description\" content=\"Sonarqube is a Code Quality Assurance tool used for continuous inspection of code. Learn how to use Sonarqube without docker in this comprehensive guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set up SonarQube without Docker - Tntra\" \/>\n<meta property=\"og:description\" content=\"Sonarqube is a Code Quality Assurance tool used for continuous inspection of code. Learn how to use Sonarqube without docker in this comprehensive guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/\" \/>\n<meta property=\"og:site_name\" content=\"Tntra\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/tntraio\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-09T11:55:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-07T17:52:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-without-docker.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Harsh Rajput\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tntraio\" \/>\n<meta name=\"twitter:site\" content=\"@tntraio\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Harsh Rajput\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/\"},\"author\":{\"name\":\"Harsh Rajput\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#\\\/schema\\\/person\\\/ba0d9166cf7b8601901d410497edc8e4\"},\"headline\":\"How to Set up SonarQube without Docker?\",\"datePublished\":\"2023-01-09T11:55:31+00:00\",\"dateModified\":\"2025-02-07T17:52:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/\"},\"wordCount\":749,\"publisher\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/sonarqube-without-docker.png\",\"articleSection\":[\"Programming\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/\",\"url\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/\",\"name\":\"How to Set up SonarQube without Docker - Tntra\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/sonarqube-without-docker.png\",\"datePublished\":\"2023-01-09T11:55:31+00:00\",\"dateModified\":\"2025-02-07T17:52:47+00:00\",\"description\":\"Sonarqube is a Code Quality Assurance tool used for continuous inspection of code. Learn how to use Sonarqube without docker in this comprehensive guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/sonarqube-without-docker.png\",\"contentUrl\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/sonarqube-without-docker.png\",\"width\":1200,\"height\":627,\"caption\":\"install Sonarqube without docker\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/how-to-set-up-sonarqube-without-docker\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set up SonarQube without Docker?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/\",\"name\":\"Tntra\",\"description\":\"AI-First &amp; IP-Enabled Innovation Ecosystem\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#organization\",\"name\":\"Tntra\",\"url\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/logo.png\",\"width\":300,\"height\":300,\"caption\":\"Tntra\"},\"image\":{\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/tntraio\",\"https:\\\/\\\/x.com\\\/tntraio\",\"https:\\\/\\\/www.instagram.com\\\/tntra.io\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/tntra\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/#\\\/schema\\\/person\\\/ba0d9166cf7b8601901d410497edc8e4\",\"name\":\"Harsh Rajput\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/harsh-150x150.png\",\"url\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/harsh-150x150.png\",\"contentUrl\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/harsh-150x150.png\",\"caption\":\"Harsh Rajput\"},\"description\":\"Harsh is a Ruby on Rails, React, and Javascript expert who likes to take on Leetcode challenges. He has excellent problem-solving skills and loves to take on significant challenges. He has utilized his skills in developing some of the best FinTech, eCommerce, and People management platforms. In addition, he is good at analytical thinking along with a thirst for learning new technology and concepts. Harsh also likes to mentor and train young developers. Outside the tech space, he likes to travel and watch movies.\",\"url\":\"https:\\\/\\\/www.tntra.io\\\/blog\\\/author\\\/harsh-rajput\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set up SonarQube without Docker - Tntra","description":"Sonarqube is a Code Quality Assurance tool used for continuous inspection of code. Learn how to use Sonarqube without docker in this comprehensive guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/","og_locale":"en_US","og_type":"article","og_title":"How to Set up SonarQube without Docker - Tntra","og_description":"Sonarqube is a Code Quality Assurance tool used for continuous inspection of code. Learn how to use Sonarqube without docker in this comprehensive guide.","og_url":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/","og_site_name":"Tntra","article_publisher":"https:\/\/www.facebook.com\/tntraio","article_published_time":"2023-01-09T11:55:31+00:00","article_modified_time":"2025-02-07T17:52:47+00:00","og_image":[{"width":1200,"height":627,"url":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-without-docker.png","type":"image\/png"}],"author":"Harsh Rajput","twitter_card":"summary_large_image","twitter_creator":"@tntraio","twitter_site":"@tntraio","twitter_misc":{"Written by":"Harsh Rajput","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#article","isPartOf":{"@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/"},"author":{"name":"Harsh Rajput","@id":"https:\/\/www.tntra.io\/blog\/#\/schema\/person\/ba0d9166cf7b8601901d410497edc8e4"},"headline":"How to Set up SonarQube without Docker?","datePublished":"2023-01-09T11:55:31+00:00","dateModified":"2025-02-07T17:52:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/"},"wordCount":749,"publisher":{"@id":"https:\/\/www.tntra.io\/blog\/#organization"},"image":{"@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-without-docker.png","articleSection":["Programming"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/","url":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/","name":"How to Set up SonarQube without Docker - Tntra","isPartOf":{"@id":"https:\/\/www.tntra.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#primaryimage"},"image":{"@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-without-docker.png","datePublished":"2023-01-09T11:55:31+00:00","dateModified":"2025-02-07T17:52:47+00:00","description":"Sonarqube is a Code Quality Assurance tool used for continuous inspection of code. Learn how to use Sonarqube without docker in this comprehensive guide.","breadcrumb":{"@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#primaryimage","url":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-without-docker.png","contentUrl":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/sonarqube-without-docker.png","width":1200,"height":627,"caption":"install Sonarqube without docker"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tntra.io\/blog\/how-to-set-up-sonarqube-without-docker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tntra.io\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Set up SonarQube without Docker?"}]},{"@type":"WebSite","@id":"https:\/\/www.tntra.io\/blog\/#website","url":"https:\/\/www.tntra.io\/blog\/","name":"Tntra","description":"AI-First &amp; IP-Enabled Innovation Ecosystem","publisher":{"@id":"https:\/\/www.tntra.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tntra.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.tntra.io\/blog\/#organization","name":"Tntra","url":"https:\/\/www.tntra.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tntra.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2025\/11\/logo.png","contentUrl":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2025\/11\/logo.png","width":300,"height":300,"caption":"Tntra"},"image":{"@id":"https:\/\/www.tntra.io\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/tntraio","https:\/\/x.com\/tntraio","https:\/\/www.instagram.com\/tntra.io\/","https:\/\/www.linkedin.com\/company\/tntra\/"]},{"@type":"Person","@id":"https:\/\/www.tntra.io\/blog\/#\/schema\/person\/ba0d9166cf7b8601901d410497edc8e4","name":"Harsh Rajput","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/harsh-150x150.png","url":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/harsh-150x150.png","contentUrl":"https:\/\/www.tntra.io\/blog\/wp-content\/uploads\/2023\/01\/harsh-150x150.png","caption":"Harsh Rajput"},"description":"Harsh is a Ruby on Rails, React, and Javascript expert who likes to take on Leetcode challenges. He has excellent problem-solving skills and loves to take on significant challenges. He has utilized his skills in developing some of the best FinTech, eCommerce, and People management platforms. In addition, he is good at analytical thinking along with a thirst for learning new technology and concepts. Harsh also likes to mentor and train young developers. Outside the tech space, he likes to travel and watch movies.","url":"https:\/\/www.tntra.io\/blog\/author\/harsh-rajput\/"}]}},"_links":{"self":[{"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/posts\/906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/comments?post=906"}],"version-history":[{"count":0,"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/posts\/906\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/media\/916"}],"wp:attachment":[{"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/media?parent=906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/categories?post=906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tntra.io\/blog\/wp-json\/wp\/v2\/tags?post=906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}