{"id":14960,"date":"2025-08-05T18:38:39","date_gmt":"2025-08-05T18:38:39","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=14960"},"modified":"2025-08-05T18:38:56","modified_gmt":"2025-08-05T18:38:56","slug":"how-to-install-visual-studio-code-on-linux-mint-22","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/","title":{"rendered":"How to Install Visual Studio Code on Linux Mint 22"},"content":{"rendered":"\n<p>Visual Studio Code (VS Code) is one of the most sophisticated code editors that help developers write, debug, and manage their code. It is available for almost every operating system, including Linux, Windows, and macOS. This is the reason why having it installed on Linux Mint 22 can enhance your development workflow. Like other IDEs, Code offers a myriad of features such as syntax highlighting, code completion, debugging, Git integration, and an integrated terminal.<\/p>\n\n\n\n<p>Because of its usefulness, this guide will discuss every possible way to install Visual Studio Code on Linux Mint 22.<\/p>\n\n\n\n<p>Now, let us start the installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-14960-_pisypz3nudk9\"><\/a>How to Install Visual Studio Code on Linux Mint 22?<\/h2>\n\n\n\n<p>VS Code caters to a wide array of programming languages, making it a versatile tool. To install Visual Studio Code on Linux Mint 22, please follow the specified methods below:<\/p>\n\n\n\n<p><a href=\"#Method-1:-Using-APT\">Method 1: Using APT<\/a><\/p>\n\n\n\n<p><a href=\"#Method-2:-Using-the-.deb-Package\">Method 2: Using the .deb Package<\/a><\/p>\n\n\n\n<p><a href=\"#Method-3:-Using-Flatpak\">Method 3: Using Flatpak<\/a><\/p>\n\n\n\n<p><a href=\"#Conclusion\">Conclusion<\/a><\/p>\n\n\n\n<p>Now, let us go into the details of the first method.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Method-1:-Using-APT\"><a id=\"post-14960-_p0p0kw5yx7jw\"><\/a>Method 1: Using APT<\/h3>\n\n\n\n<p>APT is among the tools Linux users have at their disposal. Code editors available on Linux include: Netbeans, Eclipse, Atom, Brackets, among others. For installation of Visual Studio Code (VS Code) through the official repositories, first import Microsoft&#8217;s repository and key, then install VS Code.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_216dpot16lw1\"><\/a>Step 1: Import the Microsoft GPG Key<\/h4>\n\n\n\n<p>Run the \u201cwget\u201d command to add the GPG key from the official site as follows:<\/p>\n\n\n\n<pre>wget -qO- https:\/\/packages.microsoft.com\/keys\/microsoft.asc | gpg --dearmor &gt; packages.microsoft.gpg &amp;&amp; sudo install -D -o root -g root -m 644 packages.microsoft.gpg \/etc\/apt\/keyrings\/packages.microsoft.gpg<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1241\" height=\"204\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-1.png\" alt=\"wget -qO- https:\/\/packages.microsoft.com\/keys\/microsoft.asc | gpg --dearmor &gt; packages.microsoft.gpg &amp;&amp; sudo install -D -o root -g root -m 644 packages.microsoft.gpg \/etc\/apt\/keyrings\/packages.microsoft.gpg\" class=\"wp-image-14961\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-1.png 1241w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-1-300x49.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-1-1024x168.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-1-768x126.png 768w\" sizes=\"(max-width: 1241px) 100vw, 1241px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Note<\/strong>: GPG is a program that allows the encryption and signing of texts, emails, files, and directories. Install via the command below:<\/p>\n\n\n\n<pre>sudo apt install wget gpg<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_z0cwbsqguxje\"><\/a>Step 2: Enable VS Code Repository<\/h4>\n\n\n\n<p>After creation, VS Code will need to be installed locally. In that case, create a Visual Studio Code repository file, then enable it by typing the following script:<\/p>\n\n\n\n<pre>sudo sh -c 'echo \"deb [arch=amd64,arm64,armhf signed-by=\/etc\/apt\/keyrings\/packages.microsoft.gpg] https:\/\/packages.microsoft.com\/repos\/code stable main\" &gt; \/etc\/apt\/sources.list.d\/vscode.list'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1250\" height=\"183\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-2.png\" alt=\"sudo sh -c 'echo &quot;deb [arch=amd64,arm64,armhf signed-by=\/etc\/apt\/keyrings\/packages.microsoft.gpg] https:\/\/packages.microsoft.com\/repos\/code stable main&quot; &gt; \/etc\/apt\/sources.list.d\/vscode.list'\" class=\"wp-image-14962\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-2.png 1250w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-2-300x44.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-2-1024x150.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-2-768x112.png 768w\" sizes=\"(max-width: 1250px) 100vw, 1250px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_eef9wdx51ffx\"><\/a>Step 3: Install dependencies<\/h4>\n\n\n\n<p>After importing the repository, users must update the package cache and refresh the APT package Index with the following commands:<\/p>\n\n\n\n<pre>sudo apt install apt-transport-https &amp;&amp; sudo apt update<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1236\" height=\"505\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-3.png\" alt=\"sudo apt install apt-transport-https &amp;&amp; sudo apt update\" class=\"wp-image-14963\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-3.png 1236w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-3-300x123.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-3-1024x418.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-3-768x314.png 768w\" sizes=\"(max-width: 1236px) 100vw, 1236px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_uk6xz951ktz4\"><\/a>Step 4: Install Visual Studio Code<\/h4>\n\n\n\n<p>On Linux Mint 22, in order to install VS Code, use the following apt command with the VS Code package named \u201ccode\u201d:<\/p>\n\n\n\n<pre>sudo apt install code<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1242\" height=\"453\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-4.png\" alt=\"sudo apt install code\" class=\"wp-image-14964\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-4.png 1242w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-4-300x109.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-4-1024x373.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-4-768x280.png 768w\" sizes=\"(max-width: 1242px) 100vw, 1242px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_xhpt8sxcj8ue\"><\/a>Step 5: Verify VS Code<\/h4>\n\n\n\n<p>Now the users can check if indeed it was successfully installed by running this command:<\/p>\n\n\n\n<pre>code --version<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1233\" height=\"200\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-5.png\" alt=\"code --version\" class=\"wp-image-14965\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-5.png 1233w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-5-300x49.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-5-1024x166.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-5-768x125.png 768w\" sizes=\"(max-width: 1233px) 100vw, 1233px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_hg9jvl2f3a2\"><\/a><strong>Optional: Remove\/Uninstall VS Code<\/strong><\/h4>\n\n\n\n<p>As discussed above, in Linux Mint 22, it can also be removed by running the \u2018apt\u2019 command followed by the \u2018autoremove\u2019 utility:<\/p>\n\n\n\n<pre>sudo rm -f packages.microsoft.gpg<\/pre>\n<pre>sudo apt purge code<\/pre>\n<pre>sudo apt autoremove code<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Method-2:-Using-the-.deb-Package\"><a id=\"post-14960-_kxk8suq0fofv\"><\/a>Method 2: Using the .deb Package<\/h3>\n\n\n\n<p>This method can most easily be accomplished by downloading and installing the .deb package (64-bit) of VS Code. First, grab the .deb file for Linux Mint 22 and then proceed to install it. The step-by-step instructions below will help you through the procedure.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_e4t76waysmdj\"><\/a>Step 1: Download the .deb Package<\/h4>\n\n\n\n<p>Grab the .deb file from the VSCode page as instructed. The wget command can also be executed from the command line:<\/p>\n\n\n\n<pre>wget -O vscode.deb 'https:\/\/code.visualstudio.com\/sha\/download?build=stable&amp;os=linux-deb-x64'<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1244\" height=\"682\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-6.png\" alt=\"wget -O vscode.deb 'https:\/\/code.visualstudio.com\/sha\/download?build=stable&amp;os=linux-deb-x64'\" class=\"wp-image-14966\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-6.png 1244w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-6-300x164.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-6-1024x561.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-6-768x421.png 768w\" sizes=\"(max-width: 1244px) 100vw, 1244px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Also, download it through the GUI:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1404\" height=\"722\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-7.png\" alt=\"Download Visual Studio code .deb file\" class=\"wp-image-14967\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-7.png 1404w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-7-300x154.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-7-1024x527.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-7-768x395.png 768w\" sizes=\"(max-width: 1404px) 100vw, 1404px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_bcnyh0q64j1y\"><\/a>Step 2: Install the .deb Package<\/h4>\n\n\n\n<p>After downloading the file, go to the folder that contains the .deb file and install it.<\/p>\n\n\n\n<pre>sudo apt install .\/vscode.deb<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1236\" height=\"588\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-8.png\" alt=\"sudo apt install .\/vscode.deb\" class=\"wp-image-14968\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-8.png 1236w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-8-300x143.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-8-1024x487.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-8-768x365.png 768w\" sizes=\"(max-width: 1236px) 100vw, 1236px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The program will automatically add the apt repository and signing key necessary for automated package management updates:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1239\" height=\"722\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-9.png\" alt=\"Add Microsoft repository and signing key\" class=\"wp-image-14969\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-9.png 1239w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-9-300x175.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-9-1024x597.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-9-768x448.png 768w\" sizes=\"(max-width: 1239px) 100vw, 1239px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_928kwhpy35w\"><\/a>Step 3: Verify VS Code Installation<\/h4>\n\n\n\n<p>Users may verify the software version for VS Code by selecting the \u201cversion\u201d option in the settings.<\/p>\n\n\n\n<pre>code --version<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1234\" height=\"190\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-10.png\" alt=\"code --version\" class=\"wp-image-14970\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-10.png 1234w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-10-300x46.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-10-1024x158.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-10-768x118.png 768w\" sizes=\"(max-width: 1234px) 100vw, 1234px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_8cm35vyct676\"><\/a>Step 4: Launch VS Code<\/h4>\n\n\n\n<p>Post installation, users can access VS Code from the application launcher by searching \u201cVS Code\u201d or via the terminal through the \u201ccode\u201d command.<\/p>\n\n\n\n<pre>code<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1246\" height=\"662\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-11.png\" alt=\"code\" class=\"wp-image-14971\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-11.png 1246w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-11-300x159.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-11-1024x544.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-11-768x408.png 768w\" sizes=\"(max-width: 1246px) 100vw, 1246px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This completes the instructions related to .deb package installation on Linux Mint 22.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"Method-3:-Using-Flatpak\"><a id=\"post-14960-_94sybnf7ftji\"><\/a>Method 3: Using Flatpak<\/h3>\n\n\n\n<p>The Flatpak background service will take care of updating VS Code seamlessly in the background. The procedure to be followed to install Visual Studio Code using Flatpak on Linux Mint 22 is given below:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_csrpyg2llx1n\"><\/a>Step 1: Install flatpak<\/h4>\n\n\n\n<p>Users must first get Flatpak enabled before any subsequent package is added:<\/p>\n\n\n\n<pre>sudo apt install flatpak<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1228\" height=\"252\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-12.png\" alt=\"sudo apt install flatpak\" class=\"wp-image-14972\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-12.png 1228w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-12-300x62.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-12-1024x210.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-12-768x158.png 768w\" sizes=\"(max-width: 1228px) 100vw, 1228px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_su03dw432dq0\"><\/a>Step 2: Add the Flathub repository<\/h4>\n\n\n\n<p>If any issues were encountered, consider the following commands for enabling the flathub repo:<\/p>\n\n\n\n<pre>flatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1252\" height=\"131\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-13.png\" alt=\"flatpak remote-add --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo\" class=\"wp-image-14973\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-13.png 1252w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-13-300x31.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-13-1024x107.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-13-768x80.png 768w\" sizes=\"(max-width: 1252px) 100vw, 1252px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_dbhs3az34vg7\"><\/a>Step 3: Install VS Code<\/h4>\n\n\n\n<p>To install VS Code with Flatpak on Linux Mint 22, run the following command:<\/p>\n\n\n\n<pre>flatpak install flathub com.visualstudio.code<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1246\" height=\"609\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-14.png\" alt=\"flatpak install flathub com.visualstudio.code\" class=\"wp-image-14974\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-14.png 1246w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-14-300x147.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-14-1024x500.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-14-768x375.png 768w\" sizes=\"(max-width: 1246px) 100vw, 1246px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><a id=\"post-14960-_afz0zuamv3ie\"><\/a>Step 4: Verify VS Code Installation<\/h4>\n\n\n\n<p>Users can authenticate the installation through the command:<\/p>\n\n\n\n<pre>flatpak run com.visualstudio.code<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1276\" height=\"482\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-15.png\" alt=\"flatpak run com.visualstudio.code\" class=\"wp-image-14975\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-15.png 1276w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-15-300x113.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-15-1024x387.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/word-image-14960-15-768x290.png 768w\" sizes=\"(max-width: 1276px) 100vw, 1276px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This completes the information about the installation of VS Code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Conclusion\"><a id=\"post-14960-_6oyxoxkxblv6\"><\/a>Conclusion<\/h2>\n\n\n\n<p>For installing Visual Studio Code (VS Code) on Linux Mint 22, the methods include using .deb packages, the APT repository, and flatpak. The preferred method of installing VS Code on Ubuntu is to download and manually install the .deb package (64-bit), as it automatically configures the apt repository. Furthermore, users can install VS Code using flatpak with the command \u201cflatpak install flathub com.visualstudio.code.\u201d<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Visual Studio Code (VS Code) is one of the most sophisticated code editors that help developers write, debug, and manage their code. It is available for almost every operating system, including Linux, Windows, and macOS. This is the reason why having it installed on Linux Mint 22 can enhance your development workflow. Like other IDEs, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":14978,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[739,897,738],"class_list":["post-14960","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-code-editor","tag-linux-mint-22","tag-visual-studio-code"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Visual Studio Code on Linux Mint 22 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This guide will discuss every possible way, including apt, .deb, and flatpak, to install Visual Studio Code on Linux Mint 22. Learn more!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Visual Studio Code on Linux Mint 22 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This guide will discuss every possible way, including apt, .deb, and flatpak, to install Visual Studio Code on Linux Mint 22. Learn more!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-05T18:38:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-05T18:38:56+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install Visual Studio Code on Linux Mint 22\",\"datePublished\":\"2025-08-05T18:38:39+00:00\",\"dateModified\":\"2025-08-05T18:38:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/\"},\"wordCount\":740,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg\",\"keywords\":[\"Code Editor\",\"Linux Mint 22\",\"Visual Studio Code\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/\",\"name\":\"How to Install Visual Studio Code on Linux Mint 22 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg\",\"datePublished\":\"2025-08-05T18:38:39+00:00\",\"dateModified\":\"2025-08-05T18:38:56+00:00\",\"description\":\"This guide will discuss every possible way, including apt, .deb, and flatpak, to install Visual Studio Code on Linux Mint 22. Learn more!\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to Install Visual Studio Code on Linux Mint 22\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Visual Studio Code on Linux Mint 22\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Visual Studio Code on Linux Mint 22 - Greenwebpage Community","description":"This guide will discuss every possible way, including apt, .deb, and flatpak, to install Visual Studio Code on Linux Mint 22. Learn more!","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:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Visual Studio Code on Linux Mint 22 - Greenwebpage Community","og_description":"This guide will discuss every possible way, including apt, .deb, and flatpak, to install Visual Studio Code on Linux Mint 22. Learn more!","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-08-05T18:38:39+00:00","article_modified_time":"2025-08-05T18:38:56+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install Visual Studio Code on Linux Mint 22","datePublished":"2025-08-05T18:38:39+00:00","dateModified":"2025-08-05T18:38:56+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/"},"wordCount":740,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg","keywords":["Code Editor","Linux Mint 22","Visual Studio Code"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/","name":"How to Install Visual Studio Code on Linux Mint 22 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg","datePublished":"2025-08-05T18:38:39+00:00","dateModified":"2025-08-05T18:38:56+00:00","description":"This guide will discuss every possible way, including apt, .deb, and flatpak, to install Visual Studio Code on Linux Mint 22. Learn more!","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/08\/How-to-Install-Visual-Studio-Code-on-Linux-Mint-22.jpg","width":1020,"height":600,"caption":"How to Install Visual Studio Code on Linux Mint 22"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-visual-studio-code-on-linux-mint-22\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install Visual Studio Code on Linux Mint 22"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=14960"}],"version-history":[{"count":2,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14960\/revisions"}],"predecessor-version":[{"id":14977,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14960\/revisions\/14977"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/14978"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=14960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=14960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=14960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}