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?

Claude Code 備忘録

Last updated at Posted at 2025-06-18

Claude Codeとは

Anthropic社が開発したエージェント型コーディングツール

準備

  1. Claudeのアカウント作成
  2. Claude Codeの利用対象となるいずれかのプラン(※)を契約
  • ※2025年6月16日現在ではPro(20ドル/月)、Max(100ドル~/月)、または従量課金制。

homebrewのインストール:Node.jsのインストールに必要

Node.jsのインストール:Claude Codeをインストールするためのnpmコマンドに必要

brew install node

本命のClaude Codeをインストール

npm install -g @anthropic-ai/claude-code

Claudeへログイン

claude "/login"
  1. テーマを選んで(あとから変更可)
  2. アカウント連携または従量課金制を選択
    スクリーンショット 2025-06-16 22.16.14.png

つかう

開始と終了

起動したいディレクトリに移動して

claude

終わる時は

/exit

基本コマンド

CLAUDE.md

必ず日本語で回答してください。

を追加しておくとよい。

※既存プロジェクトの場合は/initでコードから読み取ってCLAUDE.mdを作成してくれる。

参考

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?