{"id":245,"date":"2026-04-17T02:39:28","date_gmt":"2026-04-17T02:39:28","guid":{"rendered":"https:\/\/sites.tntech.edu\/acrockett\/?p=245"},"modified":"2026-04-17T20:30:14","modified_gmt":"2026-04-17T20:30:14","slug":"install-set-up-visual-studio-code-vs-code-on-linux","status":"publish","type":"post","link":"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/17\/install-set-up-visual-studio-code-vs-code-on-linux\/","title":{"rendered":"Install &amp; Set Up Visual Studio Code (VS Code) on Linux"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">STEP ONE: Install VS Code<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download Visual Studio Code (VS Code) version that matches your Linux platform from <a href=\"https:\/\/code.visualstudio.com\/download\">https:\/\/code.visualstudio.com\/download<\/a>.<br><br>For this tutorial, we downloaded <strong>.deb<\/strong> as our machine uses Ubuntu Linux platform.<br><\/li>\n\n\n\n<li>To install VS Code:<br>\n<ul class=\"wp-block-list\">\n<li><span style=\"color: initial\">Open a terminal (<\/span><strong style=\"color: initial\"><code><mark>Ctrl + alt + T<\/mark><\/code>)<\/strong><br><\/li>\n\n\n\n<li>Navigate to the folder where you have downloaded the VS Code file. For this tutorial, the installation file of VS Code downloaded to <strong>Downloads<\/strong> folder. So, we change the directory to it by following command:<br><strong><code><mark>$ cd Downloads<\/mark><\/code><\/strong><br><\/li>\n\n\n\n<li>Install VS Code by typing following command:<br><strong><strong><mark><code>$<\/code><\/mark><\/strong><code><mark> sudo dpkg -i code_1.45.1-1589445302_amd64.deb<\/mark><\/code><\/strong><br>Where \u2018<code><strong>code_1.45.1-1589445302_amd64.deb<\/strong><\/code>\u2019 is the name of downloaded VS Code file.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>To launch VS Code, open the dash and type <strong>\u2018Visual Studio Code\u2019 <\/strong>and click VS code icon.<\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\">STEP TWO: Install C++ Extension to VS Code<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click on the <strong>Extensions<\/strong> button &nbsp;in VS Code. It is in the menu on the left side (see image below).<br>Then, type &#8220;<strong>C++<\/strong>&#8221; in the <strong>search bar<\/strong> (see image below) and hit the Enter key on your keyboard to display all extensions related to C++.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/vscode-extensions.png\" alt=\"vscode extensions\"><br><\/li>\n\n\n\n<li>Then, click on the <strong>C\/C++ Extension Pack<\/strong> Microsoft extension and click the <strong>Install <\/strong>button. This extension will install four extensions at one time.<br><img decoding=\"async\" src=\"http:\/\/sites.tntech.edu\/acrockett\/wp-content\/uploads\/sites\/108\/2026\/04\/install-extensions.png\" alt=\"install extensions\"><\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\">STEP THREE: <a href=\"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/17\/disable-all-genai-in-vs-code\/\">Disable all GenAI in VS Code<\/a><\/h1>\n\n\n\n<h1 class=\"wp-block-heading\">STEP FOUR: <a href=\"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/16\/vs-code-write-compile-run-a-c-program\/\" target=\"_blank\">Write, Compile, &amp; Run a C++ Program<\/a><\/h1>\n\n\n\n<h1 class=\"wp-block-heading\">STEP FIVE: <a href=\"https:\/\/sites.tntech.edu\/acrockett\/2026\/04\/16\/vs-code-features-you-may-like\/\" target=\"_blank\">VS Code Features You May Like<\/a><\/h1>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>STEP ONE: Install VS Code STEP TWO: Install C++ Extension to VS Code STEP THREE: Disable all GenAI in VS Code STEP FOUR: Write, Compile, &amp; Run a C++ Program STEP FIVE: VS Code Features You May Like<\/p>\n","protected":false},"author":119,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[24,25,18,31,23],"class_list":{"0":"post-245","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-c","7":"tag-24","8":"tag-25","9":"tag-c","10":"tag-linux","11":"tag-setting-up-computer","12":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/users\/119"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":3,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":266,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/posts\/245\/revisions\/266"}],"wp:attachment":[{"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.tntech.edu\/acrockett\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}