{"id":8291,"date":"2026-11-30T23:08:50","date_gmt":"2026-11-30T23:08:50","guid":{"rendered":"https:\/\/jonjones.ai\/uncategorized\/daily-tip-tuesday-pin-claude-code-version-2026-12-01\/"},"modified":"2026-11-30T23:08:50","modified_gmt":"2026-11-30T23:08:50","slug":"%e6%af%8f%e6%97%a5%e5%b0%8f%e8%b2%bc%e5%a3%ab%e6%98%9f%e6%9c%9f%e4%ba%8c%e5%af%86%e7%a2%bc%e5%85%8b%e5%8b%9e%e5%be%b7%e4%bb%a3%e7%a2%bc%e7%89%88%e6%9c%ac-2026-12-01","status":"publish","type":"post","link":"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e5%b0%8f%e8%b2%bc%e5%a3%ab%e6%98%9f%e6%9c%9f%e4%ba%8c%e5%af%86%e7%a2%bc%e5%85%8b%e5%8b%9e%e5%be%b7%e4%bb%a3%e7%a2%bc%e7%89%88%e6%9c%ac-2026-12-01\/","title":{"rendered":"\u9031\u4e8c\u5c0f\u8cbc\u58eb\uff1a\u56fa\u5b9a\u4f60\u7684\u7279\u5de5\u4f7f\u7528\u7684\u514b\u52de\u5fb7\u4ee3\u78bc\u7248\u672c\uff08\u6211\u7684\u7248\u672c\u672a\u7d93\u6211\u540c\u610f\u5c31\u66f4\u6539\u4e86\u5169\u6b21\uff0c\u7136\u5f8c\u9031\u516d\u5c31\u843d\u5f8c\u4e8637\u500b\u7248\u672c\uff09"},"content":{"rendered":"<p>\u4eca\u5929\u7684\u79d8\u8a23\u96d6\u7136\u67af\u71e5\u4e4f\u5473\uff0c\u537b\u80fd\u8b93\u4f60\u907f\u514d\u7cdf\u7cd5\u7684\u65e9\u6668\uff1a <strong>\u56fa\u5b9a\u4f60\u7684\u7279\u5de5\u904b\u884c\u7684 Claude Code \u7248\u672c\uff0c\u4e26\u5728\u6bcf\u6b21\u904b\u884c\u6642\u5c07\u5176\u8a18\u9304\u4e0b\u4f86\u3002.<\/strong> \u4f60\u7684\u4ee3\u7406\u7a0b\u5f0f\u7684\u7a69\u5b9a\u6027\u53d6\u6c7a\u65bc\u5176\u5e95\u5c64\u5de5\u5177\u7684\u7a69\u5b9a\u6027\uff0c\u800c\u8a72\u5de5\u5177\u6703\u4e0d\u65b7\u767c\u5e03\u65b0\u7248\u672c\u3002.<\/p>\n<p>\u6211\u4eca\u5929\u65e9\u4e0a\uff082026\u5e7412\u67081\u65e5\uff09\u6aa2\u67e5\u4e86\u81ea\u5df1\u7684\u4f5c\u696d\u4f47\u5217\u3002\u6211\u7684\u6392\u7a0b\u5668\u5beb\u5165\u7684\u6bcf\u500b\u4f5c\u696d\u65e5\u8a8c\u90fd\u4ee5\u4e00\u884c\u986f\u793a\u57f7\u884c\u8a72\u4f5c\u696d\u7684 Claude Code \u7248\u672c\u865f\u78bc\u4f5c\u70ba\u958b\u982d\u3002 <strong>\u81ea6\u670812\u65e5\u4ee5\u4f86\uff0c\u5176\u4e2d\u67092294\u689d\u8def\u7dda\u3002<\/strong>, \u5b83\u5011\u5c55\u73fe\u4e86\u6211\u5f9e\u672a\u6c7a\u5b9a\u904e\u7684\u4e8b\uff1a<\/p>\n<ul>\n<li><strong>6\u670812\u65e5\u21929\u67089\u65e5\uff1a<\/strong> \u7248\u672c 2.1.158<\/li>\n<li><strong>9\u67089\u65e5\u219210\u67088\u65e5\uff1a<\/strong> 2.1.266\uff0c\u5728\u767c\u5e03\u5f8c\u4e0d\u5230\u4e00\u5929\u5c31\u88ab\u9001\u5165\u5bb9\u5668\u4e2d\u3002<\/li>\n<li><strong>10\u67088\u65e5 \u2192 \u4eca\u5929\uff1a<\/strong> 2.1.292<\/li>\n<\/ul>\n<p>\u5169\u6b21\u5347\u7d1a\uff0c\u5169\u6b21\u90fd\u4e0d\u662f\u6211\u8a08\u756b\u5167\u7684\u3002\u4e4b\u5f8c\u5c31\u6c92\u518d\u6539\u52d5\u4e86\u3002 10\u67088\u65e5\u8d77\uff0c, <strong>37 \u500b\u65b0\u7248\u672c<\/strong> \u5df2\u7d93\u767c\u5e03\u4e86\u5e7e\u500b\u7248\u672c\uff08\u6700\u65b0\u7684 2.1.333 \u7248\u672c\u6628\u5929\u767c\u5e03\u4e86\uff09\uff0c\u4f46\u6211\u7684\u4f3a\u670d\u5668\u4e00\u500b\u90fd\u6c92\u66f4\u65b0\u3002\u6211\u9084\u4e0d\u6e05\u695a\u662f\u4ec0\u9ebc\u89f8\u767c\u4e86\u9019\u5169\u500b\u7248\u672c\u66f4\u65b0\uff0c\u53c8\u662f\u4ec0\u9ebc\u963b\u6b62\u4e86\u66f4\u65b0\u3002\u554f\u984c\u5c31\u5728\u9019\u88e1\u3002\u6c92\u4eba\u544a\u8a34\u6211\uff0c\u6240\u4ee5\u6211\u4e5f\u8aaa\u4e0d\u6e05\u695a\u3002.<\/p>\n<h2>\u9019\u6bd4\u807d\u8d77\u4f86\u66f4\u91cd\u8981\u3002<\/h2>\n<p>\u65b0\u7248\u672c\u4e0d\u50c5\u50c5\u662f\u6dfb\u52a0\u529f\u80fd\u3002\u6709\u6642\u5b83\u5011\u9084\u6703\u6539\u8b8a <em>\u9810\u8a2d\u503c<\/em>. \u6839\u64da Claude Code \u7684\u6b0a\u9650\u6a21\u5f0f\u6587\u4ef6\uff08\u95b1\u8b80\u65e5\u671f\uff1a11 \u6708 30 \u65e5\uff09\uff0c <strong>\u7248\u672c 2.1.302<\/strong>, \uff0c \u8dd1\u6b65 <code>\u514b\u52de\u5fb7-p<\/code> \u4e0d\u9078\u64c7\u6b0a\u9650\u6a21\u5f0f\u5c07\u555f\u52d5\u624b\u52d5\u6a21\u5f0f\uff0c\u8a72\u6a21\u5f0f <strong>\u5426\u8a8d<\/strong> \u57f7\u884c\u64cd\u4f5c\u800c\u4e0d\u662f\u5b8c\u6210\u64cd\u4f5c\u3002\u5c0d\u65bc\u7121\u4eba\u503c\u5b88\u7684\u4ee3\u7406\u5546\u4f86\u8aaa\uff0c\u9019\u610f\u5473\u8457\u6628\u5929\u9084\u5728\u767c\u4f48\u5167\u5bb9\u7684\u4efb\u52d9\u4eca\u5929\u53ef\u80fd\u6703\u6084\u6084\u5730\u62d2\u7d55\u767c\u5e03\u4efb\u4f55\u5167\u5bb9\u3002.<\/p>\n<p>\u6211\u7684\u8eca\u968a\u4e4b\u6240\u4ee5\u4e0d\u6703\u9047\u5230\u9019\u7a2e\u60c5\u6cc1\uff0c\u539f\u56e0\u53ea\u6709\u4e00\u500b\uff1a\u6211\u7684\u8abf\u5ea6\u54e1\u5728\u6bcf\u6b21\u51fa\u8eca\u6642\u90fd\u6703\u660e\u78ba\u8aaa\u660e\u6a21\u5f0f\uff08<code>claude --print --dangerously-skip-permissions -p ...<\/code>\u5b83\u4e0d\u4f9d\u8cf4\u9810\u8a2d\u503c\u3002\u4f46\u6211\u7684 Dockerfile \u5b89\u88dd\u4e86 <code>@anthropic-ai\/claude-code<\/code> \u548c <strong>\u7121\u7248\u672c\u865f<\/strong>. \u5982\u679c\u4eca\u5929\u91cd\u5efa\u5bb9\u5668\uff0c\u5b83\u5c07\u62c9\u53d6 2.1.333 \u7248\u672c\uff0c\u6bd4\u6211\u7684\u4f5c\u696d\u6e2c\u8a66\u6240\u4f7f\u7528\u7684\u7248\u672c\u9ad8\u51fa 37 \u500b\u7248\u672c\u3002.<\/p>\n<h2>\u5982\u4f55\u9396\u5b9a\u60a8\u7684 Claude Code \u7248\u672c\uff084 \u500b\u6b65\u9a5f\uff09<\/h2>\n<ol>\n<li><strong>\u6bcf\u6b21\u904b\u884c\u90fd\u8a18\u9304\u7248\u672c\u8cc7\u8a0a\u3002.<\/strong> \u6bcf\u689d\u4f5c\u696d\u65e5\u8a8c\u9802\u90e8\u6709\u4e00\u884c\uff1a <code>\u514b\u52de\u5fb7--\u7248\u672c<\/code>. \u5b83\u5b8c\u5168\u514d\u8cbb\uff0c\u800c\u4e14\u80fd\u63d0\u4f9b\u4e0a\u8ff0\u6642\u9593\u7dda\u3002\u5982\u679c\u6c92\u6709\u5b83\uff0c\u300c\u4e0a\u9031\u9084\u6709\u6548\u300d\u53ea\u80fd\u662f\u731c\u6e2c\u3002.<\/li>\n<li><strong>\u56fa\u5b9a\u5b89\u88dd\u3002.<\/strong> \u4f7f\u7528 <code>npm install -g @anthropic-ai\/claude-code@2.1.292<\/code> \uff08\u60a8\u6e2c\u8a66\u904e\u7684\u7248\u672c\uff09\u800c\u4e0d\u662f\u7c21\u55ae\u7684\u8edf\u9ad4\u5305\u540d\u7a31\u3002\u91cd\u65b0\u5efa\u7f6e\u5f8c\uff0c\u60a8\u5c07\u7372\u5f97\u76f8\u540c\u7684\u5de5\u5177\uff0c\u800c\u4e0d\u662f\u7576\u5929\u65e9\u4e0a\u767c\u5e03\u7684\u7248\u672c\u3002.<\/li>\n<li><strong>\u95dc\u9589\u4ee3\u7406\u4f3a\u670d\u5668\u4e0a\u7684\u610f\u5916\u5347\u7d1a\u529f\u80fd\u3002.<\/strong> \u653e <code>\u7981\u7528\u81ea\u52d5\u66f4\u65b0\u7a0b\u5f0f=1<\/code> \u5728\u5bb9\u5668\u74b0\u5883\u4e2d\uff0c\u7248\u672c\u865f\u78bc\u53ea\u6703\u5728\u60a8\u79fb\u52d5\u5bb9\u5668\u6642\u624d\u6703\u66f4\u65b0\u3002\u5982\u679c\u60a8\u9858\u610f\uff0c\u53ef\u4ee5\u5728\u81ea\u5df1\u7684\u7b46\u8a18\u578b\u96fb\u8166\u4e0a\u4fdd\u7559\u81ea\u52d5\u66f4\u65b0\u3002\u5dee\u5225\u5728\u65bc\uff0c\u6c92\u6709\u4eba\u76e3\u63a7\u4ee3\u7406\u4f3a\u670d\u5668\u3002.<\/li>\n<li><strong>\u628a\u4f60\u4f9d\u8cf4\u7684\u6bcf\u4e00\u9762\u65d7\u5e5f\u90fd\u5beb\u51fa\u4f86\u3002.<\/strong> \u6b0a\u9650\u6a21\u5f0f\u3001\u6a21\u578b\u3001\u8f38\u51fa\u683c\u5f0f\u3002\u5982\u679c\u4e00\u9805\u4f5c\u696d\u50c5\u4f9d\u9760\u9810\u8a2d\u8a2d\u5b9a\u624d\u80fd\u6b63\u5e38\u904b\u884c\uff0c\u90a3\u9ebc\u66f4\u6539\u9810\u8a2d\u8a2d\u5b9a\u5c07\u5c0e\u81f4\u4f5c\u696d\u5931\u6557\u3002\u986f\u5f0f\u6a19\u8a8c\u5728\u5347\u7d1a\u5f8c\u4ecd\u7136\u6709\u6548\u3002.<\/li>\n<\/ol>\n<p>\u7136\u5f8c\u5347\u7d1a <em>\u6545\u610f<\/em>\u95b1\u8b80\u8b8a\u66f4\u65e5\u8a8c\uff0c\u66f4\u65b0\u7f6e\u9802\u7de8\u865f\uff0c\u624b\u52d5\u57f7\u884c\u4e00\u500b\u4f4e\u98a8\u96aa\u4efb\u52d9\uff0c\u6aa2\u67e5\u5176\u65e5\u8a8c\uff0c\u7136\u5f8c\u518d\u8b93\u8abf\u5ea6\u5668\u904b\u4f5c\u3002\u53ea\u9700\u5341\u5206\u9418\uff0c\u6642\u9593\u7531\u60a8\u6c7a\u5b9a\u3002.<\/p>\n<p><strong>\u6211\u6240\u5728\u7684\u5730\u65b9\uff1a<\/strong> \u7b2c\u4e00\u6b65\u5f9e\u516d\u6708\u5c31\u5be6\u65bd\u4e86\uff0c\u800c\u7b2c\u56db\u6b65\u6b63\u662f 2.1.302 \u7248\u672c\u8b8a\u66f4\u7121\u6cd5\u5f71\u97ff\u6211\u7684\u4f5c\u696d\u7684\u539f\u56e0\u3002\u7b2c\u4e8c\u6b65\u548c\u7b2c\u4e09\u6b65\u5df2\u5217\u5165\u5f85\u8fa6\u4e8b\u9805\uff0c\u4f46\u5c1a\u672a\u5b8c\u6210\u3002\u6211\u7684 Dockerfile \u4ecd\u7136\u986f\u793a\u201clatest\u201d\u3002\u6211\u5beb\u9019\u7bc7\u6587\u7ae0\u7684\u90e8\u5206\u539f\u56e0\u662f\u70ba\u4e86\u7763\u4fc3\u81ea\u5df1\u76e1\u5feb\u4fee\u5fa9\u9019\u500b\u554f\u984c\u3002.<\/p>\n<p>\u5982\u679c\u60a8\u60f3\u67e5\u770b\u6b64\u7248\u672c\u7dda\u5728\u5b8c\u5168\u7121\u4eba\u503c\u5b88\u8a2d\u5b9a\u4e2d\u7684\u4f4d\u7f6e\uff0c\u6211\u7684 <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7\/%e5%85%8b%e5%8b%9e%e5%be%b7%e4%bb%a3%e7%a2%bc%e7%b7%9a%e6%9d%9f\/\">\u514b\u52de\u5fb7\u4ee3\u78bc\u7dda\u675f\u6545\u969c<\/a> \u4ed6\u4ed4\u7d30\u5730\u6aa2\u67e5\u4e86\u6a21\u578b\u7684\u6bcf\u500b\u90e8\u5206\u3002\u90a3\u4e9b\u7121\u982d\u65d7\u5e5f\u672c\u8eab\u5c31\u4f4d\u65bc\u2026 <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7\/%e5%85%8b%e5%8b%9e%e5%be%b7%e4%bb%a3%e7%a2%bc%e4%bd%9c%e5%bc%8a%e8%a1%a8\/\">\u514b\u52de\u5fb7\u4ee3\u78bc\u4f5c\u5f0a\u8868<\/a>, \u4ee5\u53ca\u661f\u671f\u65e5\u7684 <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e6%98%9f%e6%9c%9f%e6%97%a5%e8%a8%ad%e5%ae%9a%e7%bc%ba%e5%b0%91%e7%92%b0%e5%a2%83%e8%ae%8a%e6%95%b8-2026-11-29\/\">\u74b0\u5883\u8b8a\u6578\u6aa2\u67e5<\/a> \u6db5\u84cb\u4e86\u53e6\u4e00\u500b\u6084\u7121\u8072\u606f\u537b\u80fd\u95dc\u9589\u5de5\u4f5c\u5d17\u4f4d\u7684\u56e0\u7d20\u3002.<\/p>\n<p>\u8981\u9ede\uff1a <strong>\u7121\u6cd5\u5fa9\u73fe\u7684\u4ee3\u7406\u7a0b\u5e8f\u662f\u4e0d\u53ef\u4fe1\u7684\u3002\u9396\u5b9a\u7248\u672c\uff0c\u8a18\u9304\u7248\u672c\u4fe1\u606f\uff0c\u4e26\u50cf\u90e8\u7f72\u4e00\u6a23\u9032\u884c\u5347\u7d1a\uff0c\u56e0\u70ba\u5b83\u662f\u90e8\u7f72\u3002.<\/strong><\/p>\n<p>\u6b63\u5728\u6309\u8a08\u5283\u5b89\u6392\u7d93\u7d00\u4eba\uff0c\u4e26\u5e0c\u671b\u6709\u4eba\u5e6b\u4ed6\u5011\u6aa2\u67e5\u5de5\u4f5c\u5b89\u6392\uff1f <a href=\"https:\/\/jonjones.ai\/zh\/%e9%a0%90%e7%b4%84%e6%9c%83%e8%ad%b0\/\">\u9810\u7d04\u81ea\u52d5\u5316\u7b56\u7565\u6703\u8b70<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u7684\u63d0\u793a\u96d6\u7136\u67af\u71e5\u4e4f\u5473\uff0c\u537b\u80fd\u8b93\u4f60\u907f\u514d\u7cdf\u7cd5\u7684\u65e9\u6668\uff1a\u628a\u4f60\u7684\u4ee3\u7406\u4eba\u904b\u884c\u7684 Claude Code \u7248\u672c\u56fa\u5b9a\u4e0b\u4f86\uff0c\u6bcf\u6b21\u904b\u884c\u5f8c\u90fd\u8a18\u4e0b\u4f86\u3002\u4f60\u7684\u4ee3\u7406\u4eba\u53ea\u662f\u2026<\/p>","protected":false},"author":2,"featured_media":8290,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[44],"tags":[],"class_list":["post-8291","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation"],"taxonomy_info":{"category":[{"value":44,"label":"AI Automation"}]},"featured_image_src_large":["https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/11\/daily-tip-tuesday-pin-claude-code-version-20261201.jpg",1344,752,false],"author_info":{"display_name":"Jon Jones","author_link":"https:\/\/jonjones.ai\/zh\/author\/jonjonjones-ai\/"},"comment_info":0,"category_info":[{"term_id":44,"name":"AI Automation","slug":"ai-automation","term_group":0,"term_taxonomy_id":44,"taxonomy":"category","description":"","parent":0,"count":304,"filter":"raw","cat_ID":44,"category_count":304,"category_description":"","cat_name":"AI Automation","category_nicename":"ai-automation","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts\/8291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/comments?post=8291"}],"version-history":[{"count":0,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts\/8291\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/media\/8290"}],"wp:attachment":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/media?parent=8291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/categories?post=8291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/tags?post=8291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}