Skip to main content
Saram Consulting LLC

How to Use Gemini to code

  1. Go to Gemini
  2. Select the latest and the greatest model. As of now, it is Gemini 2.5 Pro Experimental.
  3. Go to Cursor Directory Rules
  4. Select the rules you want to use.
  5. Copy the rules.
  6. Go back to Gemini
  7. Paste the rules in the input box.
  8. Click on the "Submit" button.
  9. Pin the chat for quick access.
  10. Start coding by asking Gemini to write code for you.
  11. Example: "Write a Python function to calculate the factorial of a number."
  12. Gemini will generate the code for you.