Clone Github Repo
If you are looking to use a github repo, then do one of these
Hard mode:
Use the terminal (hard mode)
Easy mode:
Clone a repo using Cursor
Testing and Deploying
Action | Command | Notes |
---|---|---|
Start dev server | npm run dev |
Run this in your project root to spin up local dev build in http://localhost:3000/ |
Install Vercel CLI | npx vercel --prod |
Run this in your project root. You’ll have to follow instructions. Link to an existing project if you already have it (gonna need the project name) |
Deploy to Vercel (direct) | vercel --prod |
Publishes your site to production. |
Deploy via npm script | npm run deploy |
Shortcut if you add "deploy": "vercel --prod" to scripts. |
Launch Claude
Go to the folder where you wanna use Claude Code cd folder
Install: npm install -g @anthropic-ai/claude-code
Launch: claude
Login
/
and select login
to get in with your account or enter an api key