{"id":154211,"date":"2025-01-24T16:51:27","date_gmt":"2025-01-24T16:51:27","guid":{"rendered":"https:\/\/linuxiac.com\/?p=154211"},"modified":"2025-01-24T16:51:39","modified_gmt":"2025-01-24T16:51:39","slug":"how-to-install-visual-studio-code-on-arch-linux","status":"publish","type":"post","link":"https:\/\/linuxiac.com\/how-to-install-visual-studio-code-on-arch-linux\/","title":{"rendered":"How to Install Visual Studio Code on Arch Linux"},"content":{"rendered":"\n<p><a href=\"https:\/\/code.visualstudio.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio Code<\/a> (VS Code) is a feature-rich, highly customizable editor loved by developers worldwide, and <a href=\"https:\/\/linuxiac.com\/archlinux\/\">Arch Linux<\/a> provides the perfect platform to unleash its full potential.<\/p>\n\n\n\n<p>The reason is simple: as a <a href=\"https:\/\/linuxiac.com\/rolling-vs-point-release-linux-distributions\/\" data-type=\"post\" data-id=\"58207\">rolling release<\/a>, Arch always provides users with the latest, most modern, and up-to-date software tools, making it a developer&#8217;s paradise.<\/p>\n\n\n\n<p>In this guide, I will explain how to install VS Code on Arch Linux in a simple, straightforward way. Before we begin, however, I want to clarify some important things.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Differences Between Code OSS and VS Code<\/h2>\n\n\n\n<p>Visual Studio Code comes in two versions: <strong>Code OSS<\/strong> and <strong>VS Code<\/strong>. Both are available for Arch users to install, but if you\u2019re new to them, it might be tricky to figure out the difference and decide which one to choose. To help you out, here\u2019s a simple explanation of what sets Code OSS and VS Code apart.<\/p>\n\n\n\n<p><strong>The main difference between Visual Studio Code (VS Code) and Code OSS lies in their licensing model and included features.<\/strong><\/p>\n\n\n\n<p><strong>Microsoft officially distributes VS Code<\/strong>\u00a0under a proprietary license. While its source code is open source (<a href=\"https:\/\/github.com\/microsoft\/vscode\" target=\"_blank\" rel=\"noreferrer noopener\">available on GitHub<\/a>), the binaries you download from Microsoft include additional proprietary telemetry (collects usage data and sends it to Microsoft to improve the product) and branding.<\/p>\n\n\n\n<p>At the same time, <strong>Code OSS is the open-source version of Visual Studio Code<\/strong>, available under the MIT License. This is the unbranded and fully open-source variant of the code editor without Microsoft\u2019s proprietary additions.<\/p>\n\n\n\n<p>On the features side, VS Code includes proprietary ones like official Microsoft account integration, settings synchronization, and access to proprietary Microsoft services (e.g., extensions related to Azure, GitHub Codespaces, etc.).<\/p>\n\n\n\n<p>Respectively, Code OSS provides the core features of VS Code but lacks proprietary services or branding. Any additional features like syncing are typically community-driven or require manual configuration.<\/p>\n\n\n\n<p>In conclusion, VS Code is ideal for users who want the full experience with all Microsoft features, integrations, and support. Code OSS is preferred by users who prioritize open-source software and privacy and avoid proprietary components.<\/p>\n\n\n\n<p>Now that you understand the basic differences, choosing which version to use is entirely up to you. I\u2019ve always preferred using the original Visual Studio Code app provided directly by Microsoft, but that\u2019s just my preference.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install VS Code on Arch Linux<\/h2>\n\n\n\n<p>If you decide to go with Code OSS, installing it on your Arch system is a breeze. Since it&#8217;s available in the official Arch repositories, all it takes is a single Pacman command to set it up.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">sudo pacman -S code<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>And that&#8217;s it. Search for &#8220;<em>code<\/em>&#8221; in your application launcher and click to open it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-01.jpg\"><img decoding=\"async\" width=\"909\" height=\"277\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-01.jpg\" alt=\"Run Code OSS on Arch Linux.\" class=\"wp-image-154568\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-01.jpg 909w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-01-380x116.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-01-768x234.jpg 768w\" sizes=\"(max-width: 909px) 100vw, 909px\" \/><\/a><figcaption class=\"wp-element-caption\">Run Code OSS on Arch Linux.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-02.jpg\"><img decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-02-1024x640.jpg\" alt=\"Code OSS runs on Arch Linux.\" class=\"wp-image-154571\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-02-1024x640.jpg 1024w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-02-380x238.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-02-768x480.jpg 768w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-02-1536x960.jpg 1536w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-02.jpg 1680w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Code OSS running on Arch Linux.<\/figcaption><\/figure>\n\n\n\n<p>The original Microsoft Visual Studio Code (VS Code) is available for Arch users in the <a href=\"https:\/\/aur.archlinux.org\/packages\/visual-studio-code-bin\" target=\"_blank\" rel=\"noreferrer noopener\">AUR repository<\/a>. This means that (for convenience) you need to have the <a href=\"https:\/\/linuxiac.com\/how-to-install-aur-packages-in-arch-linux\/\">AUR helper installed<\/a>. If you don&#8217;t already have one, I recommend using <code>yay<\/code>\u2014it&#8217;s a great option. To install it, run the following four commands in order.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">sudo pacman -S git base-devel\ngit <span class=\"hljs-built_in\">clone<\/span> https:\/\/aur.archlinux.org\/yay.git\n<span class=\"hljs-built_in\">cd<\/span> yay\nmakepkg -si<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Everything will be set up in just 1-2 minutes. Now, to install VS Code, run:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"Bash\" data-shcb-language-slug=\"bash\"><span><code class=\"hljs language-bash\">yay -S visual-studio-code-bin<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">Bash<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">bash<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-03.jpg\"><img decoding=\"async\" width=\"997\" height=\"535\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-03.jpg\" alt=\"Installing Microsoft Visual Studio Code on Arch Linux.\" class=\"wp-image-154583\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-03.jpg 997w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-03-380x204.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-03-768x412.jpg 768w\" sizes=\"(max-width: 997px) 100vw, 997px\" \/><\/a><figcaption class=\"wp-element-caption\">Installing Microsoft Visual Studio Code on Arch Linux.<\/figcaption><\/figure>\n\n\n\n<p>Wait for the installation to complete. Next, search for &#8220;<em>code<\/em>&#8221; in your application launcher and click on the app icon when it appears.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-04.jpg\"><img decoding=\"async\" width=\"976\" height=\"275\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-04.jpg\" alt=\"Run VS Code on Arch Linux.\" class=\"wp-image-154589\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-04.jpg 976w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-04-380x107.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-04-768x216.jpg 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/a><figcaption class=\"wp-element-caption\">Run VS Code on Arch Linux.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-05.jpg\"><img decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-05-1024x640.jpg\" alt=\"VS Code running on Arch Linux.\" class=\"wp-image-154592\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-05-1024x640.jpg 1024w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-05-380x238.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-05-768x480.jpg 768w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-05-1536x960.jpg 1536w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/01\/vscode-arch-05.jpg 1680w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">VS Code running on Arch Linux.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Bottom Line<\/h2>\n\n\n\n<p>Well done! You\u2019ve successfully set up Code OSS\/VStudio Code on your Arch Linux system. Now, with that powerful editor at your fingertips, you can dive into its extensive ecosystem of extensions, debugging features, and integrated Git support to code like a pro.<\/p>\n\n\n\n<p>Don&#8217;t you like all those Pacman\/Yay command-line approaches? Okay, do you know you can handle all this without even touching the command line\u2014<a href=\"https:\/\/linuxiac.com\/best-pacman-gui-frontends-for-arch-linux\/\">that\u2019s how<\/a>.<\/p>\n\n\n\n<p>Thanks for your time! As always, any suggestions and comments are highly welcome in the section below. Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to install Visual Studio Code on Arch Linux step-by-step to enjoy seamless coding with the most popular code editor.<\/p>\n","protected":false},"author":10,"featured_media":154214,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,4417],"tags":[4390,4387,2092],"class_list":["post-154211","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-linux-knowledge","tag-code-editor","tag-ide","tag-visual-studio-code"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts\/154211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/comments?post=154211"}],"version-history":[{"count":0,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts\/154211\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/media\/154214"}],"wp:attachment":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/media?parent=154211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/categories?post=154211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/tags?post=154211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}