iOS/iPhone/iPad/watchOS/tvOS/MacOSX/Android プログラミング, Objective-C, Cocoa, Swiftなど
macOSで可能な限りシステムを汚さないでClaude Codeを使う環境準備の手順を記録に残す。
Homebrewをインストールする。
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
.zprofileに以下を追加。
eval "$(/opt/homebrew/bin/brew shellenv)"
Homebrewからnodebrewをインストールする。
$ brew install nodebrew
$ nodebrew setup
.zprofileに以下を追加。
export PATH=$HOME/.nodebrew/current/bin:$PATH"
Node.jsをインストールする。
$ nodebrew install-binary v22.14.0
$ nodebrew use v22.14.0
npmのインストール
$ npm install -g npm
npmインストールする。
$ npm install -g @anthropic-ai/claude-code
アカウントにログインする
$ claude
> /login
当該プロジェクトのディレクトリに移動して、Claude Codeを利用する。
$ cd /path/to/your/project
$ claude
質問集です。
> このプロジェクトは何をするものですか?
> このプロジェクトはどのような技術を使用していますか?
> メインエントリーポイントはどこですか?
> フォルダ構造を説明してください
英語も。
> what does this project do?
> what technologies does this project use?
> where is the main entry point?
> explain the folder structure