install-superpowers
v1.0.0
Published
Installer for Superpowers framework on OpenCode
Maintainers
Readme
install-superpowers
Automated installer for Superpowers framework on OpenCode.
Installation
npx install-superpowersUsage
Quick mode (silent install with defaults):
npx install-superpowers --quickInteractive mode (guided wizard):
npx install-superpowers
# or
npx install-superpowers --interactiveWhat It Does
- Validates prerequisites (OpenCode, git, permissions)
- Creates backups of existing files
- Clones superpowers repository
- Creates symlinks for plugin and skill discovery
- Verifies installation success
Requirements
- Node.js >= 18.0.0
- OpenCode installed
- Git installed
- Linux (macOS may also work)
🗑️ Uninstallation
Automated Uninstall (Recommended)
# Remove symlinks only (keeps cloned repo)
npx install-superpowers --uninstall
# Remove everything including the cloned repository
npx install-superpowers --uninstall --cleanupThe automated uninstall will:
- ✓ Detect if OpenCode is running (warns but continues)
- ✓ Remove symlinks with progress indicators
- ✓ Verify each removal succeeded
- ✓ Exit gracefully if nothing to uninstall
Manual Removal
If you prefer manual removal or need fine-grained control:
# Remove the cloned repository
rm -rf ~/.config/opencode/superpowers
# Remove the plugin symlink
rm ~/.config/opencode/plugins/superpowers.js
# Remove the skills symlink
rm ~/.config/opencode/skills/superpowersRestore from Backup (if available)
# Stop OpenCode
cd ~/.config/opencode/plugins
ls -la *.backup.* # List available backups
# Restore the most recent backup
mv superpowers.js.backup.YYYYMMDD-HHMMSS superpowers.js
# Restart OpenCodeLicense
MIT
