『 踩坑經驗分享 』Claude Code 入門:Windows, Mac 安裝、 AI 專案初始化模板、Gemini CLI適用、九大必學技巧、並列執行加速器

HC AI說人話 June 24, 2025
Video Thumbnail

About

No channel description available.

Video Description

☕ 支持我的創作 (Buy me a Coffee): https://donate.stripe.com/bIYfZ51uT8yGd7qdQS HC Claude Code 專案啟動模板~ - https://ultrclick.gumroad.com/l/ClaudeCodeStartTemplate 💡如果對分享內容有什麼感想 📧 email 聯絡我: [email protected] 🚀 立即開始學習 Claude Code,讓 AI 成為你最強大的開發夥伴! Timeline (時間戳記): 00:00 開場 - 為何選擇 Claude Code & 模板介紹 01:12 為何開始使用 Claude Code 03:26 Claude Code 如何為既有系統升級與 N8N 賦能 03:54 Claude Code Mac 安裝教學 (Node.js & NPM) 05:32 Claude Code Windows 安裝教學 (WSL, Ubuntu, Node.js) 10:16 Claude Code 初始化設定 (佈景主題、帳號登入、訂閱方案) 11:41 如何在 Mac 與 Windows (VS Code) 中正確啟動 Claude Code 並指定專案目錄 17:27 使用 HC 專案模板初始化 Claude Code 專案 18:21 如何將檔案 (文字檔/圖片) 提供給 Claude Code 讀取 19:06 模板引導:專案名稱、描述、類型 (Simple/Standard/AI/ML/Custom) 20:47 整合 GitHub:建立遠端 Repository 與本地 Git 初始化 22:33 Claude Code 的計畫拆解 (Plan Breakdown) 與 .claude.md 規則檔案 25:23 Git 本地版本控制設定與自動化 (Git Init, Config, Add, Commit) 26:59 AI 自動生成 .gitignore 與 README.md (含專案架構) 29:06 將本地專案 Push 到 GitHub (雲端備份與認證) 35:43 測試 GitHub 自動備份功能 36:40 開始實作 AI SEO 分析工具專案 37:07 Claude Code 核心指令詳解 (Clear, Compact, IDE, Init, MCP, Memory, Model 等) 40:15 Context Window 管理:Clear 與 Compact 指令的應用時機 44:20 專案實戰:設定 .env 環境變數 (Gemini API Key) 與 npm install 46:33 啟動並測試 AI SEO 分析工具 & 初步 Debug 47:33 利用 Claude Code 的 Web Search 功能解決 API Model 問題 50:48 SEO 分析工具成功運作!測試不同網站 51:20 專案升級:整合 Playwright (MCP) 實現自動化測試 51:55 Claude Code 並行任務 (Multitasking) 展示與注意事項 55:08 Context Window 百分比與 Auto Compact 機制 56:16 Playwright MCP 整合 Debug 與 AI 自我修正過程 59:17 版本控制妙用:利用 Git 歷史紀錄回溯或修復被 AI 改壞的程式碼 01:01:21 Claude Code 使用九大技巧總結複習 01:06:16 Claude Code 應用:AI 深度研究 (Deep Research) 01:07:26 Claude Code 與 N8N 整合的潛力 01:08:04 總結與模板價值分享 01:08:23 結尾 🔗 資源連結: - Node.js 官方: https://nodejs.org/ - Claude (Anthropic) 官方: https://docs.anthropic.com/en/docs/claude-code/overview - GitHub: https://github.com/ - VS Code: https://code.visualstudio.com/ - Windows WSL 安裝指南: https://learn.microsoft.com/zh-tw/windows/wsl/install - Google Gemini API: https://ai.google.dev/ ✨ 在本教學中,您將學會: ✅ 為何選擇 Claude Code 及其帶來的價值 (真實企業改造案例)。 ✅ 在 Mac 上安裝 Node.js, NPM 及 Claude Code。 ✅ 在 Windows 上透過 WSL (Windows Subsystem for Linux) 與 Ubuntu 環境安裝 Claude Code。 ✅ Claude Code 的基本設定:佈景主題 (Dark Mode)、帳號登入與訂閱方案。 ✅ 如何在不同作業系統中正確啟動並於指定專案資料夾內使用 Claude Code (含 VS Code 整合技巧)。 ✅ 使用 HC 提供的 Claude Code 專案模板進行專案初始化 (含專案命名、描述、類型選擇)。 ✅ 整合 GitHub 進行版本控制:建立 Repository、本地 Git 初始化、Commit 與 Push。 ✅ 理解 .claude.md 檔案的重要性與自訂規則。 ✅ Claude Code 的核心指令與操作模式 (Plan Mode, Code Mode, Compact, Clear, Web Search)。 ✅ AI 輔助除錯:如何讓 Claude Code 分析錯誤訊息並提出修復方案。 ✅ 利用 Git 版本歷史回溯或參考先前可運作的程式碼版本。 ✅ Claude Code 的進階應用:MCP (Multi-Capability Plan) 與並行任務 (Multitasking)。 ✅ 管理 Claude Code 的 Context Window 與 Token 用量。 ✅ 實戰:從零開始開發一個 AI SEO 分析工具 (整合 Gemini API)。 ✅ 如何讓 Claude Code 進行深度研究 (Deep Research) 並應用於專案。 ✅ Claude Code 與 N8N 等自動化工具的潛在整合。 無論你是開發新手還是資深工程師,Claude Code 都能革新你的工作流程!本教學將詳細解說在 Mac 和 Windows 系統上的安裝步驟、如何使用 AI 模板高效初始化專案,以及九大使用要點,讓你輕鬆駕馭 AI 編程。 釋放 AI 程式碼助理 Claude Code 的強大潛力,徹底改變你的開發流程!這部完整的 Claude Code 教學 (繁體中文) 將帶你一步步從零開始,無論你使用 Mac 還是 Windows (透過 WSL 與 Ubuntu),都能輕鬆完成安裝與設定。HC Chang 將分享他數百小時的使用心得,提供一個精心設計的專案初始化模板,讓你告別繁瑣設定,快速啟動 AI 輔助開發,並學習如何讓 AI 遵循你的專案規範與架構,寫出乾淨、高效的程式碼。 影片中,我們將深入探討為何你需要 Claude Code、如何整合 GitHub 進行版本控制、AI 如何協助規劃與統整專案,以及使用 Claude Code 時必須注意的九大要點。我們還會透過一個實際的「AI SEO 分析工具」開發案例,展示 Claude Code 如何從概念發想、程式碼生成、錯誤修復 (debug),到整合外部 API (如 Google Gemini) 並利用其網頁搜尋能力,最終完成一個實用應用。 💡 如果這支影片對您有幫助,請「訂閱」頻道、「按讚」影片,並在下方「留言」分享您的想法或問題!您的支持是我們持續創作的最大動力! #ClaudeCode #AI編程 #程式自動化 #AI程式助理 #開發工具 #Mac安裝 #Windows安裝 #WSL #VSCode #GitHub #Git #NodeJS #NPM #TechTutorial #繁體中文 #AI教學 #HCAI #專案管理 #自動化開發 #GeminiAPI #SEO工具 #GeminiCLI

You May Also Like

Upgrade Your Everyday

AI-recommended products based on this video

Loading...
Kasa Smart Outdoor Smart Plug by TP-Link (KP400) - Smart WiFi Outlet with 2 Sockets, IP64 Waterproof, Works with Alexa and Google Home, 2.4GHz WiFi Required, No Hub Required, Sunset & Sunrise Offset

Kasa Smart Outdoor Smart Plug by TP-Link (KP400) - Smart WiFi Outlet with 2 Sockets, IP64 Waterproof, Works with Alexa and Google Home, 2.4GHz WiFi Required, No Hub Required, Sunset & Sunrise Offset

(28,846)
$21.99$17.99
FREE delivery Wed, Aug 20 on your first order
1K+ bought in past month
Loading...
Oraolo Open Ear Headphones, Bluetooth 5.4 Wireless Earbuds with Stereo Sound, ENC Clear Call, 21H Playtime, Type-C Charging, Touch Control, IPX6 Waterproof Open Ear Clip-On Earbuds for outdoor workout

Oraolo Open Ear Headphones, Bluetooth 5.4 Wireless Earbuds with Stereo Sound, ENC Clear Call, 21H Playtime, Type-C Charging, Touch Control, IPX6 Waterproof Open Ear Clip-On Earbuds for outdoor workout

(4)
$29.99
FREE delivery Sat, Apr 11 on your first order
50+ bought in past month
Loading...
Open Ear Wireless Earbuds, Sports Bluetooth Headphones with Real Time Translation, 80Hrs Playtime with LED Power Display, Noise Canceling Headset, IP55 Waterproof Earphones for Workout/Running (Black)

Open Ear Wireless Earbuds, Sports Bluetooth Headphones with Real Time Translation, 80Hrs Playtime with LED Power Display, Noise Canceling Headset, IP55 Waterproof Earphones for Workout/Running (Black)

(109)
$79.99
FREE delivery Sat, Apr 11
1K+ bought in past month
Loading...
Wireless Earbuds, Sports Bluetooth Headphones, 80Hrs Playtime Ear Buds with LED Power Display, Noise Canceling Headset, IPX7 Waterproof Earphones for Workout/Running Z(Black)

Wireless Earbuds, Sports Bluetooth Headphones, 80Hrs Playtime Ear Buds with LED Power Display, Noise Canceling Headset, IPX7 Waterproof Earphones for Workout/Running Z(Black)

(3)
$29.99
FREE delivery May 1 - 22
Loading...
Monster Wireless Earbuds Open Ear AC311, Bluetooth 5.4 Open Ear Headphones, Up to 30 Hours Playtimes Bluetooth Ear Earphones with Stereo Sound, Touch Control and IPX5 Waterproof Open Ear Buds

Monster Wireless Earbuds Open Ear AC311, Bluetooth 5.4 Open Ear Headphones, Up to 30 Hours Playtimes Bluetooth Ear Earphones with Stereo Sound, Touch Control and IPX5 Waterproof Open Ear Buds

(2)
$89.99
FREE delivery Fri, Apr 3
Loading...
Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

Brita Stainless Steel Premium Filtering Water Bottle, BPA-Free, Reusable, Insulated, Replaces 300 Plastic Water Bottles, Filter Lasts 2 Months or 40 Gallons, Includes 1 Filter, Carbon - 20 oz.

(2,652)
$81.37$76.36
FREE delivery Sep 29 - Oct 2
Loading...
Simple Modern Filtered Water Bottle | Insulated Stainless-Steel Carbon Filter Travel Water Bottles | Reusable for Clean Drinking Water On The Go | 24oz, Sea Glass Sage

Simple Modern Filtered Water Bottle | Insulated Stainless-Steel Carbon Filter Travel Water Bottles | Reusable for Clean Drinking Water On The Go | 24oz, Sea Glass Sage

(26)
$30.13
FREE delivery Tue, Sep 23 on your first order
Loading...
FITVII Health & Fitness Tracker (Answer/Make Calls), Smart Watch with 24/7 Heart Rate and Blood Pressure, Sleep Tracking Monitor, 120+ Sport Mode Activity Tracker

FITVII Health & Fitness Tracker (Answer/Make Calls), Smart Watch with 24/7 Heart Rate and Blood Pressure, Sleep Tracking Monitor, 120+ Sport Mode Activity Tracker

(198)
$59.99
FREE delivery Sun, Aug 10
100+ bought in past month
Loading...
AYATAHA AYATAHA Smart Watch for Kids, Smartwatch Fitness Tracker for Boys Girls, Children's Activity Watch 37 Sports Modes SMS Notification, HD Full Touchscreen IP67 Waterproof, Blue

AYATAHA AYATAHA Smart Watch for Kids, Smartwatch Fitness Tracker for Boys Girls, Children's Activity Watch 37 Sports Modes SMS Notification, HD Full Touchscreen IP67 Waterproof, Blue

(55)
$41.99
PrimeFREE delivery Sat, Jun 14
Loading...
Iaret Iaret Smart Watch for Women, 1.83" HD Fitness Tracker with 4 Bands, Answer/Make Calls, Heart Rate/Sleep/SpO2/Step Tracking, 100+ Sport Modes, Android/iPhone Compatible Gift (Rose Gold)

Iaret Iaret Smart Watch for Women, 1.83" HD Fitness Tracker with 4 Bands, Answer/Make Calls, Heart Rate/Sleep/SpO2/Step Tracking, 100+ Sport Modes, Android/iPhone Compatible Gift (Rose Gold)

(42)
$59.99
FREE delivery Thu, Jun 19
100+ bought in past month
Loading...
Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

Smart Watch for Men Women 1.8" Fitness Tracker, Bluetooth Call, DIY Dial, Heart Rate Sleep Blood Oxygen Monitor, 100+ Sports Modes, IP68 Waterproof Smartwatch for Android iPhone, Alexa Built-in

(980)
$39.99
FREE delivery Sun, Sep 21
300+ bought in past month
Loading...
Hand Warmers 2 Pack, 14000mAh Rechargeable Hand Warmers, Electric Hand Warmer Reusable, Portable Power Bank USB Hand Warmers 4 Levels 8 Heating, Gifts for Raynauds Ski Golf Camping

Hand Warmers 2 Pack, 14000mAh Rechargeable Hand Warmers, Electric Hand Warmer Reusable, Portable Power Bank USB Hand Warmers 4 Levels 8 Heating, Gifts for Raynauds Ski Golf Camping

(683)
$74.08$59.47
FREE delivery Jun 13 - 18
Loading...
Hand Warmers Rechargeable, 10000mAh Electric Heated Gloves Power Bank Portable Graphene Handwarmers Pouch with 3 Levels & Double-Sided Heating for Hunting Camping Golf Xmas Gifts for Women Men Kids

Hand Warmers Rechargeable, 10000mAh Electric Heated Gloves Power Bank Portable Graphene Handwarmers Pouch with 3 Levels & Double-Sided Heating for Hunting Camping Golf Xmas Gifts for Women Men Kids

(651)
$44.99
PrimeFREE delivery Sun, Jun 15
Loading...
2Pack Rechargeable Hand Warmer, 8000mAh Electric Hand Warmer Power Bank, Portable USB-C Hand Warmer for Pocket, Reusable Hand Warmer Up to 8 hrs Each, Warm Gift for Men Women, for Hunting, Camping
Amazon's Choice

2Pack Rechargeable Hand Warmer, 8000mAh Electric Hand Warmer Power Bank, Portable USB-C Hand Warmer for Pocket, Reusable Hand Warmer Up to 8 hrs Each, Warm Gift for Men Women, for Hunting, Camping

(1,128)
$15.99
FREE delivery Sat, Jun 14 on your first order
Loading...
GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

(334)
$42.99
FREE delivery Thu, Oct 16
1K+ bought in past month
Loading...
Monster Sleep Ear200, Wireless in-Ear Headphones, Bluetooth 6.0 Sleep Headphones, with ANC Active Noise Cancellation Designed for Side Sleepers, 30 Hours of bass Stereo Sound.

Monster Sleep Ear200, Wireless in-Ear Headphones, Bluetooth 6.0 Sleep Headphones, with ANC Active Noise Cancellation Designed for Side Sleepers, 30 Hours of bass Stereo Sound.

(10)
$39.99
FREE delivery Tue, Mar 24
Loading...
Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, White

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, White

(4)
$39.99
FREE delivery Mon, Mar 2
Loading...
Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

(15)
$39.99
FREE delivery Mon, Feb 23
Loading...
Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

Monster Sleep Ear100 Ear Buds, Sleep Earbuds with Stereo Sound, Design for Side Sleeper, 32H Playtime, Bluetooth 6.0, ENC Noise Cancelling, IPX6 Waterproof Mini Headphones, Black

(6)
$39.99
FREE delivery Sat, Dec 27
Loading...
Hydroponics Growing System Indoor Garden - Herb Garden with Grow Light, 15 Pods Stainless Steel Indoor Garden Kit, Auto Timer, Gardening Gift for All Ages

Hydroponics Growing System Indoor Garden - Herb Garden with Grow Light, 15 Pods Stainless Steel Indoor Garden Kit, Auto Timer, Gardening Gift for All Ages

(24)
$206.57$200.61
FREE delivery Jun 13 - 17
Loading...
Umbra Triflora Hanging Planter for Window, Indoor Herb Garden, Set of 5, White/Black

Umbra Triflora Hanging Planter for Window, Indoor Herb Garden, Set of 5, White/Black

(7,808)
$71.52
PrimeFREE delivery Sat, Jun 14
Loading...
Large Hydroponics Growing System 14 Pods, Indoor Herb Garden with LED Grow Light, 5L Water Tank, Hydroponic Grow Kit with 3 Auto-Timers, Rotatable Light Panel and Child Lock for Home School Gardening

Large Hydroponics Growing System 14 Pods, Indoor Herb Garden with LED Grow Light, 5L Water Tank, Hydroponic Grow Kit with 3 Auto-Timers, Rotatable Light Panel and Child Lock for Home School Gardening

(119)
$167.81
FREE delivery Jun 16 - 20
Loading...
Hanging Planter Hanging Plant Holder, 6 Inch 4 Indoor Plant Pots, Wall/Window Plant Hanger Indoor Herb Garden

Hanging Planter Hanging Plant Holder, 6 Inch 4 Indoor Plant Pots, Wall/Window Plant Hanger Indoor Herb Garden

(269)
$35.99$28.90
PrimeFREE delivery Sat, Jun 14
Loading...
slopehill Multi Hair Stylers & Hair Straightener - 2 in 1 Wet to Dry Air Straightener and Hair Dryer Combo with High Speed Air + Rapid Heat-Up + Customizable Temperature(Pink)

slopehill Multi Hair Stylers & Hair Straightener - 2 in 1 Wet to Dry Air Straightener and Hair Dryer Combo with High Speed Air + Rapid Heat-Up + Customizable Temperature(Pink)

(177)
$139.99
Prime
Loading...
Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

Hi.FANCY Portable Laptop Stand with Dual Cooling Fans for 14-17inch Laptops, Grey, 23.5 x 25.9 x 0.95cm

(0)
$36.99
FREE delivery Aug 18 - 28
Loading...
Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

Laptop Stand for Desk, Adjustable Laptop Riser ABS+Silicone Foldable Portable Laptop Holder, Ventilated Cooling Notebook Stand for 10-15.6” Laptops,Tablet-Black

(11,679)
$14.99
FREE delivery Sat, Jun 14 on your first order
500+ bought in past month
Loading...
JETech 5 in 1 Case for Samsung Galaxy S25 Ultra 5G with 2-Pack Each Tempered Glass Screen Protector and Camera Lens Protector, Non-Yellowing Shockproof Bumper Phone Cover (Clear)

JETech 5 in 1 Case for Samsung Galaxy S25 Ultra 5G with 2-Pack Each Tempered Glass Screen Protector and Camera Lens Protector, Non-Yellowing Shockproof Bumper Phone Cover (Clear)

(197)
$15.99
FREE delivery Sat, Jun 14 on your first order
100+ bought in past month
Loading...
TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

TAURI for iPhone 17 Pro Max Case 6.9" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

(0)
$10.76
FREE delivery Thu, Oct 16 on your first order
2K+ bought in past month
Loading...
TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard
Best Seller

TAURI for iPhone 17 Pro Case 6.3" with 1-Pack Screen Protector, Camera Lens Full Protection, Military-Grade Protection, Shockproof Transparent Back Bumper Phone Cover - Clear Global Recycled Standard

(61,696)
$10.76
Prime
2K+ bought in past month
Loading...
JOINPAYA 1Set Rechargeable Hand Warmer Hand Heater for Winter Heating Levels Compact

JOINPAYA 1Set Rechargeable Hand Warmer Hand Heater for Winter Heating Levels Compact

(0)
$9.29
FREE delivery Jun 20 - Jul 4
Loading...
Shakven Rechargeable Hand Warmer | Cute Comfortable Portable Hand Warmers,Ergonomic Adjustable Energy-Efficient Small Heater for Travel, Outdoor, Winter

Shakven Rechargeable Hand Warmer | Cute Comfortable Portable Hand Warmers,Ergonomic Adjustable Energy-Efficient Small Heater for Travel, Outdoor, Winter

(0)
$26.93
FREE delivery Jun 19 - Jul 2
Loading...
OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO

OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO

(50)
$39.99
PrimeFREE delivery Sat, Jun 14
Loading...
OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO

OCOOPA IP45 Waterproof Hand Warmer Rechargeable, Up to 15hrs Heat,10000mAh Durable Quick Charge Electric Hand Heater, PD Compatible, 3 Levels for Outdoors, Heavy Duty, H01-PD PRO

(649)
$39.99
PrimeFREE delivery Sat, Jun 14