A Great Place to Upskill
Company
Get the latest updates from Product Space
Cursor AI is an AI-powered code editor designed to make software development easier. As a fork of Visual Studio Code (VS Code), it retains the user-friendly interface and extensive ecosystem of VS Code, making it easier for developers already familiar with the platform to transition.
Cursor AI integrates advanced AI capabilities through OpenAI’s ChatGPT and Claude. This integration allows Cursor AI to offer intelligent code suggestions, automated error detection, and dynamic code optimization.
Visual Studio Code, commonly referred to as VS Code, is an integrated development environment developed by Microsoft for Windows, Linux, macOS and web browsers. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded version control with Git.
Cursor offers key autocompletion and predictive code features:
AI Pair Programming:
Git-Aware Context:
Inline Code Explanations:
Refactoring with AI:
Natural Language Commands:
Contextual Code Suggestions:
Non-Coder Friendly:
Documentation Assistance:
Cursor AI provides an installation file for Linux, Windows, and MacOS that can be downloaded for free on their website.

datacamp
To install it on Windows and MacOS, we download it from their Home page and install the downloaded file as we’d install any other program.
In Linux, it comes as an AppImage file. Before executing it, we need to make it executable using:
chmod a+x cursor-0.40.3x86_64.AppImage
Then, we can execute it with:
./cursor-0.40.3x86_64.AppImage
We may need to replace the version 0.40.3x86_64 in the above commands depending on which version was downloaded. For more instructions on how to install app image files, check out their website.
After installing, we’re prompted with the following configuration screen:

datacamp
Let’s be real—writing code can get overwhelming fast. Cursor helps you stay in flow with features that actually make a difference:
Throughout this guide, we’ll provide the MacOS shortcuts with the Cmd ⌘ key. The shortcuts are the same if you use Cursor on Windows or Linux, except the Ctrl key is used instead.
We use the Cmd+K shortcut to open the inline code generator. This opens a small prompt window where we insert a prompt to generate code:

datacamp
To generate code, we type a prompt and then click the generate button:

datacamp
This will generate the code, and we add it to our project by clicking the accept button:

datacamp
In this case, we used the cloude-3.5-sonnet model. We can select another model using the model dropdown selector:

datacamp
We can also use the inline chat to interact with existing code by selecting the relevant code before using the Cmd+K shortcut. This can be used to make changes to the code, such as refactoring, or to ask questions about the code. After typing the prompt, we click on the Submit Edit button to get the modifications:

datacamp
Code changes in the Cursor are presented as a diff. The red lines represent lines that will be deleted by the change, while the green ones represent the new changes that will be added:

datacamp
In the same way, we can ask questions about a piece of code by selecting it and using the Cmd+K shortcut. In the case of a question, we click the quick question button to submit the prompt:

datacamp
After submitting the question, the system will generate the answer and display it in the following manner:

datacamp
While writing code, Cursor will suggest code completions generated using AI. Similar to traditional code completion, we can use the Tab key to incorporate these suggestions into our code.
For example, let's say we start implementing a function named maximum(). Cursor will recognize our intent and suggest an appropriate implementation. By pressing Tab, we can add the suggested code:

datacamp
Autocomplete also works with code written in natural language. For example, if we want to create a double for loop to iterate over all pairs in a list, we can simply describe this in plain text. Cursor will then provide the corresponding autocomplete suggestion, which can be integrated by pressing the Tab key:

datacamp
The Cursor chat also supports image inputs. For example, we could sketch a UI design for a website and ask it to generate the HTML and CSS code for it. To add an image, we can drag and drop it into the chat window.

datacamp
Configure custom API keys for OpenAI, Anthropic, Google and Azure to use your own LLM provider accounts in Cursor
Cursor lets you input your own API keys for various LLM providers to send as many AI messages as you want at your own cost. When a custom API key is used, we will use that when calling the LLM providers.
To use your own API key, go to Cursor Settings > Models and enter your API keys. Then, click on the “Verify” button. Once your key is validated, your API key will be enabled.
You can get your own API key from the OpenAI platform.

Cursor Documentation
Similar to OpenAI, you can also set your own Anthropic API key so that you will be using claude-based models at your own cost.

Cursor Documentation
For Google API keys, you can set your own API key so that you will be using Google models such as gemini-1.5-flash-500k at your own cost.

Cursor Documentation
Finally, you can also set your own Azure API key so that you will be using Azure OpenAI models at your own cost.

Cursor Documentation
While both tools use AI to enhance coding, their approach, capabilities, and user experience are fundamentally different. Here's a side-by-side comparison to help you choose the right fit:
Cursor AI represents a significant evolution in code editors by seamlessly integrating AI capabilities into the familiar VS Code environment. Whether you're a seasoned developer looking to boost productivity, a beginner seeking guidance, or a technical writer needing to understand complex codebases, Cursor offers tools that adapt to your workflow and skill level.
With features like contextual code generation, intelligent refactoring, project-wide understanding, and support for natural language commands, Cursor AI transforms the coding experience from purely technical to conversational and intuitive. The ability to use custom API keys from various providers gives you flexibility in how you leverage these AI capabilities.
As coding continues to evolve with AI assistance, tools like Cursor AI bridge the gap between human creativity and machine efficiency, potentially changing how we approach software development in the years to come. Whether you're looking to speed up routine tasks, learn coding more effectively, or tackle complex programming challenges, Cursor AI provides a powerful environment that grows with your needs.
____________________________________________________________________________________
Stay Updated: Follow The Product Space for the latest insights and resources on AI in product management.
Experts predict that 2025 will be a pivotal year for AI integration in product management. Want to stay ahead of the curve?
Join The Product Space’s AI for Product Management Course – your accelerated path to mastering AI tools and building revolutionary products.

AI Product Decisions Playbook: Learn when to use RAG, fine-tuning, or AI agents to build smarter, scalable, and cost-efficient AI products.

Discover how product teams use AI agents for market intelligence in this Moltbook guide. Learn strategies, tools, and real-world use cases to stay ahead.

The complete AI prompt library for senior product managers. Covers market intelligence, customer discovery, competitive analysis, product roadmapping, and GTM strategy. Built to be used, not just read