0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WinGet だけで Claude Code をインストールする

0
Posted at

主文

Powershell コマンドラインだけで Claude Code for Windows が依存する諸々もインストールしたい。

手動

途中でそれぞれのコマンドのインストーラーが起動されるので、適宜OKボタンをクリックしてインストールを進めてください。

※1 面倒なので一発で済ませろよ!って話は、一発インストーラーもGeminiに書かせてみた(そういえば何でClaudeじゃなくてGeminiに書かせたのだろう)のですが、パス通す部分のコードがレジストリ見に行くとかよろしくないので一旦保留します。
※2 npm で Cloude Code のインストールもできるようですが、公式ページによれば非推奨とのことでした。

1. NVM for Windows のインストール

 Power Shell から、

winget install CoreyButler.NVMforWindows

(path を有効化するために)一旦Powershell コマンドラインを閉じ、再度開く

2. Node.jsのインストール

 Power Shell から、

 nvm install lts

3. Git for Windows のインストール

Power Shell から、

winget install Git.Git

(path を有効化するために)一旦Powershell コマンドラインを閉じ、再度開く
4. Claude Code のインストール

Power Shell から、

winget install Anthropic.ClaudeCode

 (path を有効化するために)一旦Powershell コマンドラインを閉じ、再度開く

一発インストール

保留中

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?