
How to Set Up Windsurf AI
Download Windsurf, explore Cascade's agentic coding, and start building with AI-powered context awareness that flows with your code.
Prerequisites
- A computer running macOS, Windows, or Linux
- Internet connection (for download and AI features)
- A Windsurf account (generous free tier, Pro is $15/mo)
- Optional: an existing project or a new idea to build
Download from windsurf.com
Visit windsurf.com and click Download. Windsurf detects your operating system and offers the right installer.
The download is around 250 MB. Windsurf is built by the team behind Codeium, but it is a completely different product — a full AI-native code editor, not just an autocomplete extension.
Install Windsurf
Mac: Open the .dmg and drag Windsurf to Applications. Launch from Spotlight or your dock.
Windows: Run the .exe installer. Default settings work well. Windsurf adds a right-click context menu option to open folders.
Linux: Use the .deb package or the .AppImage. For .deb:
sudo dpkg -i windsurf_*.debComing from VS Code or Cursor?
Sign In
Create a Windsurf account to access AI features. Sign up with Google, GitHub, or email.
Windsurf's free tier is one of the more generous in the vibe coding space. You get real AI coding features — not just a 2-week trial. This makes it great for evaluation.
Windsurf Pro ($15/mo) unlocks unlimited Cascade requests, priority model access, and faster response times. It is $5/mo cheaper than Cursor Pro.
Explore Cascade
Cascade is Windsurf's signature feature — a deep-context AI coding agent. Open it from the sidebar or with the keyboard shortcut.
What makes Cascade different from a basic AI chat:
- Automatic context — Cascade reads your codebase and gathers relevant files without you having to manually add them.
- Multi-step plans — It breaks complex tasks into steps and shows you the plan before executing.
- Agentic execution — Cascade can create files, modify code, run commands, and install packages as part of a single workflow.
- Deep memory — It remembers context across your conversation and builds on previous changes.
Cascade vs Chat
Set Up a Project
Open an existing project folder or create a new one. Windsurf automatically indexes your codebase in the background — no manual configuration needed.
To start a new project from scratch:
mkdir my-windsurf-project
cd my-windsurf-project
windsurf .Or use File > Open Folder in the menu. Windsurf supports any language and framework — it is not limited to web development.
Get the Vibe Coding Cheat Sheet
Best tool for every use case + pricing + pro tips. One page, zero fluff. Plus weekly updates on new tools.
Write Your First Prompt
Open Cascade and describe what you want to build. Be specific about the tech stack, features, and behavior you want:
Create a React component that displays a sortable data table.
It should accept an array of objects and automatically
generate columns from the object keys. Include sort arrows
in the header, alternating row colors, and a search filter
at the top. Use Tailwind CSS for styling.Cascade will:
- Analyze your project to understand existing patterns
- Show you a plan for the implementation
- Generate the code across one or more files
- Let you review and apply changes
First prompt tip
Configure Settings
Open Settings (Cmd+, or Ctrl+,) to customize Windsurf. Key settings to review:
- AI Model — Choose between Claude, GPT-4o, or other available models. Each has different strengths.
- Supercomplete — Toggle flow-aware inline completions on or off. If you find them distracting at first, turn them off and enable them later.
- Context depth — Adjust how many files Cascade considers when gathering context. Higher depth = better understanding, more tokens.
- Keybindings — Windsurf uses VS Code keybindings by default. You can customize them or import from another editor.
Start Building
You are ready to build for real. Try a multi-file task to see Cascade at its best:
I want to add user authentication to this project. Use
next-auth with GitHub and Google providers. Create:
1. An auth configuration file
2. Sign-in and sign-up pages
3. A middleware that protects /dashboard routes
4. A user menu component in the header that shows
the user's avatar and a dropdown with Sign Out
Follow the existing code patterns in this project.Cascade will read your existing code, plan the implementation, and execute it across all the files that need to change. Review the plan, approve the changes, and test.
Iteration is key
What to Build First
Landing Page with Dark Mode
Build a responsive landing page with a hero, features grid, testimonials, and footer. Add a dark mode toggle. Start by telling Cascade: "Create a SaaS landing page with Tailwind. Include dark mode support."
Dashboard with Charts
Create a dashboard with sidebar navigation, data tables, and chart components. Cascade can scaffold the full layout and wire up mock data across multiple files.
Full-Stack CRUD App
Build a task management app with a database, API routes, form handling, and real-time updates. Test Cascade's ability to coordinate across frontend and backend files.
Windsurf Tips from Power Users
Let Cascade gather context
Cascade reads your entire codebase automatically. Unlike other tools where you manually add files to context, Cascade figures out which files are relevant. Trust it — it is usually right.
Use Supercomplete for flow
Supercomplete predicts not just your next line but your next logical action. It watches your editing pattern and suggests multi-line completions that match where you are headed. Tab to accept.
Be specific about what you want
Cascade works best with detailed prompts. Instead of "add auth," try "Add email/password authentication using next-auth with a login page, sign-up page, and protected route middleware."
Review Cascade's plan
Before Cascade edits files, it shows you a plan. Read the plan — sometimes you will want to redirect it before it starts writing. It is faster to correct the plan than to undo the code.
Import your VS Code setup
Windsurf supports the full VS Code extension marketplace. Import your existing extensions, themes, and keybindings during setup. Everything works the same way.
Try the free tier first
Windsurf has a generous free tier with real AI functionality. Use it for a week before deciding to upgrade to Pro ($15/mo). The free tier is enough to evaluate whether Cascade fits your workflow.
Windsurf vs Cursor: Quick Take
| Factor | Windsurf | Cursor |
|---|---|---|
| Price | $15/mo Pro | $20/mo Pro |
| Free Tier | Generous | Limited trial |
| Agent | Cascade (auto-context) | Composer (manual context) |
| Autocomplete | Supercomplete (flow-aware) | Tab (context-aware) |
| Context Gathering | Automatic | Manual @-mentions |
| Best For | Flow state, less manual setup | Control, model flexibility |
Want a deeper comparison? Read the full Cursor vs Windsurf breakdown
You are set up. Now explore.
Compare Windsurf against other tools, or submit what you build to the showcase.