{"id":6323,"date":"2026-03-03T09:56:57","date_gmt":"2026-03-03T01:56:57","guid":{"rendered":"https:\/\/blog.coolcoding.cn\/?p=6323"},"modified":"2026-03-03T10:02:51","modified_gmt":"2026-03-03T02:02:51","slug":"windows%ef%bc%9aclaude-code-deepseek-coder","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=6323","title":{"rendered":"Windows\uff1aClaude Code + DeepSeek-Coder"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u5b89\u88c5node.js<\/h2>\n\n\n\n<p>\u5b98\u7f51\uff1ahttps:\/\/nodejs.org<\/p>\n\n\n\n<p>\u4e0b\u8f7d\u5e76\u5b89\u88c5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node -v\nnpm -v<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f7f\u7528npm\u5b89\u88c5claude code<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>npm install -g @anthropic-ai\/claude-code --registry=https:\/\/registry.npmmirror.com<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u589e\u52a0deepseek\u7684\u914d\u7f6e<\/h2>\n\n\n\n<p>\u7f16\u8f91(\u4e0d\u5b58\u5728\u5219\u65b0\u5efa)\u6587\u4ef6\uff1a<\/p>\n\n\n\n<p>C:\\Users\\\u7528\u6237\u540d\\.claude\\settings.json<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"env\": {\n    \"ANTHROPIC_AUTH_TOKEN\": \"sk-DeepSeek\u7684\u5bc6\u94a5\",\n    \"ANTHROPIC_BASE_URL\": \"https:\/\/api.deepseek.com\/anthropic\",\n    \"ANTHROPIC_MODEL\": \"deepseek-coder\",\n    \"ANTHROPIC_SMALL_FAST_MODEL\": \"deepseek-coder\",\n    \"API_TIMEOUT_MS\": \"3000000\",\n    \"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC\": \"1\"\n  },\n  \"permissions\": {\n    \"allow\": &#91;],\n    \"deny\": &#91;]\n  }\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5node.js \u5b98\u7f51\uff1ahttps:\/\/nodejs.org \u4e0b\u8f7d\u5e76\u5b89\u88c5 \u4f7f\u7528npm\u5b89\u88c5claude cod [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6323"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6323"}],"version-history":[{"count":2,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6323\/revisions"}],"predecessor-version":[{"id":6325,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/6323\/revisions\/6325"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}