2026年10月15日 星期四

Claude Code 學習筆記 : 用 Anthropic Console Account 驗證登入

我自從 6/4 儲值 10 美元買了 Claude API 使用量後一直沒時間做測試, 因今天晚上知識衛星花芸曦老師的 Vibe coding 課程需要用到 Claude code, 所以需要先測試看看能否使用. 參考 :


Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS D:\> cd claude_code 
PS D:\claude_code> claude  

按 Enter 用預設 Dark mode :




按向下鍵勾選 "Anthropic Console Account" 按 Enter :




這時會開啟瀏覽器顯示登入頁面, 輸入 Email 按 "使用電子郵件繼續" (Anthropic 使用 Email 寄送隨機驗證碼來登入, 不使用設定密碼) :




這時要去信箱收信, 按下信中的 Sign in 鈕 : 



這時會顯示認證碼, 記下來後回到登入頁面, 底下會出現一個輸入框, 填入此認證碼後按按 "驗證電子郵件地址" :




按 "授權" 鈕即完成帳號認證 :




關掉認證頁面即可 : 



這時 Claude code 終端機會顯示登入成功訊息, 按 Enter : 




再按 Enter :




詢問是否信任此資料夾, 選預設 1. Yes, proceed : 




這樣就可以開始使用 Claude Code 了 : 




可見預設使用 Sonnet 4.5 模型, 可以用 /model 指令切換成別的模型. 

沒有留言 :