A tool for setting up and configuring Cursor IDE workspaces with optimal settings for your projects. Configure once, deploy anywhere, and keep your AI-powered development environment consistent across all your workspaces.
- β Web Interface: Interactive configurator with a clean, terminal-like experience
- β Customizable Project Configuration: Set up your workspace exactly how you need it
- β Project Type Templates: Web, Mobile, Backend, Desktop, Library/Package
- β AI Rules Configuration: Optimize Cursor's AI for your specific use case
- β
Workspace Export Options:
- β Export directly to Cursor with automated installation scripts
- β
Download a
.code-workspacefile for immediate use with Cursor
- β
Cross-Platform Automation:
- β OS-specific installation scripts (macOS, Windows, Linux)
- β Auto-detection of Cursor installation paths
- β Automatic backup of existing settings
- π§ Command-line Tool: For direct integration into your workflow
- π§ Executable Distributions:
- π§ Standalone desktop application (Windows, macOS, Linux)
- π§ Offline usage capability
- π§ System tray integration for quick access
- π§ Enterprise Features:
- π§ Team configuration sharing
- π§ Version control integration
- π§ Configuration profiles for different project types
π§ IN DEVELOPMENT - The desktop application is currently under development and will be available soon.
For those who prefer a native experience, the Cursor Workspace Configurator will be available as a downloadable executable:
# Download the installer (link will be available when released)
curl -LO https://github.com/yourusername/cursor-workspace-configurator/releases/latest/download/CursorWorkspaceConfigurator-Setup-Windows.exe
# Or use the portable version
curl -LO https://github.com/yourusername/cursor-workspace-configurator/releases/latest/download/CursorWorkspaceConfigurator-Portable-Windows.exe# Download the .dmg file (link will be available when released)
curl -LO https://github.com/yourusername/cursor-workspace-configurator/releases/latest/download/CursorWorkspaceConfigurator-macOS.dmg
# Or install with Homebrew
brew install cursor-workspace-configurator# Download the AppImage (link will be available when released)
curl -LO https://github.com/yourusername/cursor-workspace-configurator/releases/latest/download/CursorWorkspaceConfigurator-Linux.AppImage
chmod +x CursorWorkspaceConfigurator-Linux.AppImage
# Or install with Snap
snap install cursor-workspace-configuratorVisit the Cursor Workspace Configurator Web App to use the interactive web interface.
- Visit the web app
- Choose setup mode (Quick Setup or Custom Setup)
- Enter your project description and details
- When configuration is complete, choose from the export options:
- Export to Cursor: Get instructions and scripts to apply settings to your Cursor installation
- Workspace File Only: Download just the
.code-workspacefile for direct import
π§ IN DEVELOPMENT - The command line tool is currently under development and will be available soon.
The Cursor Workspace Configurator will be usable directly from the command line for efficiency and automation:
# Install globally (not yet available)
npm install -g cursor-workspace-configurator
# Or run without installing (not yet available)
npx cursor-workspace-configurator
# In your project directory (not yet available)
cursor-workspace-setup
# With arguments for non-interactive usage (coming soon)
cursor-workspace-setup --type web --languages "javascript,typescript" --frameworks "react,next.js" --rules "custom-rules.txt" --output "./my-workspace"
# Generate configuration from existing projects (coming soon)
cursor-workspace-setup --from-project "/path/to/existing/project"
# Apply a saved profile (coming soon)
cursor-workspace-setup --profile "web-development"Usage: cursor-workspace-setup [options]
Options:
-t, --type <type> Project type: web, mobile, backend, desktop, library
-l, --languages <languages> Comma-separated list of programming languages
-f, --frameworks <frameworks> Comma-separated list of frameworks
-d, --description <description> Project description
-r, --rules <file> Path to AI rules file
-o, --output <directory> Output directory for configuration files
-p, --profile <name> Use a saved configuration profile
--from-project <directory> Generate config based on existing project
--early-access Enable Early Access Program features
--beta Enable Beta features
--debug Enable verbose debug output
--export-only Generate files without applying them
-h, --help Display help information
-v, --version Display version information
The Cursor Workspace Configurator provides platform-specific automation scripts to streamline the installation process:
The macOS automation script:
- β
Creates the Cursor user directory if it doesn't exist (
~/Library/Application Support/Cursor/User/) - β Backs up any existing configuration files
- β
Installs the new
settings.jsonwith your configuration - β
Creates a
.cursorrulesfile in your home directory - β Provides color-coded feedback for each step
The Windows automation script:
- β
Locates the Cursor application data folder (
%APPDATA%\Cursor\User\) - β Creates backup copies of existing configuration
- β Installs the new settings and rules files
- β Handles Windows-specific path requirements
- β Includes detailed error reporting and success confirmation
The Linux automation script:
- β
Targets the standard Linux configuration path (
~/.config/Cursor/User/) - β Creates necessary directories with proper permissions
- β Installs configuration files with appropriate ownership
- β Provides detailed execution logs
- β Returns proper exit codes for integration with other tools
The automation scripts:
- β Run entirely on the local machine (no remote execution)
- β Do not collect or transmit any data
- β Are provided as plaintext scripts you can review before running
- β Require appropriate permissions to modify configuration files
To run the scripts:
# On macOS/Linux
chmod +x install-cursor-config.sh
./install-cursor-config.sh
# On Windows (PowerShell)
.\install-cursor-config.ps1
# Or Windows (Command Prompt)
install-cursor-config.bat- Open Cursor
- Go to "File" β "Open Workspace..."
- Select your downloaded
.code-workspacefile - Start coding with your optimized settings!
- Click "Export to Cursor" after configuration is complete
- Choose one of the installation methods:
- Follow the manual instructions to copy settings to your Cursor user directory
- Download and run the automation script for your OS (macOS, Windows, or Linux)
- Restart Cursor to apply the changes
- Project Description: A description of your project
- Project Type: Web Application, Mobile App, Backend Service, Desktop Application, Library/Package
- Languages and Frameworks: Configure based on your tech stack
- Editor Settings: Tab size, spaces/tabs, format on save
- AI Rules: Custom rules for Cursor's AI behavior
- Early Access Features: Enable cutting-edge Cursor features
- Beta Settings: Try experimental capabilities
Debug Mode provides additional information and troubleshooting capabilities:
- Toggle with the Debug Mode button in the top-right corner
- Adds a debug panel showing current configuration state
- Outputs detailed logs to the browser console
- Adds debug messages directly to the terminal
- Provides a debug log download option when configuration is complete
- Includes a "Dump Config to Console" button for quick inspection
The configurator creates the following configuration for Cursor:
settings.json # Main settings for Cursor
.cursorrules # AI behavior rules for the entire workspace
After opening your workspace, you can further customize settings:
- Go to "Preferences" β "Settings"
- Search for specific settings to modify
To run the web interface locally:
# Clone the repository
git clone https://github.com/yourusername/cursor-workspace-configurator.git
# Navigate to the project directory
cd cursor-workspace-configurator
# Start a local server (Python example)
python -m http.server 8081
# Open in browser
# Visit http://localhost:8081π§ IN DEVELOPMENT - The build process is currently under development and will be available soon.
You will be able to build standalone executables of the Cursor Workspace Configurator for distribution:
- Node.js 14+ and npm installed
- Electron for desktop builds
- Appropriate build tools for your platform
# Install dependencies
npm install
# Build for all platforms
npm run build:all # Coming soon
# Build for specific platforms
npm run build:win # Coming soon
npm run build:mac # Coming soon
npm run build:linux # Coming soon
# Output will be in the 'dist' directoryOrganizations will be able to customize the configurator for their specific needs:
# Clone the repository
git clone https://github.com/yourusername/cursor-workspace-configurator.git
# Create a custom configuration file (template will be available soon)
cp config.example.json config.custom.json
# Edit the configuration file
# - Add company-specific templates
# - Set default AI rules
# - Configure preferred settings
# Build with custom configuration (coming soon)
npm run build:custom -- --config=config.custom.json- π§ CI/CD Pipeline: Include the configurator in your onboarding process
- π§ Internal Developer Portal: Host a customized version for your team
- π§ Version Control: Store configuration profiles in your repository
- π§ IDE Extensions: Build a direct integration with Cursor for seamless updates
Create organization-specific rule sets to enforce coding standards:
// Example custom rules file (template): company-rules.js
module.exports = {
naming: {
enforceConsistentNaming: true,
namePatterns: {
components: '^[A-Z][a-zA-Z]+$',
hooks: '^use[A-Z][a-zA-Z]+$'
}
},
formatting: {
tabSize: 2,
insertSpaces: true
},
aiRules: [
'Follow company code style guide',
'Use TypeScript for all new components',
'Document public APIs with JSDoc',
'Write unit tests for critical functions'
]
};Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.