1:HL["/_next/static/media/560d0dc937e89811-s.p.woff2",{"as":"font","type":"font/woff2"}] 2:HL["/_next/static/css/2e92341f2f2a549e.css",{"as":"style"}] 0:["990hTVHkZlVsRanvA0-KC",[[["",{"children":["blog",{"children":[["slug","vs-code-installation-by-terminal-ubuntu","c"],{"children":["__PAGE__?{\"slug\":[\"vs-code-installation-by-terminal-ubuntu\"]}",{}]}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/2e92341f2f2a549e.css","precedence":"next"}]],"$L4"]]]] 5:HL["/_next/static/css/aa77ab9bba161dd5.css",{"as":"style"}] 6:I{"id":8464,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","504:static/chunks/504-3bf38d4755258f20.js","185:static/chunks/app/layout-a3c0484fb4b40d70.js"],"name":"ThemeProviders","async":false} 7:I{"id":3015,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","504:static/chunks/504-3bf38d4755258f20.js","185:static/chunks/app/layout-a3c0484fb4b40d70.js"],"name":"","async":false} 8:I{"id":3657,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","504:static/chunks/504-3bf38d4755258f20.js","185:static/chunks/app/layout-a3c0484fb4b40d70.js"],"name":"KBarSearchProvider","async":false} 9:I{"id":6685,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","797:static/chunks/app/blog/[...slug]/page-3271df622a55882d.js"],"name":"","async":false} a:I{"id":7005,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","504:static/chunks/504-3bf38d4755258f20.js","185:static/chunks/app/layout-a3c0484fb4b40d70.js"],"name":"KBarButton","async":false} b:I{"id":6914,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","504:static/chunks/504-3bf38d4755258f20.js","185:static/chunks/app/layout-a3c0484fb4b40d70.js"],"name":"","async":false} c:I{"id":8766,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","504:static/chunks/504-3bf38d4755258f20.js","185:static/chunks/app/layout-a3c0484fb4b40d70.js"],"name":"","async":false} d:I{"id":7767,"chunks":["272:static/chunks/webpack-ab432321c71a0084.js","971:static/chunks/fd9d1056-3a33dcaeb8d53e3c.js","596:static/chunks/596-58227000ca6846a8.js"],"name":"default","async":false} e:I{"id":7920,"chunks":["272:static/chunks/webpack-ab432321c71a0084.js","971:static/chunks/fd9d1056-3a33dcaeb8d53e3c.js","596:static/chunks/596-58227000ca6846a8.js"],"name":"default","async":false} 4:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"VS Code Installation Guide for Ubuntu via Terminal | akbv - Atanas Korabov"}],["$","meta","2",{"name":"description","content":"A comprehensive guide on installing Visual Studio Code on Ubuntu Linux using terminal commands. We discuss various methods such as using Debian package, APT and SNAP package managers."}],["$","meta","3",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","4",{"name":"robots","content":"index, follow"}],["$","meta","5",{"name":"googlebot","content":"index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1"}],["$","link","6",{"rel":"canonical","href":"https://akbv.dev/blog/vs-code-installation-by-terminal-ubuntu"}],["$","link","7",{"rel":"alternate","type":"application/rss+xml","href":"https://akbv.dev/feed.xml"}],["$","meta","8",{"property":"og:title","content":"VS Code Installation Guide for Ubuntu via Terminal"}],["$","meta","9",{"property":"og:description","content":"A comprehensive guide on installing Visual Studio Code on Ubuntu Linux using terminal commands. We discuss various methods such as using Debian package, APT and SNAP package managers."}],["$","meta","10",{"property":"og:url","content":"https://akbv.dev/blog/vs-code-installation-by-terminal-ubuntu"}],["$","meta","11",{"property":"og:site_name","content":"akbv - Atanas Korabov"}],["$","meta","12",{"property":"og:locale","content":"en_US"}],["$","meta","13",{"property":"og:image","content":"https://akbv.dev/static/images/akbv-logo.png"}],["$","meta","14",{"property":"og:type","content":"article"}],["$","meta","15",{"property":"article:published_time","content":"2023-07-15T00:00:00.000Z"}],["$","meta","16",{"property":"article:modified_time","content":"2023-07-15T00:00:00.000Z"}],["$","meta","17",{"property":"article:author","content":"Atanas Korabov"}],["$","meta","18",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","19",{"name":"twitter:title","content":"VS Code Installation Guide for Ubuntu via Terminal"}],["$","meta","20",{"name":"twitter:description","content":"A comprehensive guide on installing Visual Studio Code on Ubuntu Linux using terminal commands. We discuss various methods such as using Debian package, APT and SNAP package managers."}],["$","meta","21",{"name":"twitter:image","content":"https://akbv.dev/static/images/akbv-logo.png"}],["$","meta","22",{"name":"next-size-adjust"}]] 3:[["$","html",null,{"lang":"en-us","className":"__variable_8c5df3 scroll-smooth","suppressHydrationWarning":true,"children":[["$","link",null,{"rel":"apple-touch-icon","sizes":"76x76","href":"/static/favicons/apple-touch-icon.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"32x32","href":"/static/favicons/favicon-32x32.png"}],["$","link",null,{"rel":"icon","type":"image/png","sizes":"16x16","href":"/static/favicons/favicon-16x16.png"}],["$","link",null,{"rel":"manifest","href":"/static/favicons/site.webmanifest"}],["$","link",null,{"rel":"mask-icon","href":"/static/favicons/safari-pinned-tab.svg","color":"#5bbad5"}],["$","meta",null,{"name":"msapplication-TileColor","content":"#000000"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: light)","content":"#fff"}],["$","meta",null,{"name":"theme-color","media":"(prefers-color-scheme: dark)","content":"#000"}],["$","link",null,{"rel":"alternate","type":"application/rss+xml","href":"/feed.xml"}],["$","body",null,{"className":"bg-white text-black antialiased dark:bg-gray-950 dark:text-white","children":["$","$L6",null,{"children":[["$undefined","$undefined","$undefined","$undefined",[["$","$L7",null,{"strategy":"afterInteractive","src":"https://www.googletagmanager.com/gtag/js?id=G-E6QL49GCHT"}],["$","$L7",null,{"strategy":"afterInteractive","id":"ga-script","children":"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', 'G-E6QL49GCHT');\n "}]]],["$","section",null,{"className":"mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-5xl xl:px-0","children":["$","div",null,{"className":"flex h-screen flex-col justify-between font-sans","children":[["$","$L8",null,{"kbarConfig":{"searchDocumentsPath":"search.json"},"children":[["$","header",null,{"className":"flex items-center justify-between py-10","children":[["$","div",null,{"children":["$","$L9",null,{"href":"/","aria-label":"akbv.dev","children":["$","div",null,{"className":"flex items-center justify-between","children":[["$","div",null,{"className":"mr-3","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","xmlnsXlink":"http://www.w3.org/1999/xlink","width":53.87,"height":43.61,"viewBox":"344.564 330.278 111.737 91.218","children":[["$","defs",null,{"children":[["$","path",null,{"id":"logo_svg__a","d":"M453.3 331.28v28.57l-64.66 58.65v-30.08l64.66-57.14Z"}],["$","path",null,{"id":"logo_svg__c","d":"M410.23 331.28v28.57l-64.67 58.65v-30.08l64.67-57.14Z"}],["$","linearGradient",null,{"id":"logo_svg__b","x1":"0%","x2":"100%","y1":"0%","y2":"0%","children":[["$","stop",null,{"offset":"0%","style":{"stopColor":"#00ff8f"}}],["$","stop",null,{"offset":"100%","style":{"stopColor":"#00a1ff"}}]]}]]}],["$","use",null,{"xlinkHref":"#logo_svg__a","fill":"url(#logo_svg__b)"}],["$","use",null,{"xlinkHref":"#logo_svg__c","fill":"url(#logo_svg__b)"}]]}]}],["$","div",null,{"className":"hidden h-6 text-2xl font-semibold sm:block","children":"akbv.dev"}]]}]}]}],["$","div",null,{"className":"flex items-center leading-5 space-x-4 sm:space-x-6","children":[[["$","$L9",null,{"href":"/blog","className":"hidden sm:block font-medium text-gray-900 dark:text-gray-100","children":"Blog"}],["$","$L9",null,{"href":"/tags","className":"hidden sm:block font-medium text-gray-900 dark:text-gray-100","children":"Tags"}],["$","$L9",null,{"href":"/projects","className":"hidden sm:block font-medium text-gray-900 dark:text-gray-100","children":"Projects"}],["$","$L9",null,{"href":"/about","className":"hidden sm:block font-medium text-gray-900 dark:text-gray-100","children":"About"}]],["$","$La",null,{"aria-label":"Search","children":["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","fill":"none","viewBox":"0 0 24 24","strokeWidth":1.5,"stroke":"currentColor","className":"text-gray-900 dark:text-gray-100 h-6 w-6","children":["$","path",null,{"strokeLinecap":"round","strokeLinejoin":"round","d":"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"}]}]}],["$","$Lb",null,{}],["$","$Lc",null,{}]]}]]}],["$","main",null,{"className":"mb-auto","children":["$","$Ld",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$Le",null,{}],"templateStyles":"$undefined","notFound":["$","div",null,{"className":"flex flex-col items-start justify-start md:mt-24 md:flex-row md:items-center md:justify-center md:space-x-6","children":[["$","div",null,{"className":"space-x-2 pb-8 pt-6 md:space-y-5","children":["$","h1",null,{"className":"text-6xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 md:border-r-2 md:px-6 md:text-8xl md:leading-14","children":"404"}]}],["$","div",null,{"className":"max-w-md","children":[["$","p",null,{"className":"mb-4 text-xl font-bold leading-normal md:text-2xl","children":"Sorry we couldn't find this page."}],["$","p",null,{"className":"mb-8","children":"But dont worry, you can find plenty of other things on our homepage."}],["$","$L9",null,{"href":"/","className":"focus:shadow-outline-blue inline rounded-lg border border-transparent bg-blue-600 px-4 py-2 text-sm font-medium leading-5 text-white shadow transition-colors duration-150 hover:bg-blue-700 focus:outline-none dark:hover:bg-blue-500","children":"Back to homepage"}]]}]]}],"notFoundStyles":[],"childProp":{"current":["$","$Ld",null,{"parallelRouterKey":"children","segmentPath":["children","blog","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$Le",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$Ld",null,{"parallelRouterKey":"children","segmentPath":["children","blog","children",["slug","vs-code-installation-by-terminal-ubuntu","c"],"children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$Le",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$Lf",null],"segment":"__PAGE__?{\"slug\":[\"vs-code-installation-by-terminal-ubuntu\"]}"},"styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/aa77ab9bba161dd5.css","precedence":"next"}]]}],"segment":["slug","vs-code-installation-by-terminal-ubuntu","c"]},"styles":[]}],"segment":"blog"},"styles":[]}]}]]}],["$","footer",null,{"children":["$","div",null,{"className":"mt-16 flex flex-col items-center","children":[["$","div",null,{"className":"mb-3 flex space-x-4","children":[["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"mailto:address@yoursite.com","children":[["$","span",null,{"className":"sr-only","children":"mail"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":[["$","path",null,{"d":"M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"}],["$","path",null,{"d":"M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"}]]}]]}],["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://github.com/a-kbv","children":[["$","span",null,{"className":"sr-only","children":"github"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":["$","path",null,{"d":"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"}]}]]}],["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://facebook.com","children":[["$","span",null,{"className":"sr-only","children":"facebook"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":["$","path",null,{"d":"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"}]}]]}],null,["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://www.linkedin.com/in/atanaskorabov/","children":[["$","span",null,{"className":"sr-only","children":"linkedin"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":["$","path",null,{"d":"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}]}]]}],["$","a",null,{"className":"text-sm text-gray-500 transition hover:text-gray-600","target":"_blank","rel":"noopener noreferrer","href":"https://twitter.com/AtanasKorabov","children":[["$","span",null,{"className":"sr-only","children":"twitter"}],["$","svg",null,{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","className":"fill-current text-gray-700 hover:text-primary-500 dark:text-gray-200 dark:hover:text-primary-400 h-6 w-6","children":["$","path",null,{"d":"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"}]}]]}]]}],["$","div",null,{"className":"mb-2 flex space-x-2 text-sm text-gray-500 dark:text-gray-400","children":[["$","div",null,{"children":"Atanas Korabov"}],["$","div",null,{"children":" • "}],["$","div",null,{"children":"© 2023"}],["$","div",null,{"children":" • "}],["$","$L9",null,{"href":"/","children":"akbv - Atanas Korabov"}]]}],["$","div",null,{"className":"mb-8 text-sm text-gray-500 dark:text-gray-400","children":["$","a",null,{"target":"_blank","rel":"noopener noreferrer","href":"https://github.com/timlrx/tailwind-nextjs-starter-blog","children":"Tailwind Nextjs Theme"}]}]]}]}]]}]}]]}]}]]}],null] 10:I{"id":2630,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","797:static/chunks/app/blog/[...slug]/page-3271df622a55882d.js"],"name":"","async":false} 11:I{"id":2529,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","797:static/chunks/app/blog/[...slug]/page-3271df622a55882d.js"],"name":"","async":false} 12:I{"id":5940,"chunks":["685:static/chunks/685-3720320f1c2a7834.js","797:static/chunks/app/blog/[...slug]/page-3271df622a55882d.js"],"name":"","async":false} f:[["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BlogPosting\",\"headline\":\"VS Code Installation Guide for Ubuntu via Terminal\",\"datePublished\":\"2023-07-15T00:00:00.000Z\",\"dateModified\":\"2023-07-15T00:00:00.000Z\",\"description\":\"A comprehensive guide on installing Visual Studio Code on Ubuntu Linux using terminal commands. We discuss various methods such as using Debian package, APT and SNAP package managers.\",\"image\":\"/static/images/akbv-logo.png\",\"url\":\"https://akbv.dev/blog/vs-code-installation-by-terminal-ubuntu\",\"author\":[{\"@type\":\"Person\",\"name\":\"Atanas Korabov\"}]}"}}],["$","section",null,{"className":"mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-5xl xl:px-0","children":[["$","$L10",null,{}],["$","article",null,{"children":["$","div",null,{"children":[["$","header",null,{"children":["$","div",null,{"className":"space-y-1 border-b border-gray-200 pb-10 text-center dark:border-gray-700","children":[["$","dl",null,{"children":["$","div",null,{"children":[["$","dt",null,{"className":"sr-only","children":"Published on"}],["$","dd",null,{"className":"text-base font-medium leading-6 text-gray-500 dark:text-gray-400","children":["$","time",null,{"dateTime":"2023-07-15T00:00:00.000Z","children":"July 15, 2023"}]}]]}]}],["$","div",null,{"children":["$","h1",null,{"className":"text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-5xl md:leading-14","children":"VS Code Installation Guide for Ubuntu via Terminal"}]}],["$","div",null,{"className":"flex justify-center gap-5 py-4","children":[["$","span",null,{"className":"flex items-center gap-1.5","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","aria-hidden":"true","className":"h-5 w-5","children":["$undefined",[["$","path","0",{"strokeLinecap":"round","strokeLinejoin":"round","d":"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z","children":"$undefined"}]]],"style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],340," words"]}],["$","span",null,{"className":"flex items-center gap-1.5","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","aria-hidden":"true","className":"h-5 w-5","children":["$undefined",[["$","path","0",{"strokeLinecap":"round","strokeLinejoin":"round","d":"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z","children":"$undefined"}]]],"style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"2 min read"]}]]}]]}]}],["$","div",null,{"className":"grid-rows-[auto_1fr] divide-y divide-gray-200 pb-8 dark:divide-gray-700 xl:divide-y-0","children":[["$","div",null,{"className":"divide-y divide-gray-200 dark:divide-gray-700 xl:col-span-3 xl:row-span-2 xl:pb-0","children":["$","div",null,{"className":"prose max-w-none pb-8 pt-10 dark:prose-invert","children":[["$","div",null,{"children":["$","img",null,{"alt":"vs-code-install","src":"/static/images/install-vs-code-on-ubuntu-terminal.png","width":"743","height":"336"}]}],["$","h1",null,{"id":"overview","children":[["$","a",null,{"href":"#overview","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Overview"]}],["$","p",null,{"children":"Visual Studio Code (VS Code), developed by Microsoft, provides many features such as syntax highlighting, smart code completion, debugging, and much more. It supports extensions for many programming languages and frameworks. This document describes how you install VS Code on Ubuntu using terminal commands."}],["$","h1",null,{"id":"how-to-install","children":[["$","a",null,{"href":"#how-to-install","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"How to Install"]}],["$","p",null,{"children":"There are several approaches to install VS Code using the terminal on Ubuntu Linux, including SNAP, APT package repository, and Debian Binary package."}],["$","h2",null,{"id":"method-1-install-using-deb-package","children":[["$","a",null,{"href":"#method-1-install-using-deb-package","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Method 1: Install Using Deb Package"]}],["$","h3",null,{"id":"step-1-download-vs-code-deb-binary","children":[["$","a",null,{"href":"#step-1-download-vs-code-deb-binary","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Step 1: Download VS Code Deb Binary"]}],["$","p",null,{"children":"You can get the binary from the official website or by using the given command:"}],["$","$L11",null,{"className":"language-bash","children":["$","code",null,{"className":"language-bash code-highlight","children":["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"wget"}]," ",["$","span",null,{"className":"token parameter variable","children":"-O"}]," vscode.deb ",["$","span",null,{"className":"token string","children":"'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64'"}],"\n"]}]}]}],["$","h3",null,{"id":"step-2-install-vs-code-using-terminal","children":[["$","a",null,{"href":"#step-2-install-vs-code-using-terminal","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Step 2: Install VS Code using terminal"]}],["$","p",null,{"children":"Now, we have the Debian binary of VS Code, let's use the DPKG tool to install it:"}],["$","$L11",null,{"className":"language-bash","children":["$","code",null,{"className":"language-bash code-highlight","children":["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," dpkg ",["$","span",null,{"className":"token parameter variable","children":"-i"}]," vscode.deb\n"]}]}]}],["$","h2",null,{"id":"method-2-install-using-apt-package-manager","children":[["$","a",null,{"href":"#method-2-install-using-apt-package-manager","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Method 2: Install Using APT Package Manager"]}],["$","h3",null,{"id":"step-1-execute-apt-update","children":[["$","a",null,{"href":"#step-1-execute-apt-update","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Step 1: Execute APT Update"]}],["$","p",null,{"children":"Firstly, start with updating the APT cache:"}],["$","$L11",null,{"className":"language-bash","children":["$","code",null,{"className":"language-bash code-highlight","children":["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," ",["$","span",null,{"className":"token function","children":"apt"}]," update\n"]}]}]}],["$","h3",null,{"id":"step-2-add-vs-code-gpg-key-and-repository","children":[["$","a",null,{"href":"#step-2-add-vs-code-gpg-key-and-repository","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Step 2: Add VS Code GPG Key and Repository"]}],["$","p",null,{"children":"To ensure the system recognizes and accepts the VS Code packages, add the GPG key and repository:"}],["$","$L11",null,{"className":"language-bash","children":["$","code",null,{"className":"language-bash code-highlight","children":[["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," ",["$","span",null,{"className":"token function","children":"apt-get"}]," ",["$","span",null,{"className":"token function","children":"install"}]," ",["$","span",null,{"className":"token function","children":"wget"}]," gpg\n"]}],["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"wget"}]," -qO- https://packages.microsoft.com/keys/microsoft.asc ",["$","span",null,{"className":"token operator","children":"|"}]," gpg ",["$","span",null,{"className":"token parameter variable","children":"--dearmor"}]," ",["$","span",null,{"className":"token operator","children":">"}]," packages.microsoft.gpg\n"]}],["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," ",["$","span",null,{"className":"token function","children":"install"}]," ",["$","span",null,{"className":"token parameter variable","children":"-D"}]," ",["$","span",null,{"className":"token parameter variable","children":"-o"}]," root ",["$","span",null,{"className":"token parameter variable","children":"-g"}]," root ",["$","span",null,{"className":"token parameter variable","children":"-m"}]," ",["$","span",null,{"className":"token number","children":"644"}]," packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg\n"]}],["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token builtin class-name","children":"echo"}]," ",["$","span",null,{"className":"token string","children":"\"deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main\""}]," ",["$","span",null,{"className":"token operator","children":"|"}]," ",["$","span",null,{"className":"token function","children":"sudo"}]," ",["$","span",null,{"className":"token function","children":"tee"}]," /etc/apt/sources.list.d/vscode.list\n"]}],["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"rm"}]," ",["$","span",null,{"className":"token parameter variable","children":"-f"}]," packages.microsoft.gpg\n"]}],["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," ",["$","span",null,{"className":"token function","children":"apt"}]," update\n"]}]]}]}],["$","h3",null,{"id":"step-3-install-vs-code","children":[["$","a",null,{"href":"#step-3-install-vs-code","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Step 3: Install VS Code"]}],["$","p",null,{"children":"Finally, install VS Code using the below command:"}],["$","$L11",null,{"className":"language-bash","children":["$","code",null,{"className":"language-bash code-highlight","children":["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," ",["$","span",null,{"className":"token function","children":"apt"}]," ",["$","span",null,{"className":"token function","children":"install"}]," code\n"]}]}]}],["$","h2",null,{"id":"method-3-install-using-snap-package-manager","children":[["$","a",null,{"href":"#method-3-install-using-snap-package-manager","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Method 3: Install Using Snap Package Manager"]}],["$","p",null,{"children":"Install it using the Snap package manager in one command:"}],["$","$L11",null,{"className":"language-bash","children":["$","code",null,{"className":"language-bash code-highlight","children":["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," snap ",["$","span",null,{"className":"token function","children":"install"}]," code ",["$","span",null,{"className":"token parameter variable","children":"--classic"}],"\n"]}]}]}],["$","p",null,{"children":"Finally, find it under all applications on your system."}],["$","h2",null,{"id":"uninstall-or-remove","children":[["$","a",null,{"href":"#uninstall-or-remove","aria-hidden":"true","tabIndex":"-1","children":["$","span",null,{"className":"icon icon-link"}]}],"Uninstall or Remove"]}],["$","p",null,{"children":"If you want to uninstall VS code, you can run the following commands:"}],["$","p",null,{"children":"For installations via Deb binary or APT, use:"}],["$","$L11",null,{"className":"language-bash","children":["$","code",null,{"className":"language-bash code-highlight","children":[["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," ",["$","span",null,{"className":"token function","children":"apt"}]," autoremove ",["$","span",null,{"className":"token parameter variable","children":"--purge"}]," code\n"]}],["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," ",["$","span",null,{"className":"token function","children":"rm"}]," /etc/apt/sources.list.d/vscode.*sudo ",["$","span",null,{"className":"token function","children":"rm"}]," /etc/apt/trusted.gpg.d/ms_vscode_key.gpg\n"]}]]}]}],["$","p",null,{"children":"If Snap package was used, use:"}],["$","$L11",null,{"className":"language-bash","children":["$","code",null,{"className":"language-bash code-highlight","children":["$","span",null,{"className":"code-line","children":[["$","span",null,{"className":"token function","children":"sudo"}]," snap remove code\n"]}]}]}]]}]}],["$","div",null,{"className":"pb-6 pt-6 text-center text-gray-700 dark:text-gray-300","id":"comment","children":["$","$L12",null,{"slug":"vs-code-installation-by-terminal-ubuntu"}]}],["$","footer",null,{"children":["$","div",null,{"className":"flex flex-col text-sm font-medium sm:flex-row sm:justify-between sm:text-base","children":[["$","div",null,{"className":"pt-4 xl:pt-8","children":["$","$L9",null,{"href":"/blog/github-markdown-guide","className":"text-primary-500 hover:text-primary-600 dark:hover:text-primary-400","aria-label":"Previous post: Markdown Guide","children":["← ","Markdown Guide"]}]}],["$","div",null,{"className":"pt-4 xl:pt-8","children":["$","$L9",null,{"href":"/blog/windows-activation-guide-using-kms-product-key","className":"text-primary-500 hover:text-primary-600 dark:hover:text-primary-400","aria-label":"Next post: Windows Activation Guide Using KMS Client Product Key","children":["Windows Activation Guide Using KMS Client Product Key"," →"]}]}]]}]}]]}]]}]}]]}]]