ポッドキャストに戻るClaude
Claude Code 101
Claude Code のインストール
Cloud Code is simple to install whether you want to use it in your terminal, the web, or your IDE.
Cloud Code のインストールはシンプルで、ターミナル、ウェブ、IDE のいずれでも利用できます。
If you're on macOS, Linux, or WSL, use this curl command to install it in one go.
macOS、Linux、WSL をお使いの場合は、この curl コマンドを使って一括インストールできます。
If you prefer to use Homebrew, you can also use brew install to install it, but note that this doesn't have auto-update capabilities.
Homebrew を好む場合は brew install でもインストールできますが、自動更新には対応していないことに注意してください。
For Windows, there's also a couple ways.
Windows の場合も、いくつかの方法があります。
In PowerShell, use the Invoke-RestMethod command.
PowerShell では、Invoke-RestMethod コマンドを使用してください。
If you're on CMD, you can also use this curl command.
CMD の場合は、この curl コマンドを使うこともできます。
We also have a winget command as well if you prefer, but just like Homebrew, it won't auto-update.
winget コマンドもご利用いただけますが、Homebrew と同様に自動更新は行われません。
Now, go to your project directory and run cloud.
では、プロジェクトのディレクトリに移動して cloud を実行してください。
You will go through some initial instructions like choosing your color theme and signing in with your cloud account, which could be the pro, max, or enterprise.
カラーテーマの選択や、pro、max、enterprise などの cloud アカウントでのサインインなど、初期設定の手順が表示されます。
Or you can use an API key.
または API key を使用することもできます。
If your organization has a cloud enterprise account, be sure to select that option.
組織が cloud enterprise アカウントを持っている場合は、必ずそのオプションを選択してください。
Whatever directory you decide to run cloud in, it will have access to that directory and all of its subfolders.
どのディレクトリで cloud を実行しても、そのディレクトリとすべてのサブフォルダにアクセスできます。
In Visual Studio Code, open up your extensions panel and search for Cloud Code.
Visual Studio Code では、拡張機能パネルを開いて Cloud Code を検索してください。
You will see the extension by Anthropic.
Anthropic による拡張機能が表示されます。
Make sure it has the blue check and hit install.
青いチェックマークがついていることを確認してインストールをクリックしてください。
After installation, you might need to restart VS Code.
インストール後、VS Code の再起動が必要な場合があります。
After that, you can open up the control palette with control or command and shift and P and search Cloud Code.
その後、Ctrl または Command と Shift と P でコマンドパレットを開き、Cloud Code を検索してください。
Open a new tab.
新しいタブを開きます。
You can also click on the cloud logo if you see it when a file is open.
ファイルを開いているときに cloud のロゴが表示されていれば、それをクリックすることもできます。
You can also opt out of the UI and just use the terminal experience directly in your settings file.
設定ファイルで UI を使わず、ターミナル体験のみを直接使うよう設定することもできます。
For JetBrains IDEs, you can install the Cloud Code plugin from the JetBrains Marketplace.
JetBrains IDE の場合は、JetBrains Marketplace から Cloud Code プラグインをインストールできます。
Once you install, restart your IDE.
インストールしたら、IDE を再起動してください。
And when you reopen, you'll see the cloud logo.
再度開くと、cloud のロゴが表示されます。
This will open up a pane where you can see the terminal experience.
これにより、ターミナル体験を確認できるペインが開きます。
And this will work alongside you.
これはあなたと並走して動作します。
On Cloud Desktop, you can also run Cloud Code.
Cloud Desktop でも Cloud Code を実行できます。
After you install Cloud Desktop and signed in, you will see a toggle at the top that says code.
Cloud Desktop をインストールしてサインインすると、上部に「code」と書かれたトグルが表示されます。
The look and feel is similar to Claude chat side of things, but allows you to work in a specific folder, change permissions, and even work in a cloud environment.
見た目や操作感は Claude のチャット画面に似ていますが、特定のフォルダでの作業、権限の変更、cloud 環境での作業も可能です。
On the web, you can access Claude code by going to claude.ai/code.
ウェブでは、claude.ai/code にアクセスして Claude code を利用できます。
This works very similar to the desktop app.
これはデスクトップアプリと非常に似た動作をします。
However, you're restricted to GitHub repositories only.
ただし、GitHub リポジトリのみに制限されています。
If you want to constantly keep up to date with everything, the terminal is the best bet.
常に最新の状態を保ちたい場合は、ターミナルが最善の選択肢です。
Features ship there the fastest.
機能はターミナルに最も早く届きます。
For the most part, you'll have extremely similar experiences with the IDE integrations if you like Claude code to feel more intertwined with your favorite code editor.
Claude code がお気に入りのコードエディタとより深く連携してほしい場合は、IDE 統合でも非常に似た体験が得られます。
Desktop is great for letting Claude run in the background while you run other tasks.
Desktop は Claude をバックグラウンドで実行しながら他の作業を行うのに最適です。
Claude code on the web is a great option if you want to remotely work on a project through a GitHub repository or have multiple sessions work in parallel.
GitHub リポジトリを通じてリモートでプロジェクトに取り組みたい場合や、複数のセッションを並行して動かしたい場合は、Claude code のウェブ版が優れた選択肢です。
However, you want to use Claude code, it's up to you.
Claude code をどのように使うかは、あなた次第です。