Skip to content
AI and automation5 min read

Cursor AI explained: the AI code editor, from first prompt to live site

Short answer

Cursor is a code editor that runs on your computer with an AI agent built in: it reads your project, writes code and runs commands when you ask. Download it from cursor.com for Windows, macOS or Linux, open your project folder and type what you want in the agent panel. The code stays as ordinary files on your machine, so you can deploy it to any hosting that supports that kind of project.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What Cursor gives you
  2. Getting started, step by step
  3. Common mistakes
  4. Getting your project out of Cursor and onto your hosting
  5. On ArabyHost

Cursor looks like VS Code because it is built on it. The difference is the agent inside, which understands the whole project: you write “add a contact page with a form that sends an email” and it opens the right files, edits them and proposes commands, then you review the changes and accept or reject them. That is why it is one of the best known vibe coding tools.

The facts on this page come from Cursor’s website and documentation on 27 November 2026. Cursor is made by Anysphere; in August 2026 its site announced that Cursor “is now a part of SpaceX”, and Grok models are now prominent across its pages and plans. Plans and available models change often, so check them before you subscribe.

What Cursor gives you

Part What it does Use it for
Agent Carries out a whole task: reads files, edits them, runs commands Building a feature or fixing a bug
Chat Answers questions about the code without changing it Understanding a project you didn’t write
Tab completion Suggests the next line as you type Everyday manual coding
Cursor CLI The same agent inside a terminal Scripts and headless work
Cloud agents Run tasks on Cursor’s servers while you’re away Long jobs in the background

Getting started, step by step

1. Download and install

Open cursor.com/downloads. There are builds for macOS (Apple silicon and Intel), Windows (x64 and ARM64) and Linux (.deb, .rpm and AppImage). Install it and sign in. If you already use VS Code, Cursor offers to import your extensions and settings.

For the terminal there is Cursor CLI:

curl https://cursor.com/install -fsS | bash

2. Open a project, or start from an empty folder

Use File > Open Folder to pick your project. For something new, create an empty folder, open it and ask the agent to build. Start with Git so you can undo any change:

git init
git add .
git commit -m "Before AI changes"

3. Write a clear request

Open the agent panel and be specific. A good request states the result and the constraints:

Build a simple landing page with React and Vite for a bakery in Riyadh.
Arabic, right-to-left layout. A contact form that posts to /api/contact.
Do not put any API key in the frontend code.

The agent shows its plan, then the files it changed. Read the diffs before accepting, and ask about any file you don’t understand.

4. Add project rules

Cursor reads rule files where you keep standing instructions: interface language, code style, what must not be touched. Put “never write secrets in code, use .env” there, and you stop repeating it in every request.

5. Run it on your machine

Ask the agent for the run command; usually:

npm install
npm run dev

Open the address it prints (such as http://localhost:5173). That is only the development server; the real version is built with npm run build.

Common mistakes

  • Accepting every edit unread. The agent can delete working code or add libraries you don’t need. Commit before each big task.
  • API keys in the frontend. Any key in React code reaches the visitor’s browser. Move it to the server or to environment variables.
  • Burning through your allowance. Big, vague tasks use more. Split work into small requests and read Cursor pricing and free plan limits.
  • “Works on my machine.” It runs on localhost and fails on the server, usually because of missing environment variables or a different Node.js version.

Getting your project out of Cursor and onto your hosting

This is where Cursor is easy: there is nothing to export. The project is a normal folder on your computer, and Cursor doesn’t lock it into a platform. You need to:

  1. Know what kind of project it is: plain HTML, React/Vite (static files after a build), Next.js, a Node.js server, PHP or Python. Ask the agent: “What type of project is this, and how is it built and run in production?”
  2. Push it to GitHub so you have a copy and a history: push a project to GitHub from VS Code; the steps are the same in Cursor.
  3. Deploy it the right way for its type: the full walkthrough is in deploy a project you built with Cursor.

You can also ask Cursor itself to deploy: connect it to your hosting over MCP as in connect AI tools to your hosting with MCP, and approve each step before it runs.

On ArabyHost

You built it with Cursor; where does it run? The AI/Developer plans run what Cursor usually produces: static sites and built React projects, Node.js apps (20 or 24) and Python apps (3.9 to 3.12) through CloudLinux’s app selectors (Phusion Passenger), and PHP 8.1 to 8.3 projects with MySQL/MariaDB. You get SSH jailed in CageFS, Git and Composer, background workers kept alive with cron, and deploys from GitHub, a ZIP upload, or straight from Cursor through Araby MCP. There is no Docker, GPU or root access, so a project built around docker-compose belongs with a provider that offers Docker. Current prices in your currency are on the pricing page, and your renewal price is the price you signed up at.

FAQ

Is Cursor AI free?

There is a Free plan, but in November 2026 the pricing page describes its agent and chat usage only as "limited", with no fixed number. For serious daily use you will most likely need a paid plan; see the Cursor pricing guide.

Is Cursor better than Claude Code?

They work differently. Cursor is a full graphical editor where you watch files and edits; Claude Code is an agent in the terminal that can also run on a server over SSH. Many developers use both, and the choice comes down to how you work and which model you prefer.

How do I install Cursor AI?

Download the installer from cursor.com/downloads, which offers builds for Windows, macOS and Linux. For the terminal there is also Cursor CLI, installed with a single command from the same page.

Does Cursor work offline?

The editor opens files offline, but the AI features run on remote servers, so they need an internet connection and a signed-in account.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.