Windsurf IDE Complete Installation Guide: Download, Cascade AI Setup, Custom Models & Git Integration

Windsurf IDE Complete Installation Guide: From Download to Your First AI-Powered Project

Windsurf IDE by Codeium is an AI-native code editor built on a VS Code foundation, featuring Cascade — an agentic AI coding assistant that understands your entire codebase. This guide walks you through every step from installation to launching your first project with full AI and Git integration.

Step 1: Download and Install Windsurf IDE

  • Visit the official Windsurf website at codeium.com/windsurf and click Download for Free.
  • Select your operating system (Windows, macOS, or Linux).
  • Run the installer: # Windows — run the downloaded .exe installer WindsurfSetup-x.x.x.exe

macOS — move to Applications

mv ~/Downloads/Windsurf.app /Applications/

Linux (Debian/Ubuntu)

sudo dpkg -i windsurf_x.x.x_amd64.deb sudo apt-get install -f

Linux (Fedora/RHEL)

sudo rpm -i windsurf-x.x.x.x86_64.rpm

  • Launch Windsurf IDE. On first launch, you will be prompted to sign in or create a Codeium account.
  • Sign up using your email, Google, or GitHub account to activate the free tier.

Step 2: Initial Configuration and Theme Setup

  • On first launch, Windsurf offers to import settings from VS Code. Select Import Settings if you are migrating.
  • Choose your preferred color theme and keymap bindings.
  • Open Settings with Ctrl+, (Windows/Linux) or Cmd+, (macOS) to customize editor preferences:
// settings.json recommended baseline
{
  "editor.fontSize": 14,
  "editor.minimap.enabled": false,
  "editor.formatOnSave": true,
  "editor.tabSize": 2,
  "windsurf.cascade.autoContext": true
}

Step 3: Activate and Configure Cascade AI Assistant

Cascade is Windsurf's flagship AI feature. It operates in two modes: **Write mode** (code generation and editing) and **Chat mode** (Q&A and codebase exploration).

  • Open the Cascade panel by pressing Ctrl+L (or Cmd+L on macOS), or click the Cascade icon in the sidebar.

  • Verify your account is connected — you should see your username at the bottom of the panel.

  • Test Cascade by typing a prompt: Create a REST API with Express.js that has CRUD endpoints for a todo list with input validation

  • Cascade will analyze your workspace, generate files, and offer to apply changes. Click Accept All to apply.

Cascade Modes Explained

ModeShortcutBest For
Write ModeCtrl+L / Cmd+LMulti-file code generation, refactoring, creating new features
Chat ModeCtrl+L then toggleAsking questions about codebase, debugging, explanations
Inline EditCtrl+I / Cmd+IQuick edits within the current file, targeted changes
AutocompleteTab to acceptReal-time code suggestions as you type

Step 4: Select and Configure Custom AI Models

Windsurf supports multiple AI models. You can switch models based on task complexity.

  • Open the Cascade panel and click the model selector dropdown at the top.

  • Available models include GPT-4o, Claude Sonnet, Claude Opus, and Codeium’s own models. Pro and Ultimate tier users unlock premium models.

  • For API-based custom model configuration, navigate to Settings > Windsurf > Model Configuration: // Custom model provider configuration { “windsurf.modelProvider”: “custom”, “windsurf.customEndpoint”: “https://api.your-provider.com/v1”, “windsurf.customApiKey”: “YOUR_API_KEY”, “windsurf.customModelId”: “your-model-name” }

  • Test the connection by sending a simple prompt to Cascade after saving.

Step 5: Git Integration Setup

Windsurf inherits VS Code's Git integration and adds AI-enhanced commit workflows.

  • Ensure Git is installed on your system: git —version

If not installed:

Windows: winget install Git.Git

macOS: brew install git

Linux: sudo apt install git

  • Configure your Git identity:
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
  • Initialize a repository or clone an existing one:
# New project
mkdir my-project && cd my-project
git init

# Clone existing
git clone https://github.com/your-username/your-repo.git
cd your-repo
  • Open the project in Windsurf:
windsurf .
  • Use the Source Control panel (Ctrl+Shift+G) to stage, commit, and push. Cascade can auto-generate commit messages — click the sparkle icon in the commit message box.

Step 6: Start Your First Project

  • Create a new project directory and open it in Windsurf.
  • Open Cascade (Ctrl+L) and describe what you want to build:
Scaffold a Next.js 14 project with TypeScript, Tailwind CSS, and a landing page component with a hero section and feature grid
  • Review the proposed changes in the diff view. Cascade shows exactly what files will be created or modified.
  • Accept the changes and run the development server:
npm install
npm run dev
  • Continue iterating by giving Cascade follow-up instructions to refine your code.

Pro Tips for Power Users

  • Context Pinning: Use @file or @folder mentions in Cascade prompts to direct the AI’s attention to specific parts of your codebase: @src/utils/auth.ts refactor this to use JWT tokens.
  • Terminal Integration: Cascade can read terminal output. If a build fails, paste the error or ask Cascade to check the terminal for errors.
  • Multi-file Awareness: Cascade indexes your entire workspace. Ask broad questions like “Where is the user authentication logic and how does it connect to the database?”
  • Keyboard Shortcut Mastery: Press Ctrl+Shift+P and type Windsurf to see all available AI commands.
  • Extension Compatibility: Most VS Code extensions work in Windsurf. Install them via the Extensions panel (Ctrl+Shift+X).
  • Memory and Rules: Create a .windsurfrules file in your project root to define persistent instructions for Cascade, such as coding style or framework preferences.

Troubleshooting Common Issues

IssueCauseSolution
Cascade not respondingAuthentication expired or network issueSign out and sign back in. Check your internet connection. Restart Windsurf.
Autocomplete not appearingExtension conflict or disabled settingDisable competing AI extensions (Copilot, Tabnine). Check windsurf.autocomplete.enabled is true.
Git not detectedGit not in system PATHRun git --version in the integrated terminal. If missing, install Git and restart Windsurf.
High memory usageLarge workspace indexingAdd large folders (e.g., node_modules, .git) to .windsurfignore or settings exclude patterns.
Custom model connection failureIncorrect API key or endpointVerify the endpoint URL ends with /v1. Double-check the API key. Test the endpoint with curl.

Frequently Asked Questions

Is Windsurf IDE free to use, and what are the plan differences?

Yes, Windsurf offers a free tier that includes Cascade AI with limited premium model credits, autocomplete, and full editor functionality. The Pro plan adds more credits and access to advanced models like Claude Opus and GPT-4o. The Ultimate plan provides unlimited flows and priority access to the latest models. All plans include Git integration, extension support, and the full editor experience.

Can I use Windsurf with existing VS Code extensions and settings?

Windsurf is built on the VS Code foundation and supports the vast majority of VS Code extensions. On first launch, you can import your existing VS Code settings, keybindings, and extensions. Some AI-specific extensions like GitHub Copilot may conflict with Cascade — it is recommended to disable competing AI autocomplete extensions to avoid duplicate suggestions.

How does Cascade differ from regular AI code assistants like Copilot?

Cascade is an agentic AI assistant, meaning it can autonomously perform multi-step tasks across multiple files. Unlike traditional autocomplete-based assistants, Cascade can read your entire codebase, create and modify multiple files in a single operation, run terminal commands, and maintain context across a conversation. It operates more like an AI pair programmer than a suggestion engine.

Explore More Tools

Grok Best Practices for Academic Research and Literature Discovery: Leveraging X/Twitter for Scholarly Intelligence Best Practices Grok Best Practices for Content Strategy: Identify Trending Topics Before They Peak and Create Content That Captures Demand Best Practices Grok Case Study: How a DTC Beauty Brand Used Real-Time Social Listening to Save Their Product Launch Case Study Grok Case Study: How a Pharma Company Tracked Patient Sentiment During a Drug Launch and Caught a Safety Signal 48 Hours Before the FDA Case Study Grok Case Study: How a Disaster Relief Nonprofit Used Real-Time X/Twitter Monitoring to Coordinate Emergency Response 3x Faster Case Study Grok Case Study: How a Political Campaign Used X/Twitter Sentiment Analysis to Reshape Messaging and Win a Swing District Case Study How to Use Grok for Competitive Intelligence: Track Product Launches, Pricing Changes, and Market Positioning in Real Time How-To Grok vs Perplexity vs ChatGPT Search for Real-Time Information: Which AI Search Tool Is Most Accurate in 2026? Comparison How to Use Grok for Crisis Communication Monitoring: Detect, Assess, and Respond to PR Emergencies in Real Time How-To How to Use Grok for Product Improvement: Extract Customer Feedback Signals from X/Twitter That Your Support Team Misses How-To How to Use Grok for Conference Live Monitoring: Extract Event Insights and Identify Networking Opportunities in Real Time How-To How to Use Grok for Influencer Marketing: Discover, Vet, and Track Influencer Partnerships Using Real X/Twitter Data How-To How to Use Grok for Job Market Analysis: Track Industry Hiring Trends, Layoff Signals, and Salary Discussions on X/Twitter How-To How to Use Grok for Investor Relations: Track Earnings Sentiment, Analyst Reactions, and Shareholder Concerns in Real Time How-To How to Use Grok for Recruitment and Talent Intelligence: Identifying Hiring Signals from X/Twitter Data How-To How to Use Grok for Startup Fundraising Intelligence: Track Investor Sentiment, VC Activity, and Funding Trends on X/Twitter How-To How to Use Grok for Regulatory Compliance Monitoring: Real-Time Policy Tracking Across Industries How-To NotebookLM Best Practices for Financial Analysts: Due Diligence, Investment Research & Risk Factor Analysis Across SEC Filings Best Practices NotebookLM Best Practices for Teachers: Build Curriculum-Aligned Lesson Plans, Study Guides, and Assessment Materials from Your Own Resources Best Practices NotebookLM Case Study: How an Insurance Company Built a Claims Processing Training System That Cut Errors by 35% Case Study