remove
Completely remove Era from the project.
Usage
era-code remove [options]
Options
| Option | Description |
|---|---|
-y, --no-backup | Skip backup prompt |
-q, --quiet | No output (for scripting) |
-n, --dry-run | Show what would be removed without removing |
Examples
Interactive removal
era-code remove
Prompts for backup before removing.
Preview what will be removed
era-code remove --dry-run
Remove without prompts (with auto-backup)
era-code remove --quiet
Remove without backup
era-code remove --no-backup
What It Removes
Directories:
.era/.opencode/
Files:
opencode.json.mcp.json(legacy).github/workflows/sync-docs.yml
Legacy files:
.claudeCLAUDE.md.toolconfig
Cleans managed sections in:
AGENTS.md- Removes Era markers, deletes if empty.gitignore- Removes Era section
Safe Defaults
When using --quiet mode, Era automatically creates a backup before removal. Use --no-backup to skip this.