{"id":72,"date":"2026-10-11T08:04:39","date_gmt":"2026-10-11T00:04:39","guid":{"rendered":"http:\/\/laoke.pw\/?p=72"},"modified":"2026-10-11T08:04:39","modified_gmt":"2026-10-11T00:04:39","slug":"34-windows-terminal-windows-%e5%91%bd%e4%bb%a4%e8%a1%8c%e7%9a%84%e3%80%8c%e6%ad%a3%e7%a1%ae%e6%89%93%e5%bc%80%e6%96%b9%e5%bc%8f%e3%80%8d","status":"publish","type":"post","link":"https:\/\/laoke.pw\/?p=72","title":{"rendered":"34 Windows Terminal \u2014\u2014 Windows \u547d\u4ee4\u884c\u7684\u300c\u6b63\u786e\u6253\u5f00\u65b9\u5f0f\u300d"},"content":{"rendered":"<p><strong>\u4e00\u53e5\u8bdd\u5b9a\u4f4d<\/strong>\uff1a\u5fae\u8f6f\u5b98\u65b9\u5f00\u6e90\u7684\u73b0\u4ee3\u7ec8\u7aef\uff0c\u628a CMD\u3001PowerShell\u3001WSL \u7edf\u4e00\u8fdb\u4e00\u4e2a\u591a\u6807\u7b7e\u7a97\u53e3\uff0c\u8fd8\u4f60\u4e00\u4e2a\u4f53\u9762\u7684\u547d\u4ee4\u884c\u3002<\/p>\n<h2>\u4f60\u662f\u4e0d\u662f\u4e5f\u9047\u5230\u8fc7<\/h2>\n<p>\u5728 Windows \u4e0a\u7528\u547d\u4ee4\u884c\uff0c\u5f00\u4e2a\u9ed1\u4e4e\u4e4e\u7684\u8001\u5f0f\u63a7\u5236\u53f0\u7a97\u53e3\uff1a\u60f3\u590d\u5236\u4e2a\u547d\u4ee4\u7ed3\u679c\u5f97\u5148\u70b9\u300c\u6807\u8bb0\u300d\u518d\u62d6\u9009\uff1b\u7a97\u53e3\u4e00\u5173\u4f1a\u8bdd\u5168\u6ca1\uff1b\u60f3\u540c\u65f6\u5f00 CMD \u548c PowerShell \u53ea\u80fd\u5f00\u4e24\u4e2a\u7a97\u53e3\u6765\u56de\u5207\uff1b\u5b57\u4f53\u53d1\u865a\u3001\u914d\u8272\u8fa3\u773c\u3002\u660e\u660e 2020 \u5e74\u4ee3\u4e86\uff0c\u7ec8\u7aef\u4f53\u9a8c\u8fd8\u505c\u7559\u5728 1995 \u5e74\u3002<\/p>\n<h2>\u6838\u5fc3\u80fd\u529b<\/h2>\n<ul>\n<li><strong>\u591a\u6807\u7b7e + \u5206\u5c4f<\/strong>\uff1a\u4e00\u4e2a\u7a97\u53e3\u5f00 N \u4e2a\u6807\u7b7e\u9875\uff0c<code>Alt+Shift+D<\/code> \u4e00\u952e\u5de6\u53f3\/\u4e0a\u4e0b\u5206\u5c4f\uff0c\u8fb9\u8dd1\u670d\u52a1\u8fb9\u770b\u65e5\u5fd7<\/li>\n<li><strong>\u591a Shell \u7edf\u4e00\u7ba1\u7406<\/strong>\uff1aCMD\u3001PowerShell\u3001WSL \u7684 Ubuntu\u3001Git Bash \u5168\u90e8\u4f5c\u4e3a\u914d\u7f6e\u6587\u4ef6\u6302\u8fdb\u6765\uff0c\u4e0b\u62c9\u7bad\u5934\u4e00\u70b9\u5373\u8fbe<\/li>\n<li><strong>\u771f\u6b63\u7684\u73b0\u4ee3\u4f53\u9a8c<\/strong>\uff1a\u539f\u751f\u590d\u5236\u7c98\u8d34\uff08Ctrl+C\/V \u76f4\u63a5\u7528\uff09\u3001GPU \u52a0\u901f\u6587\u5b57\u6e32\u67d3\u3001\u652f\u6301\u5b57\u4f53\u8fde\u5b57\u3001\u4efb\u610f\u7f29\u653e\u4e0d\u7cca<\/li>\n<li><strong>\u81ea\u5b9a\u4e49\u5916\u89c2<\/strong>\uff1a\u80cc\u666f\u56fe\u3001\u4e9a\u514b\u529b\u900f\u660e\u3001\u914d\u8272\u65b9\u6848\uff08\u5185\u7f6e\u5341\u51e0\u79cd\u4e3b\u9898\uff09\u3001\u5b57\u53f7\u5b57\u4f53\u5168\u53ef\u8c03<\/li>\n<li><strong>\u5feb\u6377\u952e\u4e0e\u547d\u4ee4\u9762\u677f<\/strong>\uff1a\u5168\u64cd\u4f5c\u53ef\u7ed1\u5feb\u6377\u952e\uff0c<code>Ctrl+Shift+P<\/code> \u547c\u51fa\u547d\u4ee4\u9762\u677f\uff0c\u4e0d\u8bb0\u547d\u4ee4\u4e5f\u80fd\u7528<\/li>\n<li><strong>\u9ed8\u8ba4\u914d\u7f6e\u6587\u4ef6<\/strong>\uff1a\u53ef\u4ee5\u8bbe\u5b9a\u6253\u5f00 Terminal \u5c31\u81ea\u52a8\u8fdb\u5165\u67d0\u4e2a Shell \u6216\u67d0\u4e2a\u76ee\u5f55<\/li>\n<\/ul>\n<p>\u5fae\u8f6f\u5b98\u65b9\u5f00\u6e90\uff0c\u5fae\u8f6f\u5546\u5e97\u4e00\u952e\u5b89\u88c5\uff0c\u81ea\u52a8\u66f4\u65b0\u3002<\/p>\n<h2>\u5b9e\u6d4b\u4f53\u9a8c<\/h2>\n<p>\u88c5\u5b8c\u7b2c\u4e00\u4ef6\u4e8b\u5c31\u662f\u628a WSL \u7684 Ubuntu \u548c Git Bash \u52a0\u8fdb\u914d\u7f6e\u6587\u4ef6\uff0c\u4ece\u6b64\u684c\u9762\u53f3\u4e0b\u89d2\u5e38\u9a7b\u4e00\u4e2a Terminal \u56fe\u6807\uff0c\u70b9\u5f00\u5c31\u662f\u6807\u7b7e\u9875\u3002\u65e5\u5e38\u5f00\u53d1\u6700\u723d\u7684\u662f\u5206\u5c4f\uff1a\u5de6\u8fb9 <code>npm run dev<\/code> \u8dd1\u7740\u670d\u52a1\uff0c\u53f3\u8fb9 <code>git status<\/code> \u968f\u65f6\u6572\uff0c<code>Alt+\u65b9\u5411\u952e<\/code> \u5728\u5206\u5c4f\u95f4\u8df3\u8f6c\uff0c\u6bd4\u4ee5\u524d\u5f00\u4e24\u4e2a\u7a97\u53e3\u5bf9\u9f50\u4f4d\u7f6e\u7701\u5fc3\u592a\u591a\u3002<\/p>\n<p>\u590d\u5236\u7c98\u8d34\u8fd9\u4e2a\u7ec6\u8282\u6700\u89c1\u529f\u529b\uff1a\u9009\u4e2d\u5373\u590d\u5236\uff08\u53ef\u5728\u8bbe\u7f6e\u91cc\u5f00\uff09\u3001\u53f3\u952e\u7c98\u8d34\uff0c\u518d\u4e5f\u4e0d\u7528\u300c\u6807\u8bb0\u2192\u62d6\u9009\u2192\u56de\u8f66\u300d\u4e09\u8fde\u3002\u5b57\u4f53\u6e32\u67d3\u8d70 GPU\uff0c\u914d\u5408 Cascadia Code \u7b49\u5bbd\u8fde\u5b57\u5b57\u4f53\uff0c\u7bad\u5934\u7b26\u53f7 <code>=&gt;<\/code> \u4f1a\u81ea\u52a8\u8fde\u6210\u4e00\u4e2a\uff0c\u770b\u7740\u5c31\u8212\u670d\u3002<\/p>\n<p>\u8bbe\u7f6e\u754c\u9762\u5bf9\u65b0\u624b\u53cb\u597d\uff0c\u56fe\u5f62\u5316\u6539\u5b57\u4f53\u3001\u6539\u914d\u8272\u3001\u52a0\u80cc\u666f\u56fe\uff0c\u5b58\u7684\u5c31\u662f\u4e00\u4e2a JSON \u6587\u4ef6\uff0c\u60f3\u8fc1\u79fb\u5230\u522b\u7684\u7535\u8111\u628a settings.json \u4e00\u62f7\u5c31\u884c\u3002<\/p>\n<h2>\u9002\u5408\u8c01<\/h2>\n<ul>\n<li>\u4efb\u4f55\u9700\u8981\u78b0\u547d\u4ee4\u884c\u7684\u4eba\uff0c\u54ea\u6015\u53ea\u662f\u5076\u5c14 ping \u4e00\u4e0b<\/li>\n<li>\u524d\u7aef\u3001\u540e\u7aef\u3001\u8fd0\u7ef4\u5f00\u53d1\u8005\uff0c\u591a Shell \u591a\u4f1a\u8bdd\u521a\u9700<\/li>\n<li>\u4ece Linux\/macOS \u5207\u8fc7\u6765\u7684\u4eba\uff0c\u7ec8\u4e8e\u4e0d\u7528\u5fcd\u53d7\u8001\u5f0f\u63a7\u5236\u53f0\u4e86<\/li>\n<\/ul>\n<h2>\u9700\u8981\u6ce8\u610f\u7684\u5730\u65b9<\/h2>\n<ul>\n<li>Windows 11 \u5df2\u5185\u7f6e\uff0cWindows 10 \u9700\u4ece\u5fae\u8f6f\u5546\u5e97\u81ea\u884c\u5b89\u88c5<\/li>\n<li>\u5b83\u662f\u300c\u7ec8\u7aef\u300d\u4e0d\u662f\u300cShell\u300d\u2014\u2014\u63d0\u4f9b\u7a97\u53e3\u548c\u754c\u9762\uff0c\u5177\u4f53\u547d\u4ee4\u8fd8\u662f\u7531 PowerShell\/CMD \u6267\u884c\uff0c\u522b\u641e\u6df7<\/li>\n<li>\u8001\u5f0f\u5168\u5c4f\u5b57\u7b26\u7a0b\u5e8f\uff08\u4e2a\u522b\u4e0a\u53e4\u5de5\u5177\uff09\u517c\u5bb9\u6027\u5076\u5c14\u6709\u5c0f\u6bdb\u75c5\uff0c\u9047\u5230\u5c31\u9000\u56de conhost<\/li>\n<li>\u914d\u7f6e\u6587\u4ef6\u6539\u540d\u6216\u5220\u9664\u540e\u5feb\u6377\u65b9\u5f0f\u53ef\u80fd\u5931\u6548\uff0c\u91cd\u547d\u540d\u524d\u60f3\u6e05\u695a<\/li>\n<\/ul>\n<h2>\u5c0f\u7ed3<\/h2>\n<p>Windows Terminal \u662f\u90a3\u79cd\u300c\u7528\u4e4b\u524d\u6ca1\u89c9\u5f97\u75db\u70b9\uff0c\u7528\u4e4b\u540e\u56de\u4e0d\u53bb\u300d\u7684\u5de5\u5177\uff1a\u591a\u6807\u7b7e\u3001\u5206\u5c4f\u3001\u6b63\u5e38\u590d\u5236\u7c98\u8d34\uff0c\u4e09\u4ef6\u4e8b\u5c31\u8db3\u4ee5\u8ba9\u5b83\u6210\u4e3a\u5fc5\u88c5\u8f6f\u4ef6\u3002\u5fae\u8f6f\u5b98\u65b9\u51fa\u54c1\u3001\u5f00\u6e90\u3001\u514d\u8d39\u3001\u81ea\u52a8\u66f4\u65b0\uff0c\u6ca1\u6709\u4efb\u4f55\u7406\u7531\u7ee7\u7eed\u7528\u90a3\u4e2a\u9ed1\u6846\u6846\u3002\u642d\u914d Flow Launcher \u505a\u542f\u52a8\u5668\u3001AutoHotkey \u505a\u70ed\u952e\uff0cWindows \u7684\u6548\u7387\u5e95\u5ea7\u5c31\u9f50\u6d3b\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Windows \u4e0a\u7528\u547d\u4ee4\u884c\uff0c\u5f00\u4e2a\u9ed1\u4e4e\u4e4e\u7684\u8001\u5f0f\u63a7\u5236\u53f0\u7a97\u53e3\uff1a\u60f3\u590d\u5236\u4e2a\u547d\u4ee4\u7ed3\u679c\u5f97\u5148\u70b9\u300c\u6807\u8bb0\u300d\u518d\u62d6\u9009\uff1b\u7a97\u53e3\u4e00\u5173\u4f1a\u8bdd\u5168\u6ca1\uff1b\u60f3\u540c\u65f6\u5f00 CMD \u548c PowerShell \u53ea\u80fd\u5f00\u4e24\u4e2a\u7a97\u53e3\u6765\u56de\u5207\uff1b\u5b57\u4f53\u53d1\u865a\u3001\u914d\u8272\u8fa3\u773c\u3002\u660e\u660e 2020 \u5e74\u4ee3\u4e86\uff0c\u7ec8\u7aef\u4f53\u9a8c\u8fd8\u505c\u7559<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=72"}],"version-history":[{"count":0,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/72\/revisions"}],"wp:attachment":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}