# Uninstalling
Complete guide to removing the Claude Code Status Line.
## Quick Uninstall
The easiest way to uninstall is using the automated uninstall command:
```
/uninstall-statusline
```
This will:
- Remove the binary and all configuration files
- Remove all slash commands
- Restore Claude Code to default settings (no statusline)
- Optionally backup your settings before removal
---
## What Gets Removed
The uninstall process removes:
1. **Binary**: `~/.claude/statusline/claude-code-status-line`
2. **Configuration files**:
- `~/.claude/statusline/settings.json`
- `~/.claude/statusline/colors.json`
- `~/.claude/statusline/quota_cache.json` (if exists)
3. **Slash commands**:
- `/install-statusline`
- `/update-statusline`
- `/customize-statusline`
- `/uninstall-statusline`
4. **Claude Code configuration**: Removes `statusLine` section from `~/.claude/settings.json`
---
## Backup Option
During uninstallation, you'll be offered the option to backup your configuration:
- **Backup location**: `~/Downloads/statusline-backup-[timestamp]/`
- **Files backed up**: `settings.json`, `colors.json`
This allows you to restore your custom configuration if you reinstall later.
---
## Manual Uninstallation
If the `/uninstall-statusline` command is not available, you can manually remove the statusline:
### macOS / Linux
```bash
# Remove binary and configuration
rm -rf ~/.claude/statusline/
# Remove slash commands
rm -f ~/.claude/commands/install-statusline.md
rm -f ~/.claude/commands/update-statusline.md
rm -f ~/.claude/commands/customize-statusline.md
rm -f ~/.claude/commands/uninstall-statusline.md
```
Then manually edit `~/.claude/settings.json` and remove the `statusLine` section:
```json
{
"statusLine": {
"type": "command",
"command": "...",
"padding": 0
}
}
```
### Windows (PowerShell)
```powershell
# Remove binary and configuration
Remove-Item -Path "$env:USERPROFILE\.claude\statusline" -Recurse -Force -ErrorAction SilentlyContinue
# Remove slash commands
Remove-Item "$env:USERPROFILE\.claude\commands\install-statusline.md" -ErrorAction SilentlyContinue
Remove-Item "$env:USERPROFILE\.claude\commands\update-statusline.md" -ErrorAction SilentlyContinue
Remove-Item "$env:USERPROFILE\.claude\commands\customize-statusline.md" -ErrorAction SilentlyContinue
Remove-Item "$env:USERPROFILE\.claude\commands\uninstall-statusline.md" -ErrorAction SilentlyContinue
```
Then manually edit `%USERPROFILE%\.claude\settings.json` and remove the `statusLine` section.
---
## After Uninstalling
**Restart Claude Code** to apply changes. Your CLI will return to the default prompt without the statusline.
---
## Reinstalling
To reinstall the statusline later:
1. Visit the [official site](https://ndave92.github.io/claude-code-status-line/)
2. Copy and run the installation command
3. Run `/install-statusline` in Claude Code
Your previous backup (if created) can be restored manually:
```bash
cp ~/Downloads/statusline-backup-[timestamp]/*.json ~/.claude/statusline/
```