Bot TutorialsGrok BotChatGPTClaudeGeminiCopilotPerplexityMore botsGuidesArticlesPapers
Topics
CookingHome automationFitnessCreative writingMusic productionCodingIndustrialPros (Professional track)
Search
A developer codes on a laptop at a sunny coworking table near a window

How to use Windsurf: step-by-step tutorial

The AI code editor now sold under the Devin name: plans and quotas, Tab completion, agents, Devin Cloud, safe reviews and coding workflows to copy.

Step-by-stepLessonsBeginnerNoviceAdvancedPhD-levelQuiz

At a glance

What it isAI code editor; plans now branded Devin (Desktop and Cloud).
Strongest atFast Tab completion, inline edits and project-wide agent changes.
PriceFree; Pro $20; Max $200; Teams $80 + $40/seat.
LimitsDaily and weekly quotas; overage at API pricing.

Is Windsurf right for this job?

Use Windsurf for

  • Day-to-day coding with fast completion
  • Multi-file changes you review as a diff
  • Learning a new codebase
  • Writing tests
  • Delegating narrow tickets to Devin Cloud (Pro)

Think twice for

  • Accepting big diffs unread
  • Repos with secrets in files
  • Deploys without human review
  • Heavy agent loops on a free quota

Get set up: step by step

  1. Basics

    What it is

    Windsurf is an AI code editor with fast Tab completion, inline edits and an agent that works across your project. On Oct 30, 2026, windsurf.com/pricing shows the plans under the Devin name (Devin Desktop and Devin Cloud), so the editor many people know as Windsurf is now sold as part of Devin. Plans have daily and weekly quotas; extra usage is billed at API pricing.

    Why this step matters: Knowing what it is good and bad at stops you using it for jobs where it will fail quietly.

  2. Setup

    Step 1: Get the official app

    1. Start from windsurf.com; follow its download link for your OS.
    2. Install only from that site. Fake “Windsurf” extensions and installers exist.
    3. Sign in, open a small project and try Tab completion first.

    Why this step matters: Copycat apps and unofficial installers are common; starting from the official source protects your account and data.

  3. Setup

    Step 2: Plans, limits and costs

    • Free: $0 with a light quota, unlimited Tab and inline edits.
    • Pro: $20/month; frontier models, free SWE-2, Devin Cloud.
    • Max: $200/month.
    • Teams: $80/month plus $40 per full seat, up to 200 users.
    • Enterprise: custom.

    Plans have daily and weekly quotas; extra usage is billed at API pricing (windsurf.com/pricing, checked Oct 30, 2026).

    Why this step matters: Paying for features you don't use is the most common waste. Knowing the limits first tells you if the free tier is enough.

Real things to do with Windsurf

Ship a small feature

Ship a small feature

Describe the feature and tests that define done; review the diff.

Add a "remember me" checkbox to the login form. Write tests first, then the code. Show the diff.
Review your own branch

Review your own branch

Ask for a severity-ranked review before you open a pull request.

Review my uncommitted changes. List issues by severity with file and line.
Hunt security issues

Hunt security issues

Read-only scan, then verify each finding.

Read-only: find hard-coded secrets, unsafe SQL and missing auth checks. List file and line.
Understand legacy code

Understand legacy code

Ask for a map of the code before changing it.

Map this repo: modules, data flow, and the 3 riskiest files to change. No edits.
Data script

Data script

Generate a script with counts before and after.

Write a script that merges two CSVs on customer_id and reports unmatched rows.
Docs from code

Docs from code

Draft a README and correct it.

Draft a README from this code: purpose, install, usage, tests. Mark uncertain parts.

The 5-part prompt that works in Windsurf

Most weak answers come from weak instructions, not a weak model. Before you send anything important to Windsurf, check that your message has these five parts. It takes thirty seconds and saves several rounds of “that’s not what I meant.”

  1. Situation. Who you are and why you are asking. “I run a two-person bakery” changes every answer that follows.
  2. Task. One clear verb: draft, compare, summarize, fix, plan, explain. If you have three tasks, send them as three steps.
  3. Inputs. Paste or attach the material it should use, and say what to ignore. Name the file and the pages if it is long.
  4. Format. Length, structure and tone: “a table with 4 columns”, “under 150 words”, “plain English, no jargon”.
  5. Checks. Tell it how you will judge the answer: “give a source link for every number”, “say unknown instead of guessing”, “list your assumptions first”.
I run a two-person bakery in Ohio (situation). Draft a 120-word reply to this customer complaint (task). Use only the facts in the email below; ignore the order history (inputs). Warm, plain English, one apology, end with a clear next step (format). List anything you had to assume at the end (checks).

Save the version that works. In Windsurf the natural home for reusable instructions is a rules file in your repo with build, test and style instructions, so you never type the same context twice.

Go further: steps continued

  1. Use

    Step 3: Your first real task

    Start with a read-only question so you see how it understands your code:

    Explain how this project is structured: entry point, main modules, how tests run.
    Then suggest one small improvement, but don’t edit anything yet.

    Why this step matters: A prompt with situation, task and format gets a usable answer first time, so you learn what the tool can actually do.

  2. Setup

    Step 4: Privacy

    • Don't paste passwords, ID numbers, card numbers or other people's private details.
    • Assume the company can read and keep your chats unless its official policy says otherwise.
    • For health, money or legal decisions, confirm with a professional or an official source.
    • Keep secrets out of the repo; agents read files in your workspace.
    • Review terminal commands before the agent runs them.
    • For company code, use a Teams or Enterprise plan your employer approved.

    Why this step matters: Anything you paste may be stored and read. Deciding what never goes in is easier than undoing a leak.

  3. Mistakes

    Mistakes

    • Accepting large agent edits without reading the diff.
    • Burning the weekly quota on tasks Tab completion could do.
    • Running agent commands you haven’t read.
    • Assuming the old Windsurf plan names still apply; check the Devin plans.

    Why this step matters: Knowing how it typically fails tells you where to look when you review its work.

A good session, start to finish

  1. Decide what “done” looks like

    Write one sentence describing the finished result before you open the chat: “a one-page plan I can send to my landlord by Friday.” If you cannot describe it, the bot cannot hit it.

  2. Give context once, in the right place

    Put standing facts about you, your business or your project where {name} keeps them between chats, instead of pasting them into every message.

  3. Ask for a draft, then steer

    Take the first answer as a rough draft. Reply with specific edits (“shorter”, “cut the second option”, “use our real prices”) rather than starting over.

  4. Check the parts that matter

    Open the source behind every number, name, date and quote you will reuse. For files, spot-check two page references. For code, run it.

  5. Save what worked

    Copy the final prompt into a notes file or saved instructions. Next time the same job takes one message instead of ten, and you spend fewer credits doing it.

Your first week with Windsurf

Day 1: Set it up properlyInstall Windsurf from the official source, sign in with the right account (personal for personal, work for work) and open the settings. Decide the privacy and data choices now, before you have shared anything, and write a short note about who you are and how you like answers.
Day 2: One real taskPick a task you would have done anyway this week, such as an email, a plan or a summary. Use the 5-part prompt below. Compare the result with what you would have written yourself, and note what you had to fix.
Day 3: Check everything onceTake one answer that contains facts and verify every number, name and date against the source. This tells you how much checking Windsurf needs for your kind of work, which is the most useful thing you will learn all week.
Day 4: Save your contextMove your standing facts and instructions into a rules file in your repo with build, test and style instructions. From now on, new chats start with that context and you stop retyping it.
Day 5: Try the feature you skippedUse one feature beyond basic chat: files, voice, images, research or whatever this page covers. Small, low-stakes tests first.
Days 6–7: Decide about moneyLook at what you actually used. If the free tier covered it, stay free. If you hit a limit on real work, compare plans on the official pricing page and note your renewal date before you pay.

How to spot a wrong answer

Warning signs

  • It gives an exact number, date or quote with no link, or with a link that does not contain it.
  • It agrees with everything you say, including a wrong assumption you slipped in to test it.
  • The answer is fluent but vague: lots of “generally” and “it depends” and no specifics you can act on.
  • It claims to have done something (sent, saved, booked, run) without a link, ID or file you can open.
  • Two answers to the same question, asked in fresh chats, disagree on a fact.
  • It names a setting, menu or plan feature you cannot find. Apps change their menus often, so check the official help pages.

What to do

Open the source and find the exact sentence. Ask Windsurf to separate what it checked from what it assumed. Re-ask in a fresh chat with the source attached. If it still cannot back the claim up, treat it as unknown and use the official page instead.

None of this means the tool is bad. It means you are the editor, and editors check.

Power-user tips

Tab for small, agent for big

Tab and inline edits are unlimited on Free; save quota for agent work.

Rules file

Standing instructions stop repeated mistakes.

Commit first

A clean commit makes agent changes easy to undo.

Narrow tickets

Devin Cloud does best with one clear, testable job.

Watch weekly quota

Plan heavy work early in the week.

Read commands

Approve terminal commands one at a time.

Privacy and safety with Windsurf

The agent reads your workspace and may run commands. Keep secrets out of files, read commands, and use an approved team plan for company code.

Windsurf or another bot?

If you need…PickWhy
AI editor with agentWindsurf/Devin or CursorBoth are AI-first editors; try each on your repo.
Terminal coding agentClaude CodeWorks in the terminal with approvals.
Completion in GitHub workflowGitHub CopilotDeep GitHub integration.
Build and host in browserReplitHosting included.

Our editorial judgment, not a benchmark. Try your own real task in two bots before you pay for either.

Questions people ask

Is Windsurf now Devin?

On Oct 30, 2026, windsurf.com/pricing shows the plans under the Devin name, including Devin Desktop and Devin Cloud.

Is it free?

Yes, Free is $0 with a light quota and unlimited Tab and inline edits.

How much is Pro?

$20/month, with frontier models, free SWE-2 and Devin Cloud.

What about teams?

Teams is $80/month plus $40 per full seat, up to 200 users. Enterprise is custom.

What are the limits?

Daily and weekly quotas; extra usage is billed at API pricing.

What is SWE-2?

A coding model the pricing page lists as free on Pro.

What is Devin Cloud?

Cloud agents that work on tasks for you, included with Pro.

Is Max worth it?

Only if you hit Pro quotas weekly. Track usage for a month first.

Words you will see

Tab completion: inline code suggestions you accept with Tab.
Quota: your daily/weekly usage allowance.
Devin Cloud: agents that run tasks in the cloud.
Diff: the lines a change adds and removes.
Prompt: the message you send. Better prompts give a situation, task, inputs, format and checks.
Context window: how much text the model can keep in mind at once. Long chats push early details out.
Hallucination: a confident answer that is false, such as a made-up citation or number.
Token: a chunk of text (roughly three-quarters of a word) used to measure limits and API prices.
Ready to test yourself?
The Windsurf quiz, first-week checklist and cost calculator now have their own page.
Take the Windsurf quiz →

Where these facts come from

Checked Oct 30, 2026. Plans change, so confirm on the official page before you pay.

Next: Windsurf lessons →

Related:Windsurf lessons FAQGrok Bot lessonsChatGPT lessonsClaude lessonsGemini lessonsCopilot lessonsPerplexity lessonsCatch made-up answersStop burning creditsWhich bot for whatFiles safelyScripts & templatesWorkflowsMore bot lessons