1
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をVSCode(devcontainer)で動かすための備忘録

Last updated at Posted at 2025-06-03

概要

VSCodeにClaude Codeを導入するに際して、入口で少し迷ったので忘備録として記します

アカウント準備

  1. Claudeのアカウントを作成する
    https://claude.ai/

  2. Maxプランに加入する
    APIでも使えますが結構割高になったりするので、日常的に利用する場合はあまり推奨しないです

devcontainerに導入する

devcontainer.json"features""ghcr.io/anthropics/devcontainer-features/claude-code:1.0"を追加します。

{
    "name": "sample",
    "build": {
        "dockerfile": "Dockerfile"
    },
    "features": {
        "ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {}
    }
}

VSCodeに拡張機能を追加する

devcontainer上でターミナルを開き、claudeと入力してください。
セットアップ作業が始まるので、表示される内容に沿ってアカウント連携などを進めていきます。

$ claude

以上

1
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
1
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?