{"id":25755,"date":"2022-10-14T17:09:25","date_gmt":"2022-10-14T16:09:25","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=25755"},"modified":"2022-10-15T13:33:38","modified_gmt":"2022-10-15T12:33:38","slug":"add-cygwin-to-windows-terminal","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/25755\/add-cygwin-to-windows-terminal\/","title":{"rendered":"Add Cygwin to Windows Terminal"},"content":{"rendered":"<p>How to add Cygwin to Windows Terminal?<\/p>\n<p><!--more--><\/p>\n<p>Mit WSL bietet Windows inzwischen eine gute Unterst\u00fctzung f\u00fcr Linux und Linux-Kommandozeilenprogramme. Under Windows 11, however, Hyper-V must be enabled for this, which unfortunately can cause problems with VirtualBox or Vmware. Therefore I have installed <a href=\"https:\/\/www.cygwin.com\/\">CygWin<\/a>.<\/p>\n<p>For the use I wanted to use this gladly in the Windows terminal. <\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi-blog.de\/en\/25755\/add-cygwin-to-windows-terminal\/#Video_tutorial\" >Video tutorial<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/25755\/add-cygwin-to-windows-terminal\/#Windows_Terminal_settings\" >Windows Terminal settings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ekiwi-blog.de\/en\/25755\/add-cygwin-to-windows-terminal\/#Create_new_profile\" >Create new profile<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ekiwi-blog.de\/en\/25755\/add-cygwin-to-windows-terminal\/#Profile_settings\" >Profile settings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ekiwi-blog.de\/en\/25755\/add-cygwin-to-windows-terminal\/#Done\" >Done!<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Video_tutorial\"><\/span>Video tutorial<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/bywmaQ8g7Po\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Windows_Terminal_settings\"><\/span>Windows Terminal settings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First we open the Windows Terminal settings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_1.png\" alt=\"\" width=\"703\" height=\"336\" class=\"aligncenter size-full wp-image-25746\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_1.png 703w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_1-300x143.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Create_new_profile\"><\/span>Create new profile<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Here we now add a new profile.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_2.png\" alt=\"\" width=\"389\" height=\"373\" class=\"aligncenter size-full wp-image-25748\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_2.png 389w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_2-300x288.png 300w\" sizes=\"auto, (max-width: 389px) 100vw, 389px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Profile_settings\"><\/span>Profile settings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We give the profile a name. For the command line, the default path is:<\/p>\n<pre>\r\nc:\\cygwin64\\Cygwin.bat\r\n<\/pre>\n<p>The icon path is:<\/p>\n<pre>\r\nc:\\cygwin64\\Cygwin.ico\r\n<\/pre>\n<p>We can freely assign names.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_3.png\" alt=\"\" width=\"1028\" height=\"737\" class=\"aligncenter size-full wp-image-25750\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_3.png 1028w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_3-300x215.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_3-1024x734.png 1024w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_3-768x551.png 768w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_3-350x250.png 350w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_3-420x300.png 420w\" sizes=\"auto, (max-width: 1028px) 100vw, 1028px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Done\"><\/span>Done!<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once we save the profile, we can access it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_4.png\" alt=\"\" width=\"703\" height=\"365\" class=\"aligncenter size-full wp-image-25752\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_4.png 703w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/10\/cyg_4-300x156.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>How to add Cygwin to Windows Terminal?<\/p>\n","protected":false},"author":1,"featured_media":15926,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1558],"class_list":["post-25755","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-windows-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/25755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=25755"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/25755\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/15926"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=25755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=25755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=25755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}