Welcome @name! I'm Captain Redbeard and I'll be your guide on the journey of learning to code. Today I'll show you Cursor - a modern code editor with built-in artificial intelligence.
Cursor is a code editor with built-in AI that helps you write code faster and more efficiently. Unlike traditional editors, Cursor has built-in artificial intelligence (Claude Sonnet 4.6, GPT-5) that:
Writes code - you describe what you want, AI generates code Explains - don't understand something? Ask the AI Debugs - got an error? AI will help fix it Suggests - AI suggests what to write next
Thanks to this, you learn faster and create more efficiently.
VS Code (Visual Studio Code) is the most popular code editor in the world - free, open-source, used by millions of developers.
Cursor is built ON TOP OF VS Code, so:
If you know VS Code - you'll feel right at home. If you don't - don't worry, I'll show you everything from scratch.
Now we'll install Cursor. This will take about 5 minutes.
.exe installer.dmg installer.AppImage or .debWindows:
CursorSetup.exe fileMac:
Cursor.dmgLinux:
1# For .AppImage
2chmod +x Cursor.AppImage
3./Cursor.AppImage
4
5# For .deb (Ubuntu/Debian)
6sudo dpkg -i cursor_*.debWhen Cursor opens for the first time, you'll see:
Choose Free - it's more than enough to start!
If you've used VS Code before, Cursor will ask:
If this is your first editor - click "Skip".
Open Cursor and take a look:
1βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2β File Edit View ... [Cursor logo] β <- Menu Bar
3βββββββββ¬ββββββββββββββββββββββββββββββββββ¬ββββββββββββββββ€
4β β β β
5β β β AI CHAT β
6β FILES β EDITOR β β
7β β (you write code here) β (Cmd+L) β
8β β β β
9β β β β
10βββββββββ΄ββββββββββββββββββββββββββββββββββ΄ββββββββββββββββ€
11β TERMINAL (you type commands here) β
12βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ** or **Ctrl+Time to test the magic of Cursor!
1Explain in simple terms: what is HTML?The AI should give you a simple answer. You can ask follow-up questions:
1And what is CSS?1What's the difference between HTML and JavaScript?Congratulations! You just had your first conversation with AI in Cursor!
AI is smart, but it can't read minds. You need to communicate clearly what you want.
1make me a websiteAI doesn't know:
1Create a simple HTML page with:
2- A heading "Ahoy Pirates!"
3- Black background
4- Red text
5- A pirate image
6- A "Join the Crew" buttonAI knows exactly what to do!
Memorize these 5 most important ones:
| Shortcut | What it does | |----------|-------------| | Cmd/Ctrl + L | Open AI Chat | | Cmd/Ctrl + K | Inline AI edit | | Cmd/Ctrl + I | Composer (multi-file) | | Cmd/Ctrl + ` | Terminal | | Cmd/Ctrl + P | Quick file open |
Print this out and stick it next to your monitor!
What Cursor is and why we use it How to install Cursor What the Cursor interface looks like How to talk to AI (Cmd+L) How to write good prompts The most important keyboard shortcuts
Congratulations, young pirate! We've boarded the ship and met our secret weapon - Cursor!
In the next exercise you'll learn to use Ctrl+K - the magic wand for editing code!
Get ready, because an exciting voyage awaits us!
Captain Redbeard out.