Skip to content
Y
yTube.SITE v8.0.4
media / worlds / tools / internet oddities
YouTube / video information

How to Use Claude Code CLI with VS Code

Video information, playback and saved actions.

How to Use Claude Code CLI with VS Code

Description: How to Use Claude Code CLI with VS Code

Want to unlock the full power of Claude Code? In this tutorial, we dive deep into the Claude Code CLI (Command Line Interface).The terminal based version of Claude Code that gives you the most control and flexibility.

We walk through exactly how to set up, install, and run Claude Code directly inside your terminal alongside Visual Studio Code (VS Code) or indeed any IDE of your choice. From basic scaffolding to advanced tricks like referencing files outside your project directories, this video covers everything you need to know to supercharge your coding workflow in 2026!

🔥 What you'll learn in this video:
0:00 - The 4 Flavors of Claude Code
0:42 - Prerequisites & Paid Plan Requirements
1:13 - How to Install Claude Code (Mac & Windows)
1:48 - First Run & Basic Setup in VS Code Terminal
3:30 - Essential CLI Commands (/help, /doctor, /clear, /insights)
4:20 - Scaffolding a New Project & Permission Prompts
6:35 - Advanced Trick: Adding Directories Outside Your Project (/add-dir)
10:00 - Checking and Changing Models (/model)
11:30 - Clearing the Context Window to Prevent AI Confusion (/clear)
12:15 - Using Voice Commands in the Terminal (/voice)
13:45 - Building a Practical Web App Example (HTML/CSS/JS)
16:35 - Summary & Wrap Up

💡 Key Commands Covered:
• /help - View basic shortcuts and options
• /doctor - Diagnose and troubleshoot installation issues
• /clear - Clear your context window so the AI doesn't get overwhelmed
• /insights - Track your token usage
• /model - Switch between Claude Opus 3.5, Sonnet, or other LLMs
• /add-dir - Read files and context from folders outside your workspace
• /voice - Dictate your prompts directly into the CLI prompt

Prerequisites:
To follow along, make sure you have an active Claude Pro ($20/mo) or Claude Max ($200/mo) paid subscription. No NodeJS is required for the latest installation method, and it works flawlessly on both macOS and Windows!

If you found this video helpful, please don't forget to LIKE, SUBSCRIBE, and hit the notification bell for more simplified AI and tech tutorials! Let me know in the comments how you plan to use Claude Code in your workflow. 👇

Installation of Claude Code in terminal
https://code.claude.com/docs/en/quickstart

#ClaudeCode #AIProgramming #VSCode #AICodingAssistant #ClaudeCLI #ProgrammingTutorial

PROMPT to build Welcome APP

`Create an HTML page with the text "Hello Coder" that moves continuously from the top of the page down to the middle and back up again, looping without stopping.

When any part of the text is clicked, the moving text should disappear and a text box should appear asking the user to enter their name.

After the user enters their name and confirms (for example, by pressing Enter or
clicking a button), the text box disappears and the message "Hello {user's name}, to the world of Coding with AI" appears, sitting static in the middle of the page.

Save the HTML file and any related files (CSS, JavaScript, images) inside a folder named "workarea".` Close description
      
Videos related to "How to Use Claude Code CLI with VS Code"