{"id":10245,"date":"2025-06-25T07:16:10","date_gmt":"2025-06-24T23:16:10","guid":{"rendered":"https:\/\/bohu.net\/blog\/?p=10245"},"modified":"2025-06-25T07:16:12","modified_gmt":"2025-06-24T23:16:12","slug":"linux%e5%ae%89%e8%a3%85%e5%be%ae%e8%bd%af%e5%91%bd%e4%bb%a4%e8%a1%8c%e6%96%87%e6%9c%ac%e7%bc%96%e8%be%91%e5%99%a8-microsoft-edit","status":"publish","type":"post","link":"https:\/\/www.bohu.net\/blog\/10245\/","title":{"rendered":"Linux\u5b89\u88c5\u5fae\u8f6f\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668-Microsoft Edit"},"content":{"rendered":"\n<p>\u5fae\u8f6f\u5e72\u4e86\u4e00\u4ef6\u597d\u4e8b\uff012025 \u5e74 5 \u6708 18 \u65e5\uff0cMicrosoft \u53d1\u5e03\u4e86\u7528&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Rust_(programming_language)\">Rust \u7f16\u7a0b\u8bed\u8a00<\/a>\u7f16\u5199\u7684\u7f16\u8f91\u5668\u7684\u5f00\u6e90\u91cd\u5efa\u7248\u672c\uff0c\u7b80\u79f0\u4e3a Edit\uff0c\u9002\u7528\u4e8e\u73b0\u4ee3\u7248\u672c\u7684 Windows\u3002\u7248\u672c\u53f7\u672a\u7ee7\u7eed\uff0c\u91cd\u7f6e\u4ece1.0.0\u5f00\u59cb\uff0c\u76ee\u524d\u5df2\u7ecf\u662f<a href=\"https:\/\/github.com\/microsoft\/edit\/releases\/tag\/v1.2.0\">1.2.0<\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit1-1024x512.png\" alt=\"\" class=\"wp-image-10248\" srcset=\"https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit1-1024x512.png 1024w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit1-300x150.png 300w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit1-768x384.png 768w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit1-833x417.png 833w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit1-192x96.png 192w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit1.png 1226w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>Microsoft Edit \u662f MS-DOS \u7684\u6000\u65e7\u98ce\u683c\uff0c \u4ee5widnows Dos \u7684\u64cd\u4f5c\u4e60\u60ef\uff0c\u89e3\u51b3\u4e86Linux shell \u4e2d\u7f16\u8f91\u6587\u672c\u75db\u82e6\u7684\u5927\u95ee\u9898\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"514\" src=\"https:\/\/bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit2-1024x514.png\" alt=\"\" class=\"wp-image-10249\" srcset=\"https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit2-1024x514.png 1024w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit2-300x150.png 300w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit2-768x385.png 768w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit2-833x418.png 833w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit2-192x96.png 192w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit2.png 1228w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>\u76ee\u524dMicrosoft Edit\u5df2\u652f\u6301\u5305\u62ecFreeBSD\u5728\u5185\u7684\u591a\u79cdUnix-like\u7cfb\u7edf\uff0c\u4f46Debian\u5b98\u65b9\u4ed3\u5e93\u5c1a\u672a\u6536\u5f55\u8be5\u8f6f\u4ef6\u5305\u3002\u53ea\u80fd\u901a\u8fc7\u4e0b\u8f7d\u5b89\u88c5\u6587\u4ef6\u7684\u65b9\u5f0f\u5b89\u88c5\uff0c\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u82e5\u9047\u5230\u7f51\u7edc\u95ee\u9898\uff0c\u53ef\u80fd\u9700\u8981\u914d\u7f6e\u5408\u9002\u7684\u8f6f\u4ef6\u6e90\u955c\u50cf\u3002<\/p>\n\n\n\n<p><strong>Linux <\/strong>\u4e0b\u5b89\u88c5\u811a\u672c\uff08Ubuntu\u3001Debian \u548c Linux Mint\uff09\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5b89\u88c5 Zstandard \napt install zstd\n\n# \u4e0b\u8f7d\u8f6f\u4ef6\u5305\nwget https:\/\/github.com\/microsoft\/edit\/releases\/download\/v1.2.0\/edit-1.2.0-x86_64-linux-gnu.tar.zst\n\n# \u89e3\u538b\u7f29\u5230\u7528\u6237\u7684\u5f53\u524d\u76ee\u5f55\ntar xvf edit-1.2.0-x86_64-linux-gnu.tar.zst\n\n# \u5c06\u5176\u79fb\u52a8\u5230 bin \u76ee\u5f55\u4e2d\u4ee5\u4fbf\u968f\u65f6\u8bbf\u95ee\uff0c\u8bf7\u76f8\u5e94\u8c03\u6574\u8def\u5f84\nmv edit \/usr\/local\/bin\/edit\n\n# \u67e5\u770b\u7248\u672c\u53f7\nedit -v\n\n# \u542f\u52a8\u7f16\u8f91\u5668\nedit<\/code><\/pre>\n\n\n\n<p>\u7ec8\u7aef\u8f93\u5165<code>edit<\/code>\u547d\u4ee4\u5373\u53ef\u542f\u52a8\u7f16\u8f91\u5668<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-code\"><code>edit --version \u67e5\u770b\u7248\u672c<\/code><\/pre>\n<\/blockquote>\n\n\n\n<p><strong>Windows <\/strong>\u4e0b \u4f7f\u7528 winget \u5b89\u88c5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>winget install Microsoft.Edit<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"367\" height=\"269\" src=\"https:\/\/bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit0.png\" alt=\"\" class=\"wp-image-10247\" srcset=\"https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit0.png 367w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit0-300x220.png 300w, https:\/\/www.bohu.net\/blog\/wp-content\/uploads\/2025\/06\/\u6355\u83b7edit0-192x141.png 192w\" sizes=\"auto, (max-width: 367px) 85vw, 367px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5e38\u7528\u5feb\u6377\u952e<br><br>New File\uff1aCtrl+N<br>Open File\uff1aCtrl+0<br>Save\uff1aCtrl+s<br>Close Editor\uff1aCtrl+W<br>Exit\uff1aCtrl+Q<br>Undo\uff1aCtrl+Z<br>Redo\uff1aCtrl+Y<br>Cut\uff1aCtrl+x<br>Copy\uff1aCtrl+c<br>Paste\uff1aCtrl+V<br>Find\uff1aCtrl+F<br>Replace\uff1aCtrl+R<\/p>\n\n\n\n<p><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u5fae\u8f6f\u5e72\u4e86\u4e00\u4ef6\u597d\u4e8b\uff012025 \u5e74 5 \u6708 18 \u65e5\uff0cMicrosoft \u53d1\u5e03\u4e86\u7528&nbsp;Rust \u7f16\u7a0b\u8bed\u8a00\u7f16 &hellip; <a href=\"https:\/\/www.bohu.net\/blog\/10245\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cLinux\u5b89\u88c5\u5fae\u8f6f\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668-Microsoft Edit\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":10246,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[746,33,6,12,27],"tags":[829,830,831,832],"class_list":["post-10245","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bash","category-dos","category-linux","category-windows","category-27","tag-microsoft-edit","tag-ms-dos-editor","tag-831","tag-832"],"_links":{"self":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts\/10245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/comments?post=10245"}],"version-history":[{"count":1,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts\/10245\/revisions"}],"predecessor-version":[{"id":10250,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts\/10245\/revisions\/10250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/media\/10246"}],"wp:attachment":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/media?parent=10245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/categories?post=10245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/tags?post=10245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}