https://github.com/chmodshubham/claude-code
Setup Claude Code with VS Code
https://github.com/chmodshubham/claude-code
claude-code setup-guide vscode-extension
Last synced: about 2 months ago
JSON representation
Setup Claude Code with VS Code
- Host: GitHub
- URL: https://github.com/chmodshubham/claude-code
- Owner: chmodshubham
- Created: 2025-08-20T15:29:44.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-20T15:40:01.000Z (10 months ago)
- Last Synced: 2025-08-20T17:45:42.789Z (10 months ago)
- Topics: claude-code, setup-guide, vscode-extension
- Homepage: https://docs.anthropic.com/en/docs/claude-code/setup
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Claude Code Setup Guide
This guide explains how to install and use `@anthropic-ai/claude-code`.
## 1. Node.js Requirement
The package requires **Node.js ≥ 18.0.0** (as of Aug 20, 2025).
If your current version is older, update it using the steps below.
```bash
# Check versions
node -v
npm -v
# Remove old Node.js and npm (if installed via apt)
sudo apt remove -y nodejs npm
# Install NodeSource Node.js 18 (or newer)
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install -y nodejs
# Verify installation
node -v
npm -v
````
## 2. Install the Package
You can install the package in two ways.
### Option A: Global Install
```bash
sudo npm install -g @anthropic-ai/claude-code
```
### Option B: Local Install (Recommended)
Run directly with `npx`:
```bash
npx @anthropic-ai/claude-code
```
Or install locally in your project:
```bash
npm install @anthropic-ai/claude-code --save-dev
```
Then run:
```bash
npx claude-code
```
## 3. VS Code Extension
To use Claude Code in VS Code, install the extension:
* **Extension Name**: Claude Code for VSCode
* **Marketplace Link**: https://marketplace.visualstudio.com/items?itemName=anthropic.claude-code