{"id":226324,"date":"2019-09-09T08:30:05","date_gmt":"2019-09-09T15:30:05","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=226324"},"modified":"2019-09-10T09:17:00","modified_gmt":"2019-09-10T16:17:00","slug":"say-hello-to-the-new-visual-studio-terminal","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/say-hello-to-the-new-visual-studio-terminal\/","title":{"rendered":"Say hello to the new Visual Studio terminal!"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>Building on the momentum from the recently announced <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/the-powershell-you-know-and-love-now-with-a-side-of-visual-studio\/\">Developer PowerShell<\/a>, we are excited to share the first preview of the new Visual Studio terminal. This new preview experience is part of Visual Studio version 16.3 Preview 3.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-226341 size-full\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/terminal-img-1.png\" alt=\"\" width=\"936\" height=\"288\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/terminal-img-1.png 936w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/terminal-img-1-300x92.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/terminal-img-1-768x236.png 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Rather than build everything from scratch, the Visual Studio terminal shares most of its core with the <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/introducing-windows-terminal\/\">Windows Terminal<\/a>. For you, that translates into a more robust terminal experience, and faster adoption of new functionality.<\/p>\n<p>&nbsp;<\/p>\n<h2>Enabling the new Visual Studio terminal<\/h2>\n<p>To try the terminal preview, you\u2019ll first need to enable it by visiting the <em>Preview Features<\/em> page. Go to <strong>Tools<\/strong> &gt; <strong>Options &gt; Preview Features<\/strong>, enable the <em>Experimental VS Terminal<\/em>\u00a0option and restart Visual Studio.<\/p>\n<p><img decoding=\"async\" width=\"1230\" height=\"679\" class=\"wp-image-226332\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-5.png\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-5.png 1230w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-5-300x166.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-5-768x424.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-5-1024x565.png 1024w\" sizes=\"(max-width: 1230px) 100vw, 1230px\" \/><\/p>\n<p>Once enabled, you can invoke it via the <strong>View<\/strong> &gt; <strong>Terminal Window<\/strong> menu entry or via the search.<\/p>\n<p><img decoding=\"async\" width=\"1430\" height=\"470\" class=\"wp-image-226334\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-7.png\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-7.png 1430w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-7-300x99.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-7-768x252.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-7-1024x337.png 1024w\" sizes=\"(max-width: 1430px) 100vw, 1430px\" \/><\/p>\n<h2><\/h2>\n<h2>Creating Terminal profiles<\/h2>\n<p>Launching the terminal automatically opens an integrated PowerShell instance. However, you can customize the startup experience by using shell profiles.<\/p>\n<p>With shell profiles, you can target different types of shells, invoke them using unique arguments, or even set a default shell that better fits your needs.<\/p>\n<p>In future updates, we plan to optimize the experience by pre-populating the terminal with a few basic profiles. In the meantime, you can manually add additional profiles on the terminal&#8217;s Options page.<\/p>\n<p><img decoding=\"async\" width=\"915\" height=\"474\" class=\"wp-image-226335\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-8.png\" data-wp-editing=\"1\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-8.png 915w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-8-300x155.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-8-768x398.png 768w\" sizes=\"(max-width: 915px) 100vw, 915px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>As an example, here\u2019s how you can set profiles for some popular options:<\/p>\n<h4>Developer Command Prompt<\/h4>\n<p>Shell location:\n<code>C:\\Windows\\System32\\cmd.exe<\/code>\nArguments:\n<code>\/k \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\IntPreview\\Common7\\Tools\\VsDevCmd.bat\"<\/code><\/p>\n<h4>Developer PowerShell<\/h4>\n<p>Shell location:\n<code>C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe<\/code>\nArguments:\n<code>-NoExit -Command \"&amp; { Import-Module 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview_master\\Common7\\Tools\\vsdevshell\\Microsoft.VisualStudio.DevShell.dll'; Enter-VsDevShell -InstanceId f86c8b33}\"<\/code><\/p>\n<p><strong>Note:<\/strong> You\u2019ll need to update the above argument to match your specific configuration. You can extract the argument information by looking into the <em>Target<\/em> string for the Developer PowerShell shortcut.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-226336\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-9.png\" alt=\"\" width=\"556\" height=\"750\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-9.png 610w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2019\/09\/word-image-9-222x300.png 222w\" sizes=\"(max-width: 556px) 100vw, 556px\" \/><\/p>\n<h3><\/h3>\n<h4>WSL<\/h4>\n<p>Shell location:\n<code>C:\\WINDOWS\\sysnative\\wsl.exe<\/code><\/p>\n<p>&nbsp;<\/p>\n<h2>Try it out and let us know what you think!<\/h2>\n<p>While we are excited to share this preview, we want to ensure a solid experience before we enable this experience in the release version of Visual Studio. As a result, the terminal will initially only be available in the preview versions of Visual Studio 2019.<\/p>\n<p>As next steps, we\u2019ll look to deliver improvements around rendering (the terminal currently needs to be resized to render correctly), accessibility and theming. We&#8217;ll also add new productivity boosters such as multiple terminal instances and deeper integration with Visual Studio.<\/p>\n<p>We\u2019d love to know how it fits your workflow and how we could further improve your terminal experience. Send us your feedback via the <a href=\"https:\/\/developercommunity.visualstudio.com\/idea\/516314\/integrated-terminal-in-visual-studio-2019-similar.html\">Developer Community<\/a> portal, or via the Help &gt; Send Feedback feature inside Visual Studio.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Building on the momentum from the recently announced Developer PowerShell, we are excited to share the first preview of the new Visual Studio terminal. This new preview experience is part of Visual Studio version 16.3 Preview 3. &nbsp; Rather than build everything from scratch, the Visual Studio terminal shares most of its core with [&hellip;]<\/p>\n","protected":false},"author":1092,"featured_media":226341,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1085,1195,1412,155,1029],"tags":[237,361,4470,4469,4236,526,4468],"class_list":["post-226324","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-cross-platform","category-development","category-visual-studio","category-web","tag-net","tag-net-core","tag-command-prompt","tag-developer","tag-powershell","tag-productivity","tag-terminal"],"acf":[],"blog_post_summary":"<p>&nbsp; Building on the momentum from the recently announced Developer PowerShell, we are excited to share the first preview of the new Visual Studio terminal. This new preview experience is part of Visual Studio version 16.3 Preview 3. &nbsp; Rather than build everything from scratch, the Visual Studio terminal shares most of its core with [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/226324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/1092"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=226324"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/226324\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/226341"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=226324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=226324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=226324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}