Skip to main content

remove

Completely remove Era from the project.

Usage

era-code remove [options]

Options

OptionDescription
-y, --no-backupSkip backup prompt
-q, --quietNo output (for scripting)
-n, --dry-runShow 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:

  • .claude
  • CLAUDE.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.