Toda la documentación
CLI Commands Reference
2 min
Actualizado 18 de febrero de 2026All the commands and keyboard shortcuts available in the Slack Green CLI.
1
Terminal commands
These are the commands you run directly in your terminal.
sg-cli | Launch the TUI. Also starts the daemon if it's not running. |
sg-cli --version | Print the installed version. |
sg-cli uninstall | Stop the daemon, remove the venv and binaries. Config files in ~/.sg-cli/ are preserved — to fully remove everything, run rm -rf ~/.sg-cli after. |
The daemon also has its own binary:
sg-daemon | Run the daemon directly (normally you don't need this — sg-cli starts it automatically). |
2
TUI keyboard shortcuts
Once inside the TUI, use these keys:
| a | Add a new workspace |
| d | Delete the selected workspace |
| p | Pause or resume the selected workspace |
| c | Edit the schedule for the selected workspace |
| Enter | Stay online for X hours (temporary override) |
| r | Force refresh status |
| ↑ / k | Move selection up |
| ↓ / j | Move selection down |
| q | Quit the TUI (daemon keeps running in the background) |
3
Schedule editor shortcuts
When the schedule editor is open (press c on a workspace):
| w | Select weekdays only (Mon–Fri) |
| e | Select every day |
| Esc | Close the editor |
Type times in any common format: 9am, 9:30, 14:00, etc.
4
Update & reinstall
To update to the latest version, just re-run the install script:
curl -fsSL https://slack.green/install.sh | bash
This detects the existing installation and updates it in place. Your config, workspaces, and license key are preserved.
5
File locations
Everything lives in ~/.sg-cli/:
config.enc | Encrypted config (license key, device ID, signing secret) |
workspaces.enc | Encrypted workspace tokens |
status.json | Daemon status (presence, last check timestamps) |
daemon.pid | PID file for the background daemon |
daemon.log | Daemon log output |
venv/ | Python virtual environment |
bin/ | Symlinks to sg-cli and sg-daemon |
sg-cli uninstall removes venv/ and bin/ but keeps your config and workspace files.
Always Active
Deja de Mover el Ratón.
Cientos de trabajadores remotos ya no se preocupan por su estado de Slack. Configúralo una vez, mantente verde para siempre.