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アクティベートコードを切り替える

Posted at

概要

既にClaude CodeをPCにいれて、課金して使っていた。
このたび、とある理由でClaude Proのを別アカウントに切り替える必要があった。
公式の情報にたどり着くまで時間がかかったので方法をメモ的にまとめる。

前提

  • Macに既にClaude Codeが入っており、アクティベートされていること

方法

  1. ターミナルにて下記のコマンドを実行して完全にサインアウト(Successfully logged out from your Anthropic account.と表示されたら正常にログアウトできている)

    claude /logout
    
  2. 下記コマンドを実行して再度認証を実施

    claude
    
  3. Select login methodで新しいアカウントへのログインを求められる(今回はClaude account with subscriptionを選択)

  4. 切り替え先のアカウントでログインを実施

  5. ブラウザでClaudeが開くだけの場合があるのでターミナル上のリンクに再度アクセス

    CleanShot 2025-08-08 at 13.35.39.jpg

  6. 内容に問題がなければ「承認する」をクリック

    CleanShot 2025-08-08 at 13.38.08.jpg

  7. アクティベートコードをコピー

    CleanShot 2025-08-08 at 13.40.06.jpg

  8. ターミナルに貼り付け

    CleanShot 2025-08-08 at 13.40.50.jpg

  9. ターミナル側でClaude Codeのログインができれば完了

参考文献

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?