Getting Started
Usage
Learn how to configure and customize ex0 for your IDEs.
ex0 offers a simple CLI approach. Whether you're working with Cursor, Windsurf, Cline, or GitHub Copilot, you can quickly bootstrap and share AI rules among different editors.
Basic Commands
- Initialize:
npx ex0@latest init
Creates or updates configuration for your default IDE (cursor
) unless otherwise specified.
- Specify IDE:
npx ex0@latest init --ide copilot
This sets up .github/copilot-instructions.md
with recommended rules for Copilot.
- Force Overwrite:
npx ex0@latest init --force
Overrides existing configuration files without prompting.
Example Workflow
- Init:
npx ex0@latest init --ide cursor
This creates.cursor/rules/
along with recommended ex0 AI guidelines. - Customize:
Open
.cursor/rules/
to tweak your AI instructions, coding standards, or naming conventions. - Commit:
git add . git commit -m "Add custom ex0 configuration for Cursor"
- Switch IDE:
npx ex0@latest init --ide windsurf
Now you have.windsurfrules
with the same best practices, ensuring consistent AI behavior across both editors.
That's it! In just a few steps, ex0 saves you from re-creating AI instructions when switching between multiple IDEs.