Freelancers who need fast, reliable code assistance can boost productivity with Cursor. This step‑by‑step tutorial shows you how to install Cursor, set up a project, use AI code completion, integrate with Git, and choose the right pricing plan. Follow each section to get the most out of Cursor on client work.
Save the installer, then double‑click to run. On macOS you may need to allow the app in System Preferences → Security & Privacy.
cursor --version
# Expected output: cursor 0.9.4
If the command returns a version number, you’re ready to open the editor.
Launch Cursor, then choose File → Open Folder. Select the root of your client project (e.g., my-website/).
Cursor automatically detects file types. For a Node.js API, open server.js and confirm the language bar shows “JavaScript”. If not, click the language indicator and select “JavaScript”.
Create a hidden configuration file to control model size and token limits:
{
"model": "cursor-large",
"maxTokens": 2048,
"temperature": 0.2
}
Save this file at the project root. Cursor reads it on startup.
Place the cursor where you need code and press Ctrl+Space (Windows/Linux) or Cmd+Space (macOS). Cursor shows a list of completions.
Navigate with the arrow keys and press Enter. The suggestion inserts directly into your file.
// Fetch user data from the API and return JSON
After the comment, press Ctrl+Space. Cursor may propose:
async function fetchUser(id) {
const response = await fetch(`${API_URL}/users/${id}`);
if (!response.ok) throw new Error('Network error');
return await response.json();
}
Select a block of code, right‑click, and choose Explain. Cursor opens a side pane with a plain‑English description. This is handy when you inherit legacy code from a client.
git init
git remote add origin git@github.com:client/project.git
Click the Git icon on the left sidebar. You’ll see changed files, staged files, and a commit message box.
Write a brief description of what you changed, then press Ctrl+Shift+M. Cursor suggests a full message:
feat: add server‑side pagination to /posts endpoint
- Implement limit and offset query parameters
- Update Post model validation
- Add unit tests for new logic
git push origin main
Open File → Preferences → User Snippets**, then add a JSON entry for a common pattern, e.g., an Express error handler.
{
"Express error handler": {
"prefix": "expressErr",
"body": [
"app.use((err, req, res, next) => {",
" console.error(err.stack);",
" res.status(500).json({ error: 'Internal Server Error' });",
"});"
],
"description": "Standard Express error middleware"
}
}
Define a task in .cursor/tasks.json:
{
"scripts": {
"build": "npm run build",
"dev": "npm run dev"
}
}
Run tasks via Ctrl+Shift+P → “Run Task”.
If a client’s data is confidential, you can run the open‑source Ollama model locally and point Cursor to it:
{
"model": "ollama/llama2",
"endpoint": "http://localhost:11434"
}
Install the “WakaTime” extension from the Cursor marketplace. It logs minutes spent on each file, which you can export for client invoices.
| Plan | Monthly cost | Tokens per month | Team seats | Support |
|---|---|---|---|---|
| Free | $0 | 100 k | 1 | Community |
| Pro | $15 | 2 M | 5 | Email (24 h) |
| Team | $45 | 10 M | Unlimited | Priority + Slack |
| Feature | Cursor | GitHub Copilot | Tabnine |
|---|---|---|---|
| Local model option | Yes | No | No |
| Free tier | Yes (100k tokens) | No (60‑day trial) | Yes (basic) |
| Multi‑language support | 30+ languages | 50+ languages | 30+ languages |
| IDE integration | VS Code, Cursor IDE | VS Code, JetBrains | VS Code, JetBrains, Sublime |
| Team sharing | Pro & Team plans | Enterprise only | Team plan |
Cursor is an AI‑powered code editor that provides real‑time suggestions, code generation, and debugging help inside a VS Code‑compatible environment.
Cursor offers a free tier with unlimited suggestions for personal projects. The Pro plan costs $15 per month and adds team sharing, priority support, and higher token limits.
Yes. Cursor integrates with Git extensions, can stage changes, and even generate commit messages based on your code diff.
Cursor’s suggestions are more context‑aware for full‑stack projects and it runs locally, reducing latency. Copilot has broader language coverage but requires a paid subscription after a trial.
Cursor runs on most modern laptops. Minimum: 8 GB RAM, 2 GHz CPU. For large models you may want 16 GB RAM, but basic usage works fine on modest hardware.
Cursor gives freelancers a fast, local AI assistant that fits into existing workflows. Install it, configure a .cursorrc, use real‑time completions, and link it to Git for seamless version control. Choose the free tier for side projects or upgrade to Pro for client work that demands higher token limits and team features. With the steps above you can start delivering code faster while keeping quality high.