{"id":15950,"date":"2026-11-02T21:54:41","date_gmt":"2026-11-02T12:54:41","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?p=15950"},"modified":"2026-11-02T22:16:35","modified_gmt":"2026-11-02T13:16:35","slug":"claude-code-install-8163","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/claude-code-install-8163\/","title":{"rendered":"Claude Code \u306e\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3010Windows\/Mac\u3011\u8a8d\u8a3c\u30a8\u30e9\u30fc\u306e\u76f4\u3057\u65b9"},"content":{"rendered":"<!-- ---\r\ntitle: Claude Code \u306e\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3010Windows\/Mac\u3011\u8a8d\u8a3c\u30a8\u30e9\u30fc\u306e\u76f4\u3057\u65b9\r\ndescription: Claude Code \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092 Windows\u30fbMac \u5225\u306b\u89e3\u8aac\u3002\u516c\u5f0f\u63a8\u5968\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3001npm \u7248\u304b\u3089\u306e\u79fb\u884c\u3001command not found \u3068\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08\/login\uff09\u306e\u76f4\u3057\u65b9\u307e\u3067\u307e\u3068\u3081\u307e\u3057\u305f\u3002\r\ntags: Claude Code, \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb, \u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb, \u30cd\u30a4\u30c6\u30a3\u30d6\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc, claude doctor, Windows, Mac, \u8a8d\u8a3c\u30a8\u30e9\u30fc, command not found, npm\r\ncategory: AI\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\r\nslug: claude-code-install\r\n--- -->\r\n\r\n<p class=\"fz-ss\">Claude Code \u306f\u3001\u516c\u5f0f\u304c\u63a8\u5968\u3059\u308b\u30cd\u30a4\u30c6\u30a3\u30d6\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3067\u5165\u308c\u308b\u306e\u304c\u3001\u3044\u3061\u3070\u3093\u78ba\u5b9f\u3067\u3059\u3002Node.js \u306f\u8981\u3089\u305a\u3001<code>sudo<\/code> \u3082\u4f7f\u3044\u307e\u305b\u3093\u3002\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u3001\u540c\u3058\u30b3\u30de\u30f3\u30c9\u3092\u3082\u3046\u4e00\u5ea6\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\r\n<p class=\"fz-ss\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u521d\u3081\u3066\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001<code>command not found<\/code> \u3068\u8a8d\u8a3c\u30a8\u30e9\u30fc\u306e\u76f4\u3057\u65b9\u3092\u6271\u3044\u307e\u3059\u3002\u66f4\u65b0\u3060\u3051\u3092\u3057\u305f\u3044\u5834\u5408\u306f\u3001<a href=\"https:\/\/code-plus.jp\/gp\/claude-code-update-8162\/\" class=\"link\">claude update \u306e\u8a18\u4e8b<\/a>\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/claude-code-update-8162\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">claude update\uff5cClaude Code \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5\u3068\u3067\u304d\u306a\u3044\u6642\u306e\u5bfe\u51e6 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/eyec-claude-code.jpg?ver=20261102221635\" alt=\"claude update\uff5cClaude Code \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5\u3068\u3067\u304d\u306a\u3044\u6642\u306e\u5bfe\u51e6 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">Claude Code \u3092\u6700\u65b0\u306b\u3059\u308b claude update \u306e\u624b\u9806\u3092\u3001\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9\u304b\u3089\u89e3\u8aac\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5909\u308f\u3089\u306a\u3044\u3001\u6a29\u9650\u30a8\u30e9\u30fc\u3001nvm\u30fbPATH\u30fb\u8907\u6570\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u539f\u56e0\u306e\u5834\u5408\u306e\u76f4\u3057\u65b9\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/claude-code-context-8164\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">Claude Code \u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u7ba1\u7406\uff5c\/compact\u30fb\/clear\u30fb\/context \u306e\u4f7f\u3044\u5206\u3051\u3068\u30a8\u30e9\u30fc\u5bfe\u51e6 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/eyec-claude-code.jpg?ver=20261102221635\" alt=\"Claude Code \u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u7ba1\u7406\uff5c\/compact\u30fb\/clear\u30fb\/context \u306e\u4f7f\u3044\u5206\u3051\u3068\u30a8\u30e9\u30fc\u5bfe\u51e6 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">Claude Code \u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304c\u6ea2\u308c\u305f\u6642\u306e\u5bfe\u51e6\u3092\u89e3\u8aac\u3002\/context \u3067\u4f7f\u7528\u91cf\u3092\u78ba\u8a8d\u3057\u3001\/compact \u3068 \/clear \u3092\u4f7f\u3044\u5206\u3051\u308b\u65b9\u6cd5\u3001API Error 400 \u3068 429 \u306e\u539f\u56e0\u3068\u76f4\u3057\u65b9\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002Claude Code \u306e...\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\r\n\r\n<hr class=\"separator mx-auto mt-3r\" \/><hr class=\"separator mx-auto mt-3r\" \/>\r\n\r\n<!-- \u2756\u76ee\u6b21\u30ea\u30b9\u30c8 -->\r\n<ul class=\"tocList mt-3r\" data-toc-id=\"js-tocBWGD\" style=\"height:28rem\"><\/ul>\r\n<ins class=\"tocBtn is-fixed\" data-toc-id=\"js-tocBWGD\"><\/ins>\r\n\r\n<h2 id=\"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306f\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u3092\u9078\u3076\" class=\"fz-xl\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u306f\u3001\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u3092\u9078\u3076<\/h2>\r\n\r\n<table class=\"table my-0.75r\">\r\n  <thead>\r\n    <tr>\r\n      <th>\u65b9\u6cd5<\/th>\r\n      <td>\u5411\u3044\u3066\u3044\u308b\u4eba<\/td>\r\n      <td>\u30b3\u30de\u30f3\u30c9<\/td>\r\n    <\/tr>\r\n  <\/thead>\r\n  <tbody>\r\n    <tr>\r\n      <th>\u30cd\u30a4\u30c6\u30a3\u30d6\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\uff08\u63a8\u5968\uff09<\/th>\r\n      <td>\u8ff7\u3063\u305f\u3089\u3053\u308c<\/td>\r\n      <td>\u4e0b\u8a18\u306e OS \u5225<\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>Homebrew<\/th>\r\n      <td>\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u3092 Homebrew \u306b\u5bc4\u305b\u305f\u3044 Mac\u30fbLinux \u306e\u4eba<\/td>\r\n      <td><code>brew install --cask claude-code<\/code><\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>WinGet<\/th>\r\n      <td>\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u3092 WinGet \u306b\u5bc4\u305b\u305f\u3044 Windows \u306e\u4eba<\/td>\r\n      <td><code>winget install Anthropic.ClaudeCode<\/code><\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>apt \/ dnf \/ apk<\/th>\r\n      <td>Linux \u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u306b\u4efb\u305b\u305f\u3044\u4eba<\/td>\r\n      <td>\u516c\u5f0f\u306e\u624b\u9806\u306b\u5f93\u3046<\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>npm\uff08\u975e\u63a8\u5968\uff09<\/th>\r\n      <td>\u3059\u3067\u306b npm \u306e\u69cb\u6210\u3067\u56fa\u3081\u3066\u3044\u308b\u4eba<\/td>\r\n      <td><code>npm install -g @anthropic-ai\/claude-code<\/code>\uff08Node.js 18 \u4ee5\u4e0a\u304c\u5fc5\u8981\uff09<\/td>\r\n    <\/tr>\r\n  <\/tbody>\r\n<\/table>\r\n<p class=\"fz-ss\">Homebrew \u3068 WinGet \u306f\u81ea\u52d5\u66f4\u65b0\u3055\u308c\u305a\u3001\u66f4\u65b0\u306f\u624b\u52d5\u3067\u3059\u3002\u81ea\u52d5\u66f4\u65b0\u306b\u4efb\u305b\u305f\u3044\u306a\u3089\u3001\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u3092\u9078\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\r\n\r\n<h2 id=\"maclinuxwsl-\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\" class=\"fz-xl\">Mac\u30fbLinux\u30fbWSL \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h2>\r\n<p class=\"fz-ss\">\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-bash\">curl -fsSL https:\/\/claude.ai\/install.sh | bash<\/code><\/pre>\r\n<p class=\"fz-ss\">\u7d42\u308f\u3063\u305f\u3089\u3001\u65b0\u3057\u3044\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u3044\u3066\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-bash\">claude --version\r\nclaude doctor<\/code><\/pre>\r\n<p class=\"fz-ss\">\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3084 stable \u7248\u3092\u5165\u308c\u305f\u3044\u3068\u304d\u306f\u3001\u5f15\u6570\u3067\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-bash\">curl -fsSL https:\/\/claude.ai\/install.sh | bash -s stable\r\ncurl -fsSL https:\/\/claude.ai\/install.sh | bash -s 2.1.89<\/code><\/pre>\r\n\r\n<h2 id=\"windows-\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\" class=\"fz-xl\">Windows \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h2>\r\n<p class=\"fz-ss\">PowerShell \u3067\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-powershell\">irm https:\/\/claude.ai\/install.ps1 | iex<\/code><\/pre>\r\n<p class=\"fz-ss\">WinGet \u3092\u4f7f\u3046\u306a\u3089\u3001\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-powershell\">winget install Anthropic.ClaudeCode<\/code><\/pre>\r\n<p class=\"fz-ss\">WSL \u3092\u4f7f\u3046\u5834\u5408\u306f\u3001WSL \u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u3001Mac\u30fbLinux \u7528\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3082\u8d77\u52d5\u3082\u3001PowerShell \u3067\u306f\u306a\u304f WSL \u306e\u4e2d\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\r\n<p class=\"fz-ss\">Windows \u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u74b0\u5883\u3067\u306f\u3001Git Bash \u3092\u4f7f\u3046\u69cb\u6210\u304c\u3042\u308a\u307e\u3059\u3002\u30d1\u30b9\u304c\u901a\u3089\u306a\u3044\u3068\u304d\u306f\u3001\u74b0\u5883\u5909\u6570 <code>CLAUDE_CODE_GIT_BASH_PATH<\/code> \u306b <code>bash.exe<\/code> \u306e\u5834\u6240\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u306e\u9078\u3073\u65b9\u307e\u3067\u542b\u3081\u305f\u624b\u9806\u306f\u3001<a href=\"https:\/\/code-plus.jp\/gp\/windows-claude-code-10881\/\" class=\"link\">Windows \u306b Claude Code \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5<\/a>\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n<h2 id=\"\u521d\u56de\u8d77\u52d5\u3068\u8a8d\u8a3c\" class=\"fz-xl\">\u521d\u56de\u8d77\u52d5\u3068\u8a8d\u8a3c<\/h2>\r\n<p class=\"fz-ss\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u4f5c\u696d\u3057\u305f\u3044\u30d5\u30a9\u30eb\u30c0\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u3001<code>claude<\/code> \u3068\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-bash\">claude<\/code><\/pre>\r\n<p class=\"fz-ss\">\u521d\u56de\u306f\u30d6\u30e9\u30a6\u30b6\u304c\u958b\u304f\u306e\u3067\u3001\u753b\u9762\u306e\u6307\u793a\u306b\u5f93\u3063\u3066\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002Claude Code \u3092\u4f7f\u3046\u306b\u306f\u3001Claude \u306e\u6709\u6599\u30d7\u30e9\u30f3\u304b Console \u30a2\u30ab\u30a6\u30f3\u30c8\u306a\u3069\u304c\u5fc5\u8981\u3067\u3059\u3002\u5bfe\u8c61\u306b\u306a\u308b\u30a2\u30ab\u30a6\u30f3\u30c8\u306f\u5909\u308f\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u516c\u5f0f\u306e\u8a8d\u8a3c\u30da\u30fc\u30b8\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n\r\n<h2 id=\"\u8a8d\u8a3c\u30a8\u30e9\u30fc\u306f-login-\u304b-logout-\u3067\u76f4\u3059\" class=\"fz-xl\">\u8a8d\u8a3c\u30a8\u30e9\u30fc\u306f \/login \u304b \/logout \u3067\u76f4\u3059<\/h2>\r\n<p class=\"fz-ss\"><code>API Error: 401<\/code> \u3084 <code>OAuth token has expired<\/code> \u306f\u3001\u8a8d\u8a3c\u304c\u5207\u308c\u3066\u3044\u308b\u3068\u304d\u306b\u51fa\u307e\u3059\u3002Claude Code \u306e\u4e2d\u3067\u3001\u307e\u305a\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-text\">\/status<\/code><\/pre>\r\n<p class=\"fz-ss\">\u518d\u8a8d\u8a3c\uff08\u30ed\u30b0\u30a4\u30f3\u3057\u76f4\u3057\uff09\u306f\u3001<code>\/login<\/code> \u3067\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-text\">\/login<\/code><\/pre>\r\n<p class=\"fz-ss\">\u76f4\u3089\u306a\u3044\u3068\u304d\u306f\u3001\u3044\u3063\u305f\u3093\u30ed\u30b0\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-text\">\/logout<\/code><\/pre>\r\n<p class=\"fz-ss\">\u305d\u306e\u3042\u3068 <code>Ctrl + C<\/code> \u3067 Claude Code \u3092\u7d42\u4e86\u3057\u3001\u3082\u3046\u4e00\u5ea6 <code>claude<\/code> \u3092\u8d77\u52d5\u3057\u3066\u3001\u8a8d\u8a3c\u3092\u3084\u308a\u76f4\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<h2 id=\"\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u624b\u9806\" class=\"fz-xl\">\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u624b\u9806<\/h2>\r\n<p class=\"fz-ss\">\u52d5\u304b\u306a\u3044\u539f\u56e0\u304c\u5206\u304b\u3089\u306a\u3044\u3068\u304d\u306f\u3001\u5165\u308c\u76f4\u3059\u306e\u304c\u65e9\u9053\u3067\u3059\u3002Mac\u30fbLinux \u306e\u624b\u9806\u3067\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<h3 id=\"1-claude-code-\u3092\u7d42\u4e86\u3059\u308b\" class=\"fz-ml\">1. Claude Code \u3092\u7d42\u4e86\u3059\u308b<\/h3>\r\n<p class=\"fz-ss\">\u6b21\u306e\u3069\u308c\u304b\u3067\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<ul style=\"list-style-type:bullet;\" class=\"my-0.5r\">\r\n  <li><code>Ctrl + C<\/code><\/li>\r\n  <li><code>Ctrl + D<\/code><\/li>\r\n  <li><code>\/exit<\/code>\u3001\u307e\u305f\u306f <code>\/quit<\/code><\/li>\r\n<\/ul>\r\n<p class=\"fz-ss\">\u30d7\u30ed\u30bb\u30b9\u304c\u6b8b\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u78ba\u8a8d\u3057\u3066\u6b62\u3081\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-bash\">ps aux | grep claude\r\nkillall claude<\/code><\/pre>\r\n\r\n<h3 id=\"2-\u4eca\u306e\u5165\u308c\u65b9\u3092\u78ba\u8a8d\u3057\u3066\u53e4\u3044\u7248\u3092\u6d88\u3059\" class=\"fz-ml\">2. \u4eca\u306e\u5165\u308c\u65b9\u3092\u78ba\u8a8d\u3057\u3066\u3001\u53e4\u3044\u7248\u3092\u6d88\u3059<\/h3>\r\n\r\n<pre><code class=\"language-bash\">which claude<\/code><\/pre>\r\n<p class=\"fz-ss\">\u5165\u308c\u65b9\u306b\u5408\u308f\u305b\u3066\u3001\u53e4\u3044\u7248\u3092\u6d88\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<table class=\"table my-0.75r\">\r\n  <thead>\r\n    <tr>\r\n      <th>\u5165\u308c\u65b9<\/th>\r\n      <td>\u524a\u9664\u30b3\u30de\u30f3\u30c9<\/td>\r\n    <\/tr>\r\n  <\/thead>\r\n  <tbody>\r\n    <tr>\r\n      <th>npm<\/th>\r\n      <td><code>npm uninstall -g @anthropic-ai\/claude-code<\/code><\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>Homebrew<\/th>\r\n      <td><code>brew uninstall --cask claude-code<\/code><\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>WinGet<\/th>\r\n      <td><code>winget uninstall Anthropic.ClaudeCode<\/code><\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>\u65e7\u30ed\u30fc\u30ab\u30eb\u7248\uff08<code>~\/.claude\/local<\/code>\uff09<\/th>\r\n      <td><code>rm -rf ~\/.claude\/local<\/code><\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>\u30cd\u30a4\u30c6\u30a3\u30d6\u7248<\/th>\r\n      <td>\u6d88\u3055\u305a\u306b\u3001\u305d\u306e\u307e\u307e\u6b21\u306e\u624b\u9806\u3067\u4e0a\u66f8\u304d\u3059\u308b<\/td>\r\n    <\/tr>\r\n  <\/tbody>\r\n<\/table>\r\n<p class=\"fz-ss\"><code>~\/.claude<\/code> \u306b\u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3084 <code>CLAUDE.md<\/code> \u304c\u5165\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u5168\u4f53\u306f\u6d88\u3055\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<p class=\"fz-ss\">npm \u7248\u306e\u5165\u308c\u76f4\u3057\u3067\u5931\u6557\u3059\u308b\u3068\u304d\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6d88\u3059\u3068\u76f4\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-bash\">npm cache clean --force<\/code><\/pre>\r\n\r\n<h3 id=\"3-\u53e4\u3044\u8a2d\u5b9a\u3092\u7247\u3065\u3051\u308b\" class=\"fz-ml\">3. \u53e4\u3044\u8a2d\u5b9a\u3092\u7247\u3065\u3051\u308b<\/h3>\r\n<p class=\"fz-ss\"><code>.zshrc<\/code> \u306a\u3069\u306b\u3001\u53e4\u3044\u30a8\u30a4\u30ea\u30a2\u30b9\u3084 PATH \u306e\u8a2d\u5b9a\u304c\u6b8b\u3063\u3066\u3044\u308b\u3068\u3001\u5165\u308c\u76f4\u3057\u3066\u3082\u53e4\u3044\u7248\u304c\u547c\u3070\u308c\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-bash\">grep -r \"claude\" ~\/.zshrc ~\/.zprofile ~\/.bashrc ~\/.bash_profile 2&gt;\/dev\/null<\/code><\/pre>\r\n<p class=\"fz-ss\">Claude \u306b\u95a2\u4fc2\u3059\u308b\u884c\u3092\u6d88\u3057\u3066\u3001\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307f\u76f4\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<pre><code class=\"language-bash\">source ~\/.zshrc\r\nhash -r<\/code><\/pre>\r\n\r\n<h3 id=\"4-\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u3092\u5165\u308c\u308b\" class=\"fz-ml\">4. \u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u3092\u5165\u308c\u308b<\/h3>\r\n\r\n<pre><code class=\"language-bash\">curl -fsSL https:\/\/claude.ai\/install.sh | bash<\/code><\/pre>\r\n<p class=\"fz-ss\">npm \u7248\u304c\u5165\u3063\u3066\u3044\u308b\u74b0\u5883\u304b\u3089\u306f\u3001<code>claude install<\/code> \u3067\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u306b\u79fb\u3059\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n<h3 id=\"5-\u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b\" class=\"fz-ml\">5. \u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\r\n\r\n<pre><code class=\"language-bash\">which claude\r\nclaude --version\r\nclaude doctor<\/code><\/pre>\r\n\r\n<h2 id=\"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u30a8\u30e9\u30fc\u5225\u5bfe\u51e6\" class=\"fz-xl\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306e\u30a8\u30e9\u30fc\u5225\u5bfe\u51e6<\/h2>\r\n\r\n<table class=\"table my-0.75r\">\r\n  <thead>\r\n    <tr>\r\n      <th>\u30a8\u30e9\u30fc\u30fb\u75c7\u72b6<\/th>\r\n      <td>\u539f\u56e0<\/td>\r\n      <td>\u5bfe\u51e6<\/td>\r\n    <\/tr>\r\n  <\/thead>\r\n  <tbody>\r\n    <tr>\r\n      <th><code>command not found: claude<\/code><\/th>\r\n      <td>PATH \u304c\u53cd\u6620\u3055\u308c\u3066\u3044\u306a\u3044<\/td>\r\n      <td>\u65b0\u3057\u3044\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304f\u3002<code>which claude<\/code> \u3067\u5834\u6240\u3092\u78ba\u8a8d\u3057\u3001PATH \u3092\u898b\u76f4\u3059<\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th><code>zsh: no such file or directory: \/Users\/...\/claude<\/code><\/th>\r\n      <td>\u53e4\u3044 PATH \u3084\u30a8\u30a4\u30ea\u30a2\u30b9\u304c\u6b8b\u3063\u3066\u3044\u308b<\/td>\r\n      <td>\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u624b\u9806 3 \u3067\u8a2d\u5b9a\u3092\u7247\u3065\u3051\u308b<\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th><code>EACCES: permission denied<\/code>\uff08npm\uff09<\/th>\r\n      <td>npm \u306e\u30b0\u30ed\u30fc\u30d0\u30eb\u9818\u57df\u306e\u6a29\u9650\u3002<code>sudo<\/code> \u3067\u5165\u308c\u305f\u3053\u3068\u304c\u539f\u56e0\u306e\u3053\u3068\u304c\u591a\u3044<\/td>\r\n      <td><code>sudo<\/code> \u306f\u4f7f\u308f\u306a\u3044\u3002\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u306b\u79fb\u3059\u306e\u304c\u78ba\u5b9f\u3002nvm \u74b0\u5883\u306e\u76f4\u3057\u65b9\u306f<a href=\"https:\/\/code-plus.jp\/gp\/claude-code-update-8162\/\" class=\"link\">\u66f4\u65b0\u306e\u8a18\u4e8b<\/a>\u306b\u3042\u308a\u307e\u3059<\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>Node \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\uff08npm \u7248\uff09<\/th>\r\n      <td>Node.js 18 \u3088\u308a\u53e4\u3044<\/td>\r\n      <td><code>nvm install --lts<\/code> \u3067\u5165\u308c\u76f4\u3059\u304b\u3001Node.js \u304c\u8981\u3089\u306a\u3044\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u306b\u3059\u308b<\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th>\u5165\u308c\u305f\u306e\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u307e\u307e<\/th>\r\n      <td>\u8907\u6570\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u6df7\u5728\u3057\u3066\u3044\u308b<\/td>\r\n      <td><a href=\"https:\/\/code-plus.jp\/gp\/claude-code-update-8162\/\" class=\"link\">\u66f4\u65b0\u306e\u8a18\u4e8b<\/a>\u306e\u300c\u8907\u6570\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d<\/td>\r\n    <\/tr>\r\n    <tr>\r\n      <th><code>API Error: 401<\/code>\u3001<code>OAuth token has expired<\/code><\/th>\r\n      <td>\u8a8d\u8a3c\u304c\u5207\u308c\u3066\u3044\u308b<\/td>\r\n      <td><code>\/login<\/code>\u3001\u76f4\u3089\u306a\u3051\u308c\u3070 <code>\/logout<\/code> \u304b\u3089<\/td>\r\n    <\/tr>\r\n  <\/tbody>\r\n<\/table>\r\n\r\n<h2 id=\"\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u3092\u5165\u308c\u76f4\u3059\" class=\"fz-xl\">\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u3092\u5165\u308c\u76f4\u3059<\/h2>\r\n<p class=\"fz-ss\">\u300cClaude \u306b\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002\u5143\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5834\u6240\u304b\u3089\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u304b\u3001\u7ba1\u7406\u8005\u306b\u554f\u3044\u5408\u308f\u305b\u3066\u304f\u3060\u3055\u3044\u3002\u300d\u3068\u51fa\u308b\u5834\u5408\u306f\u3001Claude Code \u3067\u306f\u306a\u304f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30d7\u30ea\u306e\u554f\u984c\u3067\u3059\u3002Claude \u306e\u516c\u5f0f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u304b\u3089\u3001macOS \u7248\u304b Windows \u7248\u3092\u5165\u308c\u76f4\u3057\u307e\u3059\u3002\u4f1a\u793e\u306e\u7aef\u672b\u3067\u306f\u3001\u7ba1\u7406\u8005\u306b\u78ba\u8a8d\u304c\u8981\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n<h2 id=\"\u95a2\u9023\u8a18\u4e8b\" class=\"fz-xl\">\u95a2\u9023\u8a18\u4e8b<\/h2>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/claude-code-update-8162\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">claude update\uff5cClaude Code \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5\u3068\u3067\u304d\u306a\u3044\u6642\u306e\u5bfe\u51e6 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/eyec-claude-code.jpg?ver=20261102221635\" alt=\"claude update\uff5cClaude Code \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u65b9\u6cd5\u3068\u3067\u304d\u306a\u3044\u6642\u306e\u5bfe\u51e6 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">Claude Code \u3092\u6700\u65b0\u306b\u3059\u308b claude update \u306e\u624b\u9806\u3092\u3001\u78ba\u8a8d\u30b3\u30de\u30f3\u30c9\u304b\u3089\u89e3\u8aac\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5909\u308f\u3089\u306a\u3044\u3001\u6a29\u9650\u30a8\u30e9\u30fc\u3001nvm\u30fbPATH\u30fb\u8907\u6570\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u539f\u56e0\u306e\u5834\u5408\u306e\u76f4\u3057\u65b9\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/claude-code-context-8164\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">Claude Code \u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u7ba1\u7406\uff5c\/compact\u30fb\/clear\u30fb\/context \u306e\u4f7f\u3044\u5206\u3051\u3068\u30a8\u30e9\u30fc\u5bfe\u51e6 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/eyec-claude-code.jpg?ver=20261102221635\" alt=\"Claude Code \u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u7ba1\u7406\uff5c\/compact\u30fb\/clear\u30fb\/context \u306e\u4f7f\u3044\u5206\u3051\u3068\u30a8\u30e9\u30fc\u5bfe\u51e6 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">Claude Code \u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304c\u6ea2\u308c\u305f\u6642\u306e\u5bfe\u51e6\u3092\u89e3\u8aac\u3002\/context \u3067\u4f7f\u7528\u91cf\u3092\u78ba\u8a8d\u3057\u3001\/compact \u3068 \/clear \u3092\u4f7f\u3044\u5206\u3051\u308b\u65b9\u6cd5\u3001API Error 400 \u3068 429 \u306e\u539f\u56e0\u3068\u76f4\u3057\u65b9\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002Claude Code \u306e...\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/windows-claude-code-10881\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">Windows \u306b Claude Code \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3010Windows Terminal + PowerShell \u3067\u7c21\u5358\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3011 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/SS-2026-02-07_010237-4.png?ver=20261102221635\" alt=\"Windows \u306b Claude Code \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3010Windows Terminal + PowerShell \u3067\u7c21\u5358\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3011 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">Windows Terminal \u3068 PowerShell \u3092\u4f7f\u3063\u3066 Claude Code \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Node.js \u306e\u5c0e\u5165\u304b\u3089\u8a8d\u8a3c\u307e\u30673\u30b9\u30c6\u30c3\u30d7\u3067\u5b8c\u4e86\u3002Git Bash \u3084 WSL \u3068\u306e\u6bd4\u8f03\u3001\u304a\u3059\u3059\u3081\u306e\u30bf\u30fc\u30df\u30ca\u30eb...\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/claude-settings-10846\/\" class=\"linkbox my-1.5r\">\n<strong class=\"linkbox-title fz-md\">Claude Code \u306e settings.json \u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308b\u304a\u3059\u3059\u3081\u8a2d\u5b9a\u307e\u3068\u3081\u30102026\u5e74\u7248\u3011 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09<\/strong>\n<picture class=\"linkbox-thumbnail\">\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/Claude-C_2601151637-5.jpg?ver=20261102221635\" alt=\"Claude Code \u306e settings.json \u30b3\u30d4\u30da\u3067\u4f7f\u3048\u308b\u304a\u3059\u3059\u3081\u8a2d\u5b9a\u307e\u3068\u3081\u30102026\u5e74\u7248\u3011 | CODE PLUS\uff08\u30b3\u30fc\u30c9\u30d7\u30e9\u30b9\uff09\" loading=\"lazy\" \/>\n<\/picture>\n<span class=\"linkbox-excerpt\">Claude Code \u306e settings.json \u306e\u304a\u3059\u3059\u3081\u8a2d\u5b9a\u3092\u30b3\u30d4\u30da\u7528\u30b3\u30fc\u30c9\u3068\u5171\u306b\u89e3\u8aac\u3002permissions\u30fbhooks\u30fbenv \u306e\u5404\u9805\u76ee\u306e\u610f\u5473\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u3068\u30ed\u30fc\u30ab\u30eb\u306e\u4f7f\u3044\u5206\u3051\u3001statusLine \u306a\u3069\u306e\u5fdc\u7528\u8a2d\u5b9a\u307e\u3067\u7db2\u7f85\u3057\u305f\u5b9f\u8df5\u30ac\u30a4\u30c9...\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\n<\/span>\n<\/a>\r\n","protected":false},"excerpt":{"rendered":"Claude Code \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092 Windows\u30fbMac \u5225\u306b\u89e3\u8aac\u3002\u516c\u5f0f\u63a8\u5968\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3001npm \u7248\u304b\u3089\u306e\u79fb\u884c\u3001command not found \u3068\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08\/login\uff09\u306e\u76f4\u3057\u65b9\u307e\u3067\u307e\u3068\u3081\u307e\u3057\u305f\u3002","protected":false},"author":1,"featured_media":15955,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[18],"tags":[1071,1069,1070,1058,434,344,329,277,173,154],"group":[],"pg":[],"class_list":["post-15950","post","type-post","status-publish","format-standard","has-post-thumbnail","category-aicoding","tag-command-not-found","tag-1069","tag-1070","tag-claude-doctor","tag-windows","tag-344","tag-329","tag-claude-code","tag-mac","tag-npm"],"acf":[],"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/15950","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=15950"}],"version-history":[{"count":3,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/15950\/revisions"}],"predecessor-version":[{"id":15959,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/15950\/revisions\/15959"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media\/15955"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=15950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=15950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=15950"},{"taxonomy":"group","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/group?post=15950"},{"taxonomy":"pg","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/pg?post=15950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}