{"id":500,"date":"2021-11-01T02:06:14","date_gmt":"2021-10-31T18:06:14","guid":{"rendered":"https:\/\/www.yifei-adam.com\/?p=500"},"modified":"2022-04-01T13:19:09","modified_gmt":"2022-04-01T05:19:09","slug":"%e8%8b%b9%e6%9e%9c%e7%b3%bb%e7%bb%9f-macos-%e4%b8%8b%e5%ae%89%e8%a3%85-python-%e5%b9%b6%e9%85%8d%e7%bd%ae%e5%ad%a6%e4%b9%a0%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/www.yifei-adam.com\/?p=500","title":{"rendered":"\u82f9\u679c\u7cfb\u7edf (MacOS) \u4e0b\u5b89\u88c5 Python \u5e76\u914d\u7f6e\u5b66\u4e60\u73af\u5883"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_17 counter-hierarchy ez-toc-grey\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/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:\/\/www.yifei-adam.com\/?p=500\/#0_%E5%89%8D%E8%A8%80\" title=\"0. \u524d\u8a00\">0. \u524d\u8a00<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#1_%E8%83%8C%E6%99%AF\" title=\"1. \u80cc\u666f\">1. \u80cc\u666f<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#2_%E5%AE%89%E8%A3%85_Python_%E5%B9%B6%E8%BF%9B%E8%A1%8C%E9%AA%8C%E8%AF%81\" title=\"2. \u5b89\u88c5 Python \u5e76\u8fdb\u884c\u9a8c\u8bc1\">2. \u5b89\u88c5 Python \u5e76\u8fdb\u884c\u9a8c\u8bc1<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#Python_%E7%9A%84%E5%AE%89%E8%A3%85\" title=\"Python \u7684\u5b89\u88c5\">Python \u7684\u5b89\u88c5<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#%E9%AA%8C%E8%AF%81_Python_%E5%AE%89%E8%A3%85%E6%98%AF%E5%90%A6%E5%AE%8C%E6%88%90\" title=\"\u9a8c\u8bc1 Python \u5b89\u88c5\u662f\u5426\u5b8c\u6210\">\u9a8c\u8bc1 Python \u5b89\u88c5\u662f\u5426\u5b8c\u6210<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#3_%E5%AE%89%E8%A3%85%E7%BC%96%E8%BE%91%E5%99%A8_VSCode_%E5%B9%B6%E8%BF%9B%E8%A1%8C%E9%85%8D%E7%BD%AE\" title=\"3. \u5b89\u88c5\u7f16\u8f91\u5668 VSCode \u5e76\u8fdb\u884c\u914d\u7f6e\">3. \u5b89\u88c5\u7f16\u8f91\u5668 VSCode \u5e76\u8fdb\u884c\u914d\u7f6e<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#4_%E4%B8%8B%E8%BD%BD%E5%B9%B6%E9%85%8D%E7%BD%AE_sublime_text\" title=\"4. \u4e0b\u8f7d\u5e76\u914d\u7f6e sublime text\">4. \u4e0b\u8f7d\u5e76\u914d\u7f6e sublime text<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#5_%E9%85%8D%E7%BD%AE%E8%88%92%E9%80%82%E7%BE%8E%E8%A7%82%E7%9A%84%E7%BC%96%E7%A8%8B%E7%8E%AF%E5%A2%83\" title=\"5. \u914d\u7f6e\u8212\u9002\u7f8e\u89c2\u7684\u7f16\u7a0b\u73af\u5883\">5. \u914d\u7f6e\u8212\u9002\u7f8e\u89c2\u7684\u7f16\u7a0b\u73af\u5883<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#%E5%AE%89%E8%A3%85_iTerm2\" title=\"\u5b89\u88c5 iTerm2\">\u5b89\u88c5 iTerm2<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#%E5%AE%89%E8%A3%85_HomeBrew\" title=\"\u5b89\u88c5 HomeBrew\">\u5b89\u88c5 HomeBrew<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#%E5%AE%89%E8%A3%85_zsh_oh-my-zsh\" title=\"\u5b89\u88c5 zsh, oh-my-zsh\">\u5b89\u88c5 zsh, oh-my-zsh<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#%E4%B8%8B%E8%BD%BD%E5%B9%B6%E9%85%8D%E7%BD%AE_VIM\" title=\"\u4e0b\u8f7d\u5e76\u914d\u7f6e VIM\">\u4e0b\u8f7d\u5e76\u914d\u7f6e VIM<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#%E9%85%8D%E7%BD%AE_oh-my-zsh\" title=\"\u914d\u7f6e oh-my-zsh\">\u914d\u7f6e oh-my-zsh<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#%E5%AE%89%E8%A3%85_go2shell\" title=\"\u5b89\u88c5 go2shell\">\u5b89\u88c5 go2shell<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.yifei-adam.com\/?p=500\/#6_%E5%90%8E%E8%AE%B0\" title=\"6. \u540e\u8bb0\">6. \u540e\u8bb0<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"0_%E5%89%8D%E8%A8%80\"><\/span>0. \u524d\u8a00<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5bf9\u4e8e\u5927\u90e8\u5206\u60f3\u8981\u5b66\u4e60 Python \u7684\u65b0\u624b\u800c\u8a00\uff0c\u914d\u7f6e\u73af\u5883\u662f\u5176\u9047\u5230\u7684\u7b2c\u4e00\u5ea7\u5927\u5c71\u3002\u5c3d\u7ba1\u5b89\u88c5\u8fc7\u7a0b\u5e76\u4e0d\u7e41\u7410\uff0c\u4e14\u7b80\u6613\u6559\u7a0b\u4fef\u9996\u7686\u662f\uff0c\u4f46\u5bf9\u4e8e\u4ece\u672a\u63a5\u89e6\u8fc7\u7f16\u7a0b\uff0c\u4ee5\u53ca\u4ece\u672a\u63a5\u89e6\u8fc7\u547d\u4ee4\u884c\u8bed\u8a00\u7684\u4eba\u6765\u8bf4\uff0c\u5b89\u88c5\u53ca\u914d\u7f6e\u8fc7\u7a0b\u4e2d\u786e\u5b9e\u4f1a\u78b0\u5230\u5f88\u591a\u4e0d\u5bb9\u6613\u641e\u660e\u767d\u7684\u6982\u5ff5\u3002\u5982\u679c\u80fd\u5f88\u597d\u5730\u7406\u89e3\u4e86\u8fd9\u4e9b\u6982\u5ff5\uff0c\u5bf9\u540e\u671f\u7684\u5b66\u4e60\u4e5f\u4f1a\u8d77\u5230\u4e00\u5b9a\u7684\u5e2e\u52a9\u3002<br \/>\n\u00a0<\/p>\n<p>\u672c\u6587\u4f1a\u5bf9\u5982\u4f55\u5728\u82f9\u679c\u7cfb\u7edf (macOS) \u4e0a\u914d\u7f6e Python \u73af\u5883\uff0c\u5b89\u88c5\u5176\u4ed6\u53ef\u9009\u8f6f\u4ef6\uff0c\u89e3\u91ca\u57fa\u7840\u6982\u5ff5\u505a\u4e00\u4e2a\u8f83\u4e3a\u5b8c\u5907\u7684\u4ecb\u7ecd\uff0c\u5e0c\u671b\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\u3002<br \/>\n\u00a0<\/p>\n<p>\u6ce8\u610f\uff0c\u672c\u6587\u57fa\u4e8e\u7684\u82f9\u679c\u7cfb\u7edf\u662f macOS Monterey Version 12.0.1\uff0c\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f\u5176\u4ed6\u7cfb\u7edf\uff0c\u6b65\u9aa4\u4e0a\u53ef\u80fd\u4f1a\u6709\u533a\u522b\u3002<br \/>\n\u00a0<\/p>\n<p>\u5982\u679c\u4f60\u5e0c\u671b\u9605\u8bfb\u6709\u5173\u5728 Windows\u7cfb\u7edf\u4e2d\u914d\u7f6e Python \u73af\u5883\u7684\u6587\u7ae0\uff0c\u8bf7\u53c2\u9605 <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.yifei-adam.com\/?p=461\">\u6b64\u7bc7\u6587\u7ae0<\/a><br \/>\n\u00a0<\/p>\n<h2><span class=\"ez-toc-section\" id=\"1_%E8%83%8C%E6%99%AF\"><\/span>1. \u80cc\u666f<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u672c\u8282\u4f1a\u4ecb\u7ecd\u4e00\u4e9b\u76f8\u5173\u80cc\u666f\u6982\u5ff5\uff0c<strong>\u5982\u679c\u53ea\u60f3\u5173\u6ce8\u73af\u5883\u914d\u7f6e\u76f8\u5173\u5185\u5bb9\uff0c\u53ef\u76f4\u63a5\u8df3\u8fc7\u6b64\u6bb5<\/strong>\u3002\u8df3\u8fc7\u6b64\u6bb5\u4e0d\u4f1a\u5bf9\u5b89\u88c5\u8fc7\u7a0b\u4ea7\u751f\u5f71\u54cd\u3002<br \/>\n\u00a0<\/p>\n<p>\u4ec0\u4e48\u662f Python\uff1f\u6240\u8c13\u201c<font color=red><strong>\u5b89\u88c5 Python<\/strong><\/font>\u201d \u5b89\u88c5\u7684\u5230\u5e95\u662f\u4ec0\u4e48\uff1f<br \/>\n\u00a0<\/p>\n<p>Python \u662f\u4e00\u79cd\u7f16\u7a0b\u8bed\u8a00\u3002\u7f16\u7a0b\u8bed\u8a00\u662f\u4e00\u79cd\u4eba\u4e3a\u5b9a\u4e49\u7684\u8bed\u8a00\uff0c\u53ef\u4ee5\u5411\u7535\u8111\u53d1\u51fa\u547d\u4ee4\uff0c\u8ba9\u5176\u80fd\u591f\u6267\u884c\u9884\u671f\u7684\u64cd\u4f5c\u3002<br \/>\n\u00a0<\/p>\n<p>\u4e00\u6bb5\u7f16\u7a0b\u8bed\u8a00(\u4ee3\u7801)\uff0c\u5176\u672c\u8d28\u4e0a\u5c31\u662f\u4e00\u4e32\u6587\u672c\u6587\u5b57\u3002\u5982\u4e0b\u793a\u4f8b\u7684\u4ee3\u7801\uff0c\u5b83\u548c\u6211\u4eec\u5728 txt \u6587\u6863\u4e2d\u6253\u51fa\u7684\u6587\u5b57\u6ca1\u6709\u533a\u522b\u3002<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-python line-numbers\">print(\"Hello World\")\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u90a3\u4e48\u6211\u4eec\u662f\u5982\u4f55\u8ba9\u8ba1\u7b97\u673a\u77e5\u9053\u4e00\u6bb5\u4ee3\u7801\u5e94\u8be5\u6267\u884c\u4ec0\u4e48\u6837\u7684\u64cd\u4f5c\u5462\uff1f\u8fd9\u91cc\u6211\u4eec\u7a0d\u5fae\u6df1\u5165\u5c55\u5f00\u4e00\u70b9\uff0c\u6ce8\u610f\u4e0b\u9762\u4f1a\u51fa\u73b0\u5f88\u591a\u4e13\u4e1a\u540d\u8bcd\uff0c\u5176\u540d\u8bcd\u672c\u8eab\u7684\u542b\u4e49\u53ef\u4ee5\u4e0d\u53bb\u6df1\u7a76\uff0c\u4f46\u5176\u4e2d\u7684\u903b\u8f91\u5173\u7cfb\u5e0c\u671b\u53ef\u4ee5\u7406\u89e3\u6e05\u695a\u3002<br \/>\n\u00a0<\/p>\n<p>\u73b0\u5728\u7684\u7f16\u7a0b\u8bed\u8a00\u5927\u81f4\u53ef\u4ee5\u5206\u4e3a\u4e24\u7c7b\uff1a<br \/>\n\u00a0<\/p>\n<ul>\n<li><font color=red><strong>\u7f16\u8bd1\u578b<\/strong><\/font> \u8bed\u8a00\uff0c\u5982\uff1aC, C++<br \/>\n\u00a0<\/p>\n<\/li>\n<li>\n<p><font color=red><strong>\u89e3\u91ca\u578b<\/strong><\/font> \u8bed\u8a00\uff0c\u5982\uff1aPython, JavaScript<br \/>\n\u00a0<\/p>\n<\/li>\n<\/ul>\n<p>\u5bf9\u4e8e <font color=red><strong>\u7f16\u8bd1\u578b<\/strong><\/font> \u8bed\u8a00\uff0c\u5f53\u4e00\u6bb5\u4ee3\u7801\u88ab\u64b0\u5199\u5b8c\u6210\u540e\uff0c\u9996\u5148\u9700\u8981\u7528\u7f16\u8bd1\u5668 (compiler) \u5c06\u5176\u7f16\u8bd1 (compile)\uff0c\u751f\u6210\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff1b\u5176\u540e\u8fd0\u884c\u8fd9\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5c31\u53ef\u4ee5\u6267\u884c\u76f8\u5173\u64cd\u4f5c\u4e86\u3002\u53ef\u6267\u884c\u6587\u4ef6\u5c31\u662f\u4f60\u4eec\u5728 windows \u7535\u8111\u4e2d\u7ecf\u5e38\u89c1\u5230\u7684\u540e\u7f00\u540d\u4e3a <strong>.exe<\/strong> \u7684\u6587\u4ef6\u3002<br \/>\n\u00a0<\/p>\n<p>\u5bf9\u4e8e <font color=red><strong>\u89e3\u91ca\u578b<\/strong><\/font> \u8bed\u8a00\uff0c\u5176\u8fd0\u884c\u7701\u53bb\u4e86\u7f16\u8bd1\u7684\u8fc7\u7a0b\uff0c\u53d6\u800c\u4ee3\u4e4b\u7684\u662f\u4e00\u4e2a\u7528\u89e3\u91ca\u5668 (interpreter) \u5b8c\u6210\u7684\u6b65\u9aa4\u3002\u5f53\u4ee3\u7801\u88ab\u64b0\u5199\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u89e3\u91ca\u5668\u6765\u8fd0\u884c\u8fd9\u4e2a\u4ee3\u7801\uff0c\u4ece\u800c\u76f4\u63a5\u6267\u884c\u76f8\u5173\u64cd\u4f5c\u3002<br \/>\n\u00a0<\/p>\n<p>\u4e8c\u8005\u7684\u5bf9\u6bd4\u53ef\u53c2\u8003\u4e0b\u56fe\uff1a<br \/>\n\u00a0<\/p>\n<p><img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/09\/windows_python_01-1.png\" alt=\"compiler_interpreter\" title=\"compiler_interpreter\" \/><br \/>\n\u00a0<\/p>\n<p>\u56e0\u6b64\uff0c\u5b89\u88c5 Python \u5b9e\u9645\u4e0a\u5c31\u662f\u5b89\u88c5 Python \u89e3\u91ca\u5668\u3002\u800c\u6267\u884c Python \u4ee3\u7801\u7684\u8fc7\u7a0b\uff0c\u5c31\u662f\u4f7f\u7528 Python \u89e3\u91ca\u5668\u6267\u884c\u5177\u4f53\u64cd\u4f5c\u7684\u8fc7\u7a0b\u3002<br \/>\n\u00a0<\/p>\n<h2><span class=\"ez-toc-section\" id=\"2_%E5%AE%89%E8%A3%85_Python_%E5%B9%B6%E8%BF%9B%E8%A1%8C%E9%AA%8C%E8%AF%81\"><\/span>2. \u5b89\u88c5 Python \u5e76\u8fdb\u884c\u9a8c\u8bc1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u672c\u6bb5\u4e3b\u8981\u4ecb\u7ecd\u5982\u4f55\u5b89\u88c5 Python \u672c\u4f53\uff0c\u5e76\u901a\u8fc7\u4e00\u6bb5\u6700\u5c0f\u4ee3\u7801\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Python_%E7%9A%84%E5%AE%89%E8%A3%85\"><\/span>Python \u7684\u5b89\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u5b89\u88c5\u6700\u57fa\u672c\u7684 Python \u89e3\u91ca\u5668\uff0c\u4f46\u5bf9\u4e8e\u65b0\u624b\u5b66\u4e60\u8005\u6765\u8bf4\uff0c\u6211\u66f4\u63a8\u8350\u5b89\u88c5 <font color=red><strong>Anaconda<\/strong><\/font>\u3002<br \/>\n\u00a0<\/p>\n<p>Anaconda \u662f\u4e00\u4e2a\u514d\u8d39\u7684 Python \u53d1\u884c\u7248\u672c\uff0c\u5176\u4e2d\u4e0d\u4ec5\u5305\u542b\u4e86 Python \u89e3\u91ca\u5668\u672c\u4f53\uff0c\u8fd8\u5305\u542b\u4e86\u4e00\u4e9b\u7528\u4e8e\u6570\u636e\u79d1\u5b66\u3001\u673a\u5668\u5b66\u4e60\u3001\u5927\u6570\u636e\u5904\u7406\u7b49\u65b9\u9762\u7684\u5e38\u7528\u6269\u5c55\u5305\uff0c\u4ee5\u53ca\u4e00\u4e2a\u5305\u7ba1\u7406\u5de5\u5177 conda\u3002\u6269\u5c55\u5305\u4e0e\u5305\u7ba1\u7406\u5de5\u5177\u8fd9\u4e24\u4e2a\u6982\u5ff5\u5728\u6b64\u6309\u4e0b\u4e0d\u8868\uff0c\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4 Anaconda \u662f\u4e00\u4e2a\u8f83\u4e3a\u4fbf\u643a\u7684\u5de5\u5177\u3002<br \/>\n\u00a0<\/p>\n<p>\u9996\u5148\u901a\u8fc7 [<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.anaconda.com\/products\/individual-d#Downloads\">\u4e0b\u8f7d\u94fe\u63a5<\/a>] \u4e0b\u8f7d Anaconda \u7684\u5b89\u88c5\u5305\uff0c\u6ce8\u610f\u9009\u62e9\u76f8\u5e94\u7cfb\u7edf\u7684\u7248\u672c\u3002\u5bf9\u4e8e macOS \u6765\u8bf4\uff0c\u4f60\u9700\u8981\u4e0b\u8f7d\u7684\u5e94\u8be5\u662f <font color=blue><strong>64-Bit Graphical Installer (440 MB)<\/strong><\/font>\u3002<br \/>\n\u00a0<\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u76f4\u63a5\u53cc\u51fb\u8fdb\u5165\u5b89\u88c5\u6b65\u9aa4\u3002<br \/>\n\u00a0<\/p>\n<div style=\"float:left;border:solid 1px 000;margin:2px;\"><img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_7bf7811412b3a63625c6978526f3cef9.jpg\"  width=\"230\"><\/div>\n<div style=\"float:left;border:solid 1px 000;margin:2px;\"><img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_6b5ceddd0b5cfe32acc0acbec44c95a2.jpg\" width=\"230\"><\/div>\n<div style=\"float:left;border:solid 1px 000;margin:2px;\"><img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_81e85d0cbb51a7ffbad40f0c2f1302a0.jpg\" width=\"230\"><\/div>\n<p>\u00a0<\/p>\n<div style=\"float:none;clear:both;\">\n<\/div>\n<p>\u00a0<\/p>\n<p>\u53cc\u51fb\u6253\u5f00\u540e\u53ef\u80fd\u4f1a\u51fa\u73b0<font color=blue>\u4e0a\u56fe\u5de6\u4e00<\/font>\u7684\u9875\u9762\uff0c\u70b9\u51fb\u5141\u8bb8\u5373\u53ef\u3002\u4e4b\u540e\u7684\u6bcf\u4e2a\u754c\u9762\uff0c\u90fd\u53ea\u9700\u70b9\u51fb<font color=blue>\u7ee7\u7eed<\/font>\u6216\u8005<font color=blue>\u786e\u8ba4<\/font>\u3002\u5728\u5982<font color=blue>\u4e0a\u56fe\u4e2d\u95f4<\/font>\u9875\u9762\u7684\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u7b49\u5f85\u82e5\u5e72\u5206\u949f\u5b8c\u6210\u5b89\u88c5\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u51fa\u73b0<font color=blue>\u4e0a\u56fe\u53f3\u4e00<\/font>\u7684\u9875\u9762\uff0c\u6b64\u65f6\u70b9\u51fb\u5141\u8bb8\u3002\u82e5\u5728\u5b89\u88c5\u5b8c\u6210\u540e\u5f39\u51fa\u8be2\u95ee\u6846\u8be2\u95ee\u662f\u5426\u5c06\u5b89\u88c5\u5305\u653e\u5165\u56de\u6536\u7ad9\uff0c\u9009\u62e9\u653e\u5165\u5373\u53ef\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u9875\u9762\u5173\u95ed\u540e\u5219\u5b89\u88c5\u8fc7\u7a0b\u7ed3\u675f\u3002<br \/>\n\u00a0<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E9%AA%8C%E8%AF%81_Python_%E5%AE%89%E8%A3%85%E6%98%AF%E5%90%A6%E5%AE%8C%E6%88%90\"><\/span>\u9a8c\u8bc1 Python \u5b89\u88c5\u662f\u5426\u5b8c\u6210<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5f53\u4e0a\u4e00\u6bb5\u843d\u4e2d\u7684 Anaconda \u5b89\u88c5\u5b8c\u6210\u540e\uff0cPython \u4e5f\u4e00\u5e76\u5b89\u88c5\u5230\u4e86\u7535\u8111\u4e0a\u3002\u4f46\u4e3a\u4e86\u8fdb\u4e00\u6b65\u786e\u8ba4\u5b89\u88c5\u6210\u529f\uff0c\u6211\u4eec\u6765\u8fdb\u884c\u4e00\u4e2a\u9a8c\u8bc1<br \/>\n\u00a0<\/p>\n<p>\u8ba9\u6211\u4eec\u6253\u5f00 Terminal\u3002\u6253\u5f00 Terminal \u6709\u4e24\u79cd\u65b9\u5f0f\uff1a1. \u5728\u542f\u52a8\u53f0\u7684 \u201c\u5176\u4ed6\u201d \u6587\u4ef6\u5939\u4e2d\u6253\u5f00\uff1b2. \u6309\u4f4f\u952e\u76d8 <font color=blue><strong>command+\u7a7a\u683c<\/strong><\/font> \uff0c\u5728\u5f39\u51fa\u7684\u6846\u4e2d\u8f93\u5165 Terminal\uff0c\u56de\u8f66\u6253\u5f00\u3002\u4f60\u5c06\u4f1a\u770b\u5230\u5982\u4e0b\u56fe\u6240\u793a\u754c\u9762\uff1a<br \/>\n\u00a0<br \/>\n<center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_f8efd753d8a4fb7a8acd3b35c7aacfed.jpg\" width=\"400\"\/><br \/>\n<\/center><br \/>\n\u00a0<\/p>\n<p>\u5728\u6253\u5f00\u7684 Terminal \u7a97\u53e3\u4e2d\u8f93\u5165 <code>python<\/code> (\u5982\u4e0b\u56fe\u5de6)\uff0c\u5e76\u6309\u4e0b\u56de\u8f66\u3002\u5982\u679c\u8fdb\u5165\u4e86 Python \u53ef\u4ea4\u4e92\u7f16\u7a0b\u9875\u9762 (\u5982\u4e0b\u56fe\u53f3)\uff0c\u4e14\u51fa\u73b0\u4e86\u7ea2\u6846\u4e2d\u663e\u793a\u7684\u5185\u5bb9\uff0c\u5219\u8868\u793a <font color=red><strong>Python \u5b89\u88c5\u6210\u529f<\/strong><\/font>\u3002<br \/>\n\u00a0<\/p>\n<div style=\"float:left;border:solid 1px 000;margin:2px;\"><img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_0ba5354e1d8eeb2a7574645e3d5fa653.jpg\" width=\"335\"><\/div>\n<div style=\"float:left;border:solid 1px 000;margin:2px;\"><img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_ff4795382ce0a1c36aa056f6a3a792f1.jpg\" width=\"335\"><\/div>\n<div style=\"float:none;clear:both;\">\n<\/div>\n<p>\u00a0<\/p>\n<p>\u6700\u540e\uff0c\u5728 Python \u53ef\u4ea4\u4e92\u7f16\u7a0b\u9875\u9762\u4e2d\u8f93\u5165 <code>1+1<\/code> \u5e76\u6309\u4e0b\u56de\u8f66\uff0c\u4f1a\u53d1\u73b0\u8f93\u51fa\u4e86 <code>2<\/code> \ud83d\ude09<\/p>\n<h2><span class=\"ez-toc-section\" id=\"3_%E5%AE%89%E8%A3%85%E7%BC%96%E8%BE%91%E5%99%A8_VSCode_%E5%B9%B6%E8%BF%9B%E8%A1%8C%E9%85%8D%E7%BD%AE\"><\/span>3. \u5b89\u88c5\u7f16\u8f91\u5668 VSCode \u5e76\u8fdb\u884c\u914d\u7f6e<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u7b2c\u4e00\u8282\u80cc\u666f\u4e2d\u6709\u8fc7\u4ecb\u7ecd\uff0cPython \u4ee3\u7801\u672c\u8d28\u4e0a\u662f\u4e00\u4e32\u6587\u672c\u6587\u5b57\uff0c\u56e0\u6b64\u4f60\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u901a\u8fc7\u4efb\u4f55\u6587\u672c\u6587\u6863\u7f16\u8f91\u5668\u6765\u7f16\u5199 Python \u4ee3\u7801\u3002\u4f46\u5de5\u5177\u5584\u5176\u4e8b\uff0c\u5fc5\u5148\u5229\u5176\u5668\uff0c\u6709\u76f8\u5bf9\u66f4\u4fbf\u4e8e\u7f16\u5199\u4ee3\u7801\u7684\u5de5\u5177\uff0cVSCode \u4fbf\u662f\u66f4\u4e3a\u63a8\u8350\u7684\u4e00\u4e2a\u3002<br \/>\n\u00a0<\/p>\n<p>VSCode \u5168\u79f0\u662f Visual Studio Code\uff0c\u662f\u5fae\u8f6f\u63a8\u51fa\u7684\u514d\u8d39\u8f7b\u91cf\u7ea7\u4ee3\u7801\u7f16\u8f91\u5668\uff0c\u9002\u5408\u5165\u95e8\u4f7f\u7528\u3002\u70b9\u51fb [<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/code.visualstudio.com\/Download\">\u4e0b\u8f7d\u94fe\u63a5<\/a>] \u8fdb\u884c\u4e0b\u8f7d\uff0c\u56e0\u4e3a\u662f macOS \u7cfb\u7edf\uff0c\u5219\u70b9\u51fb MAC \u7248\u672c\u4e0b\u8f7d\u3002<br \/>\n\u00a0<\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e\u5f97\u5230\u4e00\u4e2a\u540e\u7f00\u540d\u4e3a .zip \u7684\u6587\u4ef6\uff0c\u53cc\u51fb\u89e3\u538b\u540e\u5f97\u5230\u8f6f\u4ef6\u672c\u4f53\uff0c\u5c06\u5176\u653e\u5165 Applications \u6587\u4ef6\u5939\u4e2d\u5373\u53ef\u3002<br \/>\n\u00a0<\/p>\n<p>\u5b8c\u6210\u5b89\u88c5\u540e\uff0c\u53cc\u51fb\u542f\u52a8 VSCode\uff0c\u73b0\u5728\u5f00\u59cb\u8fdb\u884c\u914d\u7f6e\u3002<br \/>\n\u00a0<\/p>\n<p><center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_0e08e9eceb4031e7a3e493edd0f72bef.jpg\" width=\"400\"\/><br \/>\n<\/center><br \/>\n\u00a0<\/p>\n<p>\u9996\u5148\u8ba9\u6211\u4eec\u5b89\u88c5\u4e00\u4e9b\u6709\u7528\u7684\u63d2\u4ef6\uff0c\u70b9\u51fb\u5982\u4e0a\u56fe\u6240\u793a\u5de6\u4fa7\u5de5\u5177\u680f\u6700\u540e\u4e00\u4e2a\u6309\u94ae\u3002\u5728\u4e0a\u65b9\u641c\u7d22\u6846\u4e2d\u641c\u7d22 <font color=red><strong>Python<\/strong><\/font>\uff0c\u9009\u62e9\u7b2c\u4e00\u4e2a\u5e26\u661f\u6807\u7684\u641c\u7d22\u7ed3\u679c\uff0c\u5e76\u70b9\u51fb\u5b89\u88c5(\u5982\u4e0b\u56fe\u6240\u793a)\u3002\u8fd9\u6837\u5c31\u5b8c\u6210\u4e86\u4e00\u4e2a\u63d2\u4ef6\u7684\u5b89\u88c5\u3002<br \/>\n\u00a0<br \/>\n<center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_5e570d6b3acaf227a62a172c4c501f66.jpg\" width=\"400\"\/><br \/>\n<\/center><br \/>\n\u00a0<\/p>\n<p>\u8ba9\u6211\u4eec\u91cd\u590d\u4e0a\u9762\u7684\u6b65\u9aa4\uff0c\u641c\u7d22\u5e76\u5b89\u88c5\u4e0b\u8ff0\u63d2\u4ef6\uff1a<br \/>\n\u00a0<\/p>\n<ul>\n<li>One Dark Pro, \u4e00\u4e2a\u66f4\u597d\u770b\u7684\u4e3b\u9898\u754c\u9762\uff0c\u754c\u9762\u70ab\u9177\u7a0b\u5ea6\u548c\u4ee3\u7801\u529f\u529b\u6210\u6b63\u6bd4(\u7b11<br \/>\n\u00a0<\/li>\n<li>vscode-icons, \u4e00\u4e2a\u66f4\u597d\u770b\u7684\u56fe\u6807\u96c6\u5408\uff0c\u7406\u7531\u540c\u4e0a<br \/>\n\u00a0<\/li>\n<\/ul>\n<p>\u63a5\u4e0b\u6765\uff0c\u914d\u7f6e\u4e00\u4e0b VSCode \u7684\u73af\u5883\u3002\u5728 VSCode \u4e2d\u70b9\u51fb\u952e\u76d8 <font color=blue><strong>F1<\/strong><\/font>\uff0c\u5728\u5f39\u51fa\u7684\u6846\u4e2d\u8f93\u5165 <font color=blue><strong>Open Settings<\/strong><\/font>\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u6253\u5f00\u7ea2\u6846\u9009\u4e2d\u7684\u4e00\u9879\uff1a<br \/>\n\u00a0<br \/>\n<center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_02b506f3d7984edf2819457cd0218c55.jpg\" width=\"400\"\/><br \/>\n<\/center><br \/>\n\u00a0<\/p>\n<p>\u5728\u5f39\u51fa\u7684\u9875\u9762\u4e2d\u5220\u9664\u6240\u6709\u5df2\u7ecf\u5b58\u5728\u7684\u5185\u5bb9\uff0c\u5e76\u5c06\u4e0b\u8ff0\u6bb5\u843d\u4e2d\u7684\u6587\u5b57\u5168\u90e8\u590d\u5236\u5230\u9875\u9762\u4e2d\uff0c\u5e76\u6309\u4e0b <font color=blue><strong>ctrl+S<\/strong><\/font> \u8fdb\u884c\u4fdd\u5b58\u3002<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-json line-numbers\">{\n    \"editor.fontSize\": 20,\n    \"workbench.statusBar.visible\": true,\n    \"python.pythonPath\": \"ATTENTION\",\n    \"terminal.integrated.copyOnSelection\": true,\n    \"debug.console.fontSize\": 20,\n    \"terminal.integrated.fontSize\": 15,\n    \"python.defaultInterpreterPath\": \"ATTENTION\",\n    \"workbench.editorAssociations\": {\n        \"*.ipynb\": \"jupyter-notebook\"\n    },\n    \"security.workspace.trust.untrustedFiles\": \"open\",\n    \"workbench.colorTheme\": \"One Dark Pro\",\n    \"workbench.iconTheme\": \"vscode-icons\",\n}\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u6ce8\u610f\u5230\u4e0a\u8ff0\u6bb5\u843d\u4e2d\u6709\u4e24\u4e2a <font color=red><strong>ATTENTION<\/strong><\/font>\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u8981\u627e\u5230\u7528\u6765\u66ff\u6362\u586b\u5145\u8fd9\u4e2a\u5b57\u6bb5\u7684\u5185\u5bb9\u3002<br \/>\n\u00a0<\/p>\n<p>\u6309\u7167\u5148\u524d\u63d0\u5230\u8fc7\u7684\u65b9\u6cd5\u6253\u5f00 Terminal\uff0c\u5728\u5f39\u51fa\u7684\u754c\u9762\u4e2d\u8f93\u5165\u4e0b\u8ff0\u8bed\u53e5\uff0c\u5e76\u70b9\u51fb\u56de\u8f66<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-shell line-numbers\">which python\n<\/code><\/pre>\n<p>\u00a0<br \/>\n\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5728\u8f93\u51fa\u7684\u5185\u5bb9\u4e2d\uff0c\u9009\u53d6\u84dd\u8272\u9ad8\u4eae\u7684\u90e8\u5206\u5e76\u590d\u5236\u3002\u63a5\u7740<strong>\u7c98\u8d34\u5e76\u66ff\u6362<\/strong>\u4e0a\u6587\u4e2d\u6240\u6709\u7684 <font color=red><strong>ATTENTION<\/strong><\/font> \u90e8\u5206\uff0c\u6309\u4e0b <font color=blue><strong>ctrl+S<\/strong><\/font> \u8fdb\u884c\u4fdd\u5b58\u3002<br \/>\n\u00a0<\/p>\n<p><center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_6ff888e40463e7902d284b6cd267023a.jpg\" width=\"400\"\/><br \/>\n<\/center><br \/>\n\u00a0<\/p>\n<p>\u91cd\u542f VSCode\uff0c\u914d\u7f6e\u7ed3\u675f\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4_%E4%B8%8B%E8%BD%BD%E5%B9%B6%E9%85%8D%E7%BD%AE_sublime_text\"><\/span>4. \u4e0b\u8f7d\u5e76\u914d\u7f6e sublime text<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6b63\u5982\u4e0a\u6587\u4e2d\u591a\u6b21\u91cd\u590d\u6240\u8bf4\uff0cPython \u4ee3\u7801\u672c\u8d28\u4e0a\u662f\u4e00\u4e32\u6587\u672c\u6587\u5b57\uff0c\u56e0\u6b64\u4ee3\u7801\u6587\u4ef6\u53ef\u4ee5\u7528\u6587\u672c\u7f16\u8f91\u5668\u6765\u6253\u5f00\u3002<br \/>\n\u00a0<\/p>\n<p>\u7136\u800c macOS \u4e2d\u5e76\u6ca1\u6709\u79f0\u5fc3\u5982\u610f\u7684\u6587\u672c\u7f16\u8f91\u5668\uff0c\u56e0\u6b64\u6211\u4eec\u9700\u8981\u4e0b\u8f7d\u4e00\u4e2a\u529f\u80fd\u66f4\u5f3a\u5927\u7684\u6587\u672c\u7f16\u8f91\u5668\u4f5c\u4e3a\u66ff\u4ee3\u54c1\uff1aSublime Text<br \/>\n\u00a0<\/p>\n<p>\u70b9\u51fb [<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.sublimetext.com\/\">\u4e0b\u8f7d\u94fe\u63a5<\/a>] \u4e0b\u8f7d Sublime Text\uff0c\u6ce8\u610f\u9009\u62e9\u5bf9\u5e94\u7684\u7cfb\u7edf\u7248\u672c\u3002<br \/>\n\u00a0<\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e\u5f97\u5230\u4e00\u4e2a\u540e\u7f00\u540d\u4e3a .zip \u7684\u6587\u4ef6\uff0c\u53cc\u51fb\u89e3\u538b\u540e\u5f97\u5230\u8f6f\u4ef6\u672c\u4f53\uff0c\u5c06\u5176\u653e\u5165 Applications \u6587\u4ef6\u5939\u4e2d\u5373\u53ef\u3002<br \/>\n\u00a0<br \/>\n\u63a5\u7740\u6211\u4eec\u5f00\u59cb\u914d\u7f6e\uff0c\u53cc\u51fb\u6253\u5f00 Sublime Text\uff0c\u5e76\u70b9\u51fb\u5de5\u5177\u680f\u4e2d\u7684 <font color=blue><strong>Sublime Text<\/strong><\/font> -> <font color=blue><strong>Preferences<\/strong><\/font> -> <font color=blue><strong>Settings<\/strong><\/font>\u3002<br \/>\n\u00a0<\/p>\n<p>\u8bbe\u7f6e\u754c\u9762\u662f\u53cc\u680f\uff0c\u5de6\u4fa7\u662f\u6240\u6709\u57fa\u7840\u8bbe\u7f6e\uff0c\u53f3\u4fa7\u662f\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u3002\u9996\u5148\u5c06\u53f3\u4fa7\u6240\u6709\u5185\u5bb9\u6e05\u7a7a\uff0c\u7136\u540e\u5c06\u4e0b\u65b9\u6bb5\u843d\u4e2d\u7684\u5185\u5bb9\u590d\u5236\u5230\u53f3\u4fa7\u680f\u4e2d\uff0c\u70b9\u51fb <font color=blue><strong>ctrl+S<\/strong><\/font> \u4fdd\u5b58\uff0c\u4fbf\u5b8c\u6210\u4e86\u8bbe\u7f6e\uff0c\u53ef\u4ee5\u5173\u95ed\u8f6f\u4ef6\u3002<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-json line-numbers\">{\n    \"default_encoding\": \"UTF-8\",\n    \"default_line_ending\": \"unix\",\n    \"font_size\": 17,\n    \"ignored_packages\":\n    [\n        \"Package Control\",\n        \"Vintage\"\n    ],\n    \"translate_tabs_to_spaces\": true\n}\n<\/code><\/pre>\n<h2><span class=\"ez-toc-section\" id=\"5_%E9%85%8D%E7%BD%AE%E8%88%92%E9%80%82%E7%BE%8E%E8%A7%82%E7%9A%84%E7%BC%96%E7%A8%8B%E7%8E%AF%E5%A2%83\"><\/span>5. \u914d\u7f6e\u8212\u9002\u7f8e\u89c2\u7684\u7f16\u7a0b\u73af\u5883<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u5b8c\u6210\u4e86\u4e0a\u8ff0\u4e09\u7ae0\u7684\u4e0b\u8f7d\u914d\u7f6e\u540e\uff0c\u4f60\u5df2\u7ecf\u53ef\u4ee5\u5f00\u59cb Python \u7684\u5b66\u4e60\u4e4b\u65c5\u4e86\u3002\u4f46\u5982\u679c\u4f60\u60f3\u8981\u8ba9\u7f16\u7a0b\u4f53\u9a8c\u66f4\u52a0\u8212\u9002\uff0c\u754c\u9762\u66f4\u52a0\u7f8e\u89c2\uff0c\u4e14\u4f60\u613f\u610f\u6298\u817e\uff0c\u53ef\u4ee5\u53c2\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u4e00\u4e9b\u5176\u4ed6\u73af\u5883\u7684\u914d\u7f6e\u3002<br \/>\n\u00a0<\/p>\n<p>\u672c\u7ae0\u4f1a\u4f7f\u7528 iTerm2 + zsh + oh-my-zsh + go2shell \u6765\u6253\u9020\u4e00\u4e2a\u7f8e\u89c2\u8212\u9002\u7684\u7f16\u7a0b\u73af\u5883\u3002\u6ce8\u610f\uff1a\u8fc7\u7a0b\u4e2d\u4f1a\u7528\u5230 shell \u8bed\u53e5\u4ee5\u53ca vim \u64cd\u4f5c\uff0c\u8bf7\u786e\u4fdd\u62e5\u6709\u524d\u7f6e\u77e5\u8bc6\u518d\u5f00\u59cb\u672c\u7ae0\u7684\u914d\u7f6e\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%AE%89%E8%A3%85_iTerm2\"><\/span>\u5b89\u88c5 iTerm2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5148\u4e0b\u8f7d\u5b89\u88c5 iTerm2\uff0c\u8fd9\u662f\u4e00\u4e2a Terminal \u7684\u66ff\u4ee3\u54c1\uff0c\u62e5\u6709\u66f4\u597d\u770b\u7684\u754c\u9762\u4e0e\u66f4\u5f3a\u5927\u7684\u529f\u80fd\u3002\u70b9\u51fb [<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/iterm2.com\/index.html\">\u4e0b\u8f7d\u94fe\u63a5<\/a>]\uff0c\u70b9\u51fb Download \u8fdb\u884c\u4e0b\u8f7d\u3002<br \/>\n\u00a0<\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e\u5f97\u5230\u4e00\u4e2a\u540e\u7f00\u540d\u4e3a .zip \u7684\u6587\u4ef6\uff0c\u53cc\u51fb\u89e3\u538b\u540e\u5f97\u5230\u8f6f\u4ef6\u672c\u4f53\uff0c\u5c06\u5176\u653e\u5165 Applications \u6587\u4ef6\u5939\u4e2d\u5373\u53ef\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%AE%89%E8%A3%85_HomeBrew\"><\/span>\u5b89\u88c5 HomeBrew<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u73b0\u5728\u8ba9\u6211\u4eec\u5b89\u88c5\u4e00\u4e2a macOS \u4e0a\u7684\u5305\u7ba1\u7406\u5de5\u5177 <font color=red><strong>Homebrew<\/strong><\/font>\uff0c\u6253\u5f00\u521a\u5b89\u88c5\u597d\u7684 iTerm\uff0c\u5728\u5176\u4e2d\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\uff0c\u5e76\u6309\u4e0b\u56de\u8f66\uff1a<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-shell line-numbers\">\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u53ef\u80fd\u4f1a\u63d0\u793a\u8ba9\u4f60\u8f93\u5165 <font color=red><strong>sudo<\/strong><\/font> \u5bc6\u7801\uff0c\u53ea\u8981\u4f60\u8f93\u5165\u5f00\u673a\u5bc6\u7801\u5e76\u6309\u4e0b\u56de\u8f66\u5c31\u884c\u3002<font color=red><strong>\u6ce8\u610f\uff01\uff01<\/strong><\/font>\uff0c\u5728\u8f93\u5165\u5bc6\u7801\u65f6\u4f60\u53ef\u80fd\u4f1a\u53d1\u73b0\u65e0\u8bba\u6309\u4e0b\u4ec0\u4e48\u6309\u952e\u5c4f\u5e55\u4e0a\u90fd\u6ca1\u6709\u53cd\u5e94\uff0c<font color=red><strong>\u8fd9\u662f\u6b63\u5e38\u73b0\u8c61<\/strong><\/font>\uff0c\u5bc6\u7801\u8f93\u5165\u72b6\u6001\u5c4f\u5e55\u4e0d\u4f1a\u6839\u636e\u4f60\u6309\u952e\u7684\u6b21\u6570\u663e\u793a\u540c\u7b49\u6570\u91cf\u7684\u661f\u53f7\uff0c\u53ea\u9700\u8f93\u5165\u6b63\u786e\u7684\u5bc6\u7801\u5e76\u6309\u4e0b\u56de\u8f66\u5373\u53ef\u3002\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u63d0\u793a\u4f60\u6309\u4e0b\u56de\u8f66\u952e\uff0c\u6b64\u65f6\u540c\u6837\u6309\u4e0b\u56de\u8f66\u5373\u53ef\u3002<br \/>\n\u00a0<\/p>\n<p>\u5b89\u88c5 Homebrew \u7684\u8fc7\u7a0b\u53ef\u80fd\u4f1a\u6bd4\u8f83\u4e45\uff0c\u8bf7\u8010\u5fc3\u7b49\u5f85\u3002\u5f53\u51fa\u73b0\u4e0b\u56fe\u6240\u793a\u72b6\u6001\u65f6\uff0c\u5b89\u88c5\u7ed3\u675f\u3002<br \/>\n\u00a0<\/p>\n<p><center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_fb5eb4893dc5cb202708d0a53aebc660.jpg\" width=\"400\"\/><br \/>\n<\/center><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%AE%89%E8%A3%85_zsh_oh-my-zsh\"><\/span>\u5b89\u88c5 zsh, oh-my-zsh<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u9996\u5148\u5b89\u88c5\u547d\u4ee4\u884c <font color=red><strong>zsh<\/strong><\/font>\u3002\u8ba9\u6211\u4eec\u5148\u9a8c\u8bc1\u4e00\u4e0b\u7535\u8111\u4e2d\u662f\u5426\u9884\u88c5\u4e86 <font color=red><strong>zsh<\/strong><\/font>\uff0c\u5728 iTerm \u7a97\u53e3\u4e2d\u8f93\u5165\u4e0b\u8ff0\u547d\u4ee4\uff1a<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\">zsh --version\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u5982\u679c\u8f93\u51fa\u9875\u9762\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5219\u8bf4\u660e\u7535\u8111\u4e2d\u5df2\u7ecf\u9884\u88c5\u4e86 <font color=red><strong>zsh<\/strong><\/font>\uff0c\u76f4\u63a5\u8fdb\u884c\u4e0b\u4e00\u6b65\u3002<br \/>\n\u00a0<\/p>\n<p><center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_93443e6d440f01f09122ebd09ea209cb.jpg\" width=\"400\"\/><br \/>\n<\/center><br \/>\n\u00a0<br \/>\n\u5982\u679c\u6ca1\u6709\u663e\u793a\u5982\u4e0a\u56fe\u6240\u793a\u7684\u8f93\u51fa\uff0c\u5219\u4f7f\u7528\u4e0b\u8ff0\u547d\u4ee4\u5b89\u88c5 <font color=red><strong>zsh<\/strong><\/font>\u3002<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\">brew install zsh\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u65e0\u8bba\u662f\u9884\u88c5\u6291\u6216\u662f\u4f7f\u7528\u547d\u4ee4\u5b89\u88c5\uff0c\u5f53\u5b8c\u6210 <font color=red><strong>zsh<\/strong><\/font> \u7684\u5b89\u88c5\u540e\uff0c\u4e0b\u4e00\u6b65\u6211\u4eec\u6765\u5b89\u88c5 <font color=red><strong>oh-my-zsh<\/strong><\/font> \u6846\u67b6\u3002\u8fd9\u662f\u4e00\u4e2a\u7528\u6765\u7ba1\u7406 <font color=red><strong>zsh<\/strong><\/font> \u914d\u7f6e\u7684\u5f00\u6e90\u8f6f\u4ef6\u3002<br \/>\n\u00a0<\/p>\n<p>\u5728 iTerm \u4e2d\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u6765\u4e0b\u8f7d <font color=red><strong>oh-my-zsh<\/strong><\/font>\uff1a<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\">sh -c \"$(curl -fsSL https:\/\/raw.github.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)\"\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u4f1a\u8be2\u95ee\u4f60\u662f\u5426\u5c06\u9ed8\u8ba4 shell \u53d8\u5316\u6210 zsh\uff0c\u6b64\u65f6\u8f93\u5165  <font color=blue><strong>Y<\/strong><\/font> \u5e76\u6309\u4e0b\u56de\u8f66 (\u53ef\u80fd\u9700\u8981\u8f93\u5165\u5bc6\u7801\uff0c\u540c\u6837\u662f\u4f60\u7684\u5f00\u673a\u5bc6\u7801)<br \/>\n\u00a0<\/p>\n<p>\u5f53\u51fa\u73b0\u5982\u4e0b\u754c\u9762\u65f6\uff0c\u5219\u8bf4\u660e <font color=red><strong>oh-my-zsh<\/strong><\/font> \u5b89\u88c5\u6210\u529f\u3002<br \/>\n\u00a0<\/p>\n<p><center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_0faf56ced9dd539907989510d4e5d7d8.jpg\" width=\"400\"\/><br \/>\n<\/center><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E4%B8%8B%E8%BD%BD%E5%B9%B6%E9%85%8D%E7%BD%AE_VIM\"><\/span>\u4e0b\u8f7d\u5e76\u914d\u7f6e VIM<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VIM \u662f\u4e00\u4e2a\u547d\u4ee4\u884c\u6587\u672c\u7f16\u8f91\u5668\uff0c\u63a5\u4e0b\u6765\u7684\u914d\u7f6e\u90fd\u4f1a\u7528\u5230\u6b64\u5de5\u5177\u3002<br \/>\n\u00a0<\/p>\n<p>\u9996\u5148\uff0c\u9a8c\u8bc1\u7535\u8111\u4e2d\u662f\u5426\u9884\u88c5\u4e86 <font color=red><strong>git<\/strong><\/font>\uff0c\u5728 iTerm \u7a97\u53e3\u4e2d\u8f93\u5165\u4e0b\u8ff0\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-zsh line-numbers\">git --version\n<\/code><\/pre>\n<p>\u5982\u679c\u8f93\u51fa\u9875\u9762\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u5219\u8bf4\u660e\u7535\u8111\u4e2d\u5df2\u7ecf\u9884\u88c5\u4e86 <font color=red><strong>git<\/strong><\/font>\uff0c\u76f4\u63a5\u8fdb\u884c\u4e0b\u4e00\u6b65\u3002<\/p>\n<p><center class=\"half\"><br \/>\n    <img src=\"https:\/\/www.yifei-adam.com\/wp-content\/uploads\/2021\/10\/wp_editor_md_ce4c6f2be23b63ddcb4a4b0472368f83.jpg\" width=\"400\"\/><br \/>\n<\/center><\/p>\n<p>\u5982\u679c\u6ca1\u6709\u663e\u793a\u5982\u4e0a\u56fe\u6240\u793a\u7684\u8f93\u51fa\uff0c\u5219\u4f7f\u7528\u4e0b\u8ff0\u547d\u4ee4\u5b89\u88c5 <font color=red><strong>git<\/strong><\/font>\u3002<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\">brew install git\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u63a5\u7740\uff0c\u7528\u4e0b\u8ff0\u547d\u4ee4\u9a8c\u8bc1\u662f\u5426\u5b89\u88c5\u4e86 <font color=red><strong>vim<\/strong><\/font>\u3002<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\">vim --versoin\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u82e5\u6ca1\u6709\uff0c\u5219\u4e0b\u8ff0\u547d\u4ee4\u5b89\u88c5\u3002<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\"> brew install vim\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u7136\u540e\uff0c\u4f7f\u7528\u4e0b\u8ff0\u547d\u4ee4\u5b89\u88c5 vim \u63d2\u4ef6\u7ba1\u7406\u5de5\u5177 Vundle\uff0c\u6ce8\u610f<strong>\u624b\u52a8\u521b\u5efa<\/strong>\u4e0d\u5b58\u5728\u7684\u6587\u4ef6\u5939<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\">git clone https:\/\/github.com\/gmarik\/Vundle.vim.git ~\/.vim\/bundle\/Vundle.vim\n<\/code><\/pre>\n<p>\u00a0<br \/>\n\u63a5\u7740\uff0c\u521b\u5efa ~\/.vimrc \u6587\u4ef6\uff0c\u6216\u5220\u9664\u5e76\u65b0\u5efa ~\/.vimrc \u6587\u4ef6\uff0c\u5e76\u5c06\u4e0b\u8ff0\u6587\u5b57\u5168\u91cf\u7c98\u8d34\u8fdb\u8be5\u6587\u4ef6\u4e2d<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-text line-numbers\">\" *********************************************\n\" Vbundle\u63d2\u4ef6\u7ba1\u7406\n\" *********************************************\nset nocompatible              \" required\nfiletype off                  \" required \n\nset encoding=utf-8\nlet python_highlight_all=1\nsyntax on\n\nset hlsearch\nset clipboard=unnamed\n\n\" set the runtime path to include Vundle and initialize\nset rtp+=~\/.vim\/bundle\/Vundle.vim\ncall vundle#begin()\n\n\" alternatively, pass a path where Vundle should install plugins\n\"call vundle#begin('~\/some\/path\/here')\n\n\" let Vundle manage Vundle, required\nPlugin 'gmarik\/Vundle.vim' \nPlugin 'scrooloose\/nerdtree'\n\n\" Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin)\n\" All of your Plugins must be added before the following line\ncall vundle#end()            \" required\nfiletype plugin indent on    \" required\n\n\" *********************************************\n\" NERD\u63d2\u4ef6\u5c5e\u6027\n\" *********************************************\n\" au vimenter * NERDTree\n\" \u5f00\u542fvim\u7684\u65f6\u5019\u9ed8\u8ba4\u5f00\u542fNERDTree\nmap &lt;F2&gt; :NERDTreeToggle&lt;CR&gt;\n\" \u8bbe\u7f6eF2\u4e3a\u5f00\u542fNERDTree\u7684\u5feb\u6377\u952e\n\n\n\" *********************************************\n\" Tomorrow\u4e3b\u9898\u914d\u7f6e\n\" *********************************************\nset t_Co=256\nset background=dark\ncolorscheme Tomorrow-Night\n\nset nu\nset tabstop=4\nset shiftwidth=4\nset expandtab\nset autoindent\n\n\" *********************************************\n\" \u5206\u5272\u5e03\u5c40\u76f8\u5173\n\" *********************************************\nset splitbelow\nset splitright\n\"\u5feb\u6377\u952e\uff0cctrl+l\u5207\u6362\u5230\u5de6\u8fb9\u5e03\u5c40\uff0cctrl+h\u5207\u6362\u5230\u53f3\u8fb9\u5e03\u5c40\n\"ctrl+k\u5207\u6362\u5230\u4e0a\u9762\u5e03\u5c40\uff0cctrl+j\u5207\u6362\u5230\u4e0b\u9762\u5e03\u5c40\nnnoremap &lt;C-J&gt; &lt;C-W&gt;&lt;C-J&gt;\nnnoremap &lt;C-K&gt; &lt;C-W&gt;&lt;C-K&gt;\nnnoremap &lt;C-L&gt; &lt;C-W&gt;&lt;C-L&gt;\nnnoremap &lt;C-H&gt; &lt;C-W&gt;&lt;C-H&gt;\n\n\" \u5f00\u542f\u4ee3\u7801\u6298\u53e0\u529f\u80fd\n\" \u6839\u636e\u5f53\u524d\u4ee3\u7801\u884c\u7684\u7f29\u8fdb\u6765\u8fdb\u884c\u4ee3\u7801\u6298\u53e0\nset foldmethod=indent \nset foldlevel=99\n\n\" \u5c06za\u5feb\u6377\u952e\u6620\u5c04\u5230space\u7a7a\u683c\u952e\u4e0a\nnnoremap &lt;space&gt; za\n\nPlugin 'majutsushi\/tagbar'\n\" \u542f\u52a8\u65f6\u81ea\u52a8focus\nlet g:tagbar_auto_faocus =1 \n\" \u542f\u52a8\u6307\u5b9a\u6587\u4ef6\u65f6\u81ea\u52a8\u5f00\u542ftagbar\nautocmd BufReadPost *.cpp,*.c,*.h,*.hpp,*.cc,*.cxx call tagbar#autoopen()\n\n\" Plugin 'Valloric\/YouCompleteMe'\n\" *********************************************\n\" YCM\u63d2\u4ef6\u76f8\u5173\n\" *********************************************\n\" let g:ycm_autoclose_preview_window_after_completion=1\n\" \u8df3\u8f6c\u5230\u5b9a\u4e49\u5904\n\" map &lt;leader&gt;g  :YcmCompleter GoToDefinitionElseDeclaration&lt;CR&gt;\n\" \u9ed8\u8ba4tab\u3001s-tab\u548c\u81ea\u52a8\u8865\u5168\u51b2\u7a81\n\" let g:ycm_key_list_select_completion = ['&lt;TAB&gt;', '&lt;c-n&gt;', '&lt;Down&gt;']\n\" let g:ycm_key_list_previous_completion = ['&lt;S-TAB&gt;', '&lt;c-p&gt;', '&lt;Up&gt;']\n\" let g:ycm_auto_trigger = 1\n\n\nPlugin 'kien\/ctrlp.vim'\n\" *********************************************\n\" ctrlp\n\" *********************************************\nlet g:ctrlp_map = '&lt;c-p&gt;'\nlet g:ctrlp_cmd = 'CtrlP'\n\" \u8bbe\u7f6e\u8fc7\u6ee4\u4e0d\u8fdb\u884c\u67e5\u627e\u7684\u540e\u7f00\u540d\nlet g:ctrlp_custom_ignore = '\\v[\\\/]\\.(git|hg|svn|pyc)$'\n\n\n\" *********************************************\n\" python\u4ee3\u7801\u98ce\u683cPEP8\n\" *********************************************\nau BufNewFile,BufRead *.py set tabstop=4 |set softtabstop=4|set shiftwidth=4|set textwidth=79|set expandtab|set autoindent|set fileformat=unix\nau BufNewFile,BufRead *.js, *.html, *.css set tabstop=2|set softtabstop=2|set shiftwidth=2\n\nPlugin 'vim-scripts\/indentpython.vim'\n\nset colorcolumn=80\nset nocompatible\nset backspace=indent,eol,start\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u4fdd\u5b58\u540e\uff0c\u5728 vim \u4e2d\u8fd0\u884c :<zero-width space>PluginInstall \u5b89\u88c5\u63d2\u4ef6\u3002<br \/>\n\u00a0<\/p>\n<p>\u63a5\u7740\u914d\u7f6e vim \u7684\u4e3b\u9898\uff0c\u70b9\u51fb\u94fe\u63a5 <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/github.com\/chriskempson\/vim-tomorrow-theme\">git<\/a>\uff0c\u5c06 color \u6587\u4ef6\u5939\u653e\u5728 ~\/.vim\/ \u6587\u4ef6\u5939\u4e0b\u3002<br \/>\n\u00a0<\/p>\n<p>\u6b64\u65f6\u6240\u6709 vim \u7684\u63d2\u4ef6\u53ca\u4e3b\u9898\u914d\u7f6e\u7ed3\u675f\u3002\u4f46\u6709\u65f6\u4f1a\u51fa\u73b0\u5982\u4e0b\u5f02\u5e38\u60c5\u51b5\uff1a\u9000\u51fa vim \u540e\uff0c\u7ec8\u7aef\u754c\u9762\u6ca1\u6709\u5237\u65b0\uff0c\u4ecd\u505c\u7559\u5728\u6587\u4ef6\u5185\u5bb9\u754c\u9762\u3002\u9519\u8bef\u539f\u56e0\u662f\u7ec8\u7aef\u7c7b\u578b\u4e0d\u5408\u9002\u3002\u4f7f\u7528<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-shell line-numbers\">echo $TERM\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u67e5\u770b\u7ec8\u7aef\u7c7b\u578b\uff0c\u82e5\u8f93\u51fa\u7ed3\u679c\u4e0d\u662f <font color=red>xterm-256color<\/font>\uff0c\u5219\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u8fdb\u884c\u6539\u52a8<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-shell line-numbers\">TERM=xterm-256color;\nexport TERM\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"%E9%85%8D%E7%BD%AE_oh-my-zsh\"><\/span>\u914d\u7f6e oh-my-zsh<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u73b0\u5728\u5df2\u7ecf\u505a\u5b8c\u4e86\u6240\u6709\u7684\u51c6\u5907\u5de5\u4f5c\uff0c\u6765\u914d\u7f6e oh-my-zsh \u4f7f\u7f16\u7a0b\u73af\u5883\u66f4\u52a0\u7f8e\u89c2\u5427\u3002<br \/>\n\u00a0<\/p>\n<p>\u521b\u5efa\uff0c\u6216\u5220\u9664\u5e76\u65b0\u5efa\u6587\u4ef6 ~\/.zshrc\uff0c\u5e76\u5c06\u4e0b\u8ff0\u6587\u5b57\u5168\u91cf\u7c98\u8d34\u81f3\u6587\u4ef6\u4e2d\uff1a<\/p>\n<pre><code class=\"language-text line-numbers\">export ZSH=\"ATTENTION\"\n\nZSH_THEME=\"agnoster\"\n\nplugins=(git\n         zsh-syntax-highlighting\n         zsh-autosuggestions\n)\n\nsource $ZSH\/oh-my-zsh.sh\n\nprompt_context() {}\n<\/code><\/pre>\n<p>\u00a0<br \/>\n\u63a5\u7740 <font color=blue>cd<\/font> \u5230 ~\/.oh-my-zsh\/custom\/plugins \u8def\u5f84\u4e2d\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\"># \u5b89\u88c5 zsh-syntax-highlighting\ngit clone https:\/\/github.com\/zsh-users\/zsh-syntax-highlighting.git\n# \u5b89\u88c5 zsh-autosuggestions\ngit clone https:\/\/github.com\/zsh-users\/zsh-autosuggestions\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u5168\u90e8\u5b8c\u6210\u4e4b\u540e\uff0c\u8fd0\u884c\u5982\u4e0b\u547d\u4ee4\uff0c\u4f7f\u914d\u7f6e\u751f\u6548\uff1a<br \/>\n\u00a0<\/p>\n<pre><code class=\"language-zsh line-numbers\">source ~\/.zshrc\n<\/code><\/pre>\n<p>\u00a0<\/p>\n<p>\u5982\u679c\u51fa\u73b0\u7bad\u5934\u65e0\u6cd5\u6b63\u786e\u663e\u793a\uff0c\u8bf7\u53c2\u7167 <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/github.com\/agnoster\/agnoster-zsh-theme\/issues\/123\">\u8be5\u94fe\u63a5<\/a> \u4e0b\u8f7d\u5e76\u66ff\u6362\u5b57\u4f53<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%AE%89%E8%A3%85_go2shell\"><\/span>\u5b89\u88c5 go2shell<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>macOS \u4e2d\u7f3a\u5c11\u4e86\u4e00\u4e2a\u91cd\u8981\u7684\u529f\u80fd\uff1a\u5728\u5f53\u524d\u6587\u4ef6\u5939\u6253\u5f00\u7ec8\u7aef\u9875\u9762\uff0c\u8fd9\u5bf9\u7f16\u7a0b\u6765\u8bf4\u5f88\u4e0d\u65b9\u4fbf\u3002go2shell \u5c31\u662f\u5b9e\u73b0\u8fd9\u4e2a\u529f\u80fd\u5f88\u65b9\u4fbf\u7684\u8f6f\u4ef6<br \/>\n\u00a0<\/p>\n<p>\u5728 <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/github.com\/Breathleas\/Go2Shell\">git<\/a> \u514b\u9686\u5230\u672c\u5730\uff0c\u5e76\u5c06 <font color=red>Go2Shell_iTerm_newWin<\/font> \u653e\u5165 Application \u6587\u4ef6\u5939\u3002\u968f\u540e\u957f\u6309 <font color=blue>command<\/font> \u952e\u7684\u540c\u65f6\uff0c\u4f7f\u7528\u9f20\u6807\u5de6\u952e\u5c06\u8be5\u8f6f\u4ef6\u62d6\u52a8\u5230 Finder \u5de5\u5177\u680f\u4e2d\u56fa\u5b9a\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u4f60\u5728\u4efb\u610f Finder \u9875\u9762\u4e2d\u70b9\u51fb\u8be5\u56fe\u6807\uff0c\u5c31\u53ef\u4ee5\u5728\u5f53\u524d\u754c\u9762\u6253\u5f00\u4e00\u4e2a iTerm \u7a97\u53e3\u4e86\uff0c\u5e76\u4e14\u662f\u5b8c\u6210\u4e86\u4e0a\u8ff0\u6240\u6709\u914d\u7f6e\u540e\u7684\u7f8e\u89c2\u7a97\u53e3<\/p>\n<h2><span class=\"ez-toc-section\" id=\"6_%E5%90%8E%E8%AE%B0\"><\/span>6. \u540e\u8bb0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u81f3\u6b64\uff0c\u5728 macOS \u4e0a\u4e0b\u8f7d\u5e76\u5b89\u88c5 Python\uff0c\u5b89\u88c5\u5176\u4f59\u5b66\u4e60\u8f6f\u4ef6\u5e76\u914d\u7f6e\u7684\u6240\u6709\u6b65\u9aa4\u5168\u90e8\u90fd\u5b8c\u6210\u4e86\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u8fdb\u884c\u4e00\u4e2a\u4e60\u7684\u5b66\u3002 \u5982\u679c\u6709\u4efb\u4f55\u6211\u6ca1\u6709\u89e3\u91ca\u6e05\u695a\u7684\u6b65\u9aa4\uff0c\u6b22\u8fce\u8bc4\u8bba\u3002<br \/>\n\u00a0<\/p>\n<p>\u5e76\u6b22\u8fce\u5173\u6ce8\u672c\u535a\u5ba2\u7684\u5176\u4ed6\u6587\u7ae0\uff0c\u7bc7\u7bc7\u7cbe\u54c1 \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55 0. \u524d\u8a001. \u80cc\u666f2. \u5b89\u88c5 Python \u5e76\u8fdb\u884c\u9a8c\u8bc1Python \u7684\u5b89\u88c5\u9a8c\u8bc1 Python \u5b89\u88c5\u662f\u5426\u5b8c\u62103. \u5b89\u88c5\u7f16\u8f91\u5668 VSCode \u5e76\u8fdb\u884c\u914d\u7f6e4. \u4e0b\u8f7d\u5e76\u914d\u7f6e sublime text5. \u914d\u7f6e\u8212\u9002\u7f8e\u89c2\u7684\u7f16\u7a0b\u73af\u5883\u5b89\u88c5 iTerm2\u5b89\u88c5 HomeBrew\u5b89\u88c5 zsh, oh-my-zsh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":556,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=\/wp\/v2\/posts\/500"}],"collection":[{"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=500"}],"version-history":[{"count":34,"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":569,"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=\/wp\/v2\/posts\/500\/revisions\/569"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=\/wp\/v2\/media\/556"}],"wp:attachment":[{"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yifei-adam.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}