{"id":20102,"date":"2023-07-31T09:06:50","date_gmt":"2023-07-31T09:06:50","guid":{"rendered":"https:\/\/linuxways.net\/?p=20102"},"modified":"2023-07-31T09:06:50","modified_gmt":"2023-07-31T09:06:50","slug":"how-to-install-vscode-on-debian-12","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-install-vscode-on-debian-12\/","title":{"rendered":"How to Install VScode on Debian 12"},"content":{"rendered":"<p>VS Code or Visual Studio Code is the favorite IDE of the developers. It is used to code in numerous programming languages. No matter if we want to code in Python, Java, JavaScript, HTML, CSS, or any programming language for that matter, we can do everything in this powerful IDE.<\/p>\n<h2><strong>Why should we Install VS Code?<\/strong><\/h2>\n<p><strong>Powerful Code Editor:<\/strong> VSCode offers a feature-rich and efficient code editor with syntax highlighting, auto-completion, and intelligent code suggestions, enhancing productivity and code quality.<\/p>\n<p><strong>Extensibility:<\/strong> VSCode&#8217;s vast library of extensions allows users to customize and extend the editor&#8217;s functionality, providing support for various programming languages, frameworks, and tools.<\/p>\n<p><strong>Integrated Debugger:<\/strong> VSCode includes a built-in debugger that supports debugging for multiple programming languages, making it easier to identify and fix issues in code.<\/p>\n<p><strong>Git Integration:<\/strong> VSCode seamlessly integrates with Git version control, offering an intuitive interface for managing code repositories, making version control tasks more straightforward.<\/p>\n<p><strong>Cross-Platform Support:<\/strong> VSCode is available for Windows, macOS, and Linux, ensuring a consistent development experience across different operating systems and facilitating collaboration in multi-platform environments.<\/p>\n<p>The installation process of this IDE is really simple in every operating system and platform. The same goes for Linux Distributions. In this article, we will install VS Code in our Debian 12.<\/p>\n<h2><strong>Method 1: Installing VS Code from Snap<\/strong><\/h2>\n<h3><strong>Update Debian 12<\/strong><\/h3>\n<p>Before installing our VS Code in Debian 12, it is a better idea that we should update it first.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update <span class=\"sy0\">&amp;&amp;<\/span> upgrade<\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"572\" class=\"wp-image-20103\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-1.png 750w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-1-300x229.png 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/strong><\/p>\n<h3><strong>Install Snap<\/strong><\/h3>\n<p>Before we install VS Code, we need to install our Snap in Debian 12.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> snapd<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"551\" class=\"wp-image-20104\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-2.png 729w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-2-300x227.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/p>\n<h3><strong>Start Snap<\/strong><\/h3>\n<p>After installing it in our Debian 12, we need to start it and enable it as well.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> systemctl <span class=\"kw3\">enable<\/span> snapd <span class=\"sy0\">&amp;&amp;<\/span> <span class=\"kw2\">sudo<\/span> systemctl start snapd<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"553\" class=\"wp-image-20105\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-3.png 737w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-3-300x225.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/p>\n<h3><strong>Install VS Code<\/strong><\/h3>\n<p>Now let\u2019s begin the installation of VS Code in our Debian 12.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> snap <span class=\"kw2\">install<\/span> code <span class=\"re5\">--classic<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"552\" class=\"wp-image-20106\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-4.png 737w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-4-300x225.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/p>\n<h3><strong>Launch VS Code<\/strong><\/h3>\n<p>To launch VS Code after its installation, just write \u201ccode\u201d in the terminal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"553\" class=\"wp-image-20107\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-5.png 737w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-5-300x225.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1150\" height=\"726\" class=\"wp-image-20108\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-6.png 1150w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-6-300x189.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-6-1024x646.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-6-768x485.png 768w\" sizes=\"auto, (max-width: 1150px) 100vw, 1150px\" \/><\/p>\n<h2><strong>Method 2: Install VS Code from Deb <\/strong><\/h2>\n<p>First of all, head to the official <a href=\"https:\/\/code.visualstudio.com\/docs\/?dv=linux64_deb\">website <\/a>of VS Code, and from there, download the .deb file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1149\" height=\"832\" class=\"wp-image-20109\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-7.png 1149w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-7-300x217.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-7-1024x741.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-7-768x556.png 768w\" sizes=\"auto, (max-width: 1149px) 100vw, 1149px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"233\" class=\"wp-image-20110\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-8.png 945w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-8-300x74.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-8-768x189.png 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/p>\n<h3><strong>Install Deb File<\/strong><\/h3>\n<p>Now we need to head to the downloads directory and install the deb file.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> .<span class=\"sy0\">\/<\/span>code_1.80.1-<span class=\"nu0\">1689183569<\/span>_amd64.deb<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"545\" class=\"wp-image-20111\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-9.png 740w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-9-300x221.png 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/p>\n<h3><strong>Launch VS Code<\/strong><\/h3>\n<p>Now again we need to launch it. For that, we just need to search it in our Debian 12.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1138\" height=\"423\" class=\"wp-image-20112\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-10.png 1138w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-10-300x112.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-10-1024x381.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-10-768x285.png 768w\" sizes=\"auto, (max-width: 1138px) 100vw, 1138px\" \/><\/p>\n<p>Here we can see, we have both applications available. One is from snap and other is from Deb.<\/p>\n<h3><strong>Uninstall Code<\/strong><\/h3>\n<p>To uninstall code from Debian 12, we have several ways. The simplest one is as follows<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> snap remove code<\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"544\" class=\"wp-image-20113\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-11.png 729w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-11-300x224.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/strong><\/p>\n<p>To remove all the remaining packages automatically, we have a command as<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-get autoremove<\/span><\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"547\" class=\"wp-image-20114\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-12.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20102-12-300x224.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/strong><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>VS Code installation is really simple to follow. We have several and distinguished ways that can be followed to install it. In this article, Snap and Deb were used to install it in our Debian 12. You can follow any of the methods. After that, you are ready to start developing your applications, programs and software.<\/p>","protected":false},"excerpt":{"rendered":"<p>VS Code is a powerful yet very light software that most developers use to develop different applications, programs, and software. <\/p>","protected":false},"author":110,"featured_media":20115,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-20102","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=20102"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20102\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/20115"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=20102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=20102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=20102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}