Files

46 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2026-04-13 00:17:35 +00:00
# Notifications
2026-04-13 00:17:35 +00:00
Gemini CLI can provide run-event notifications to alert you when an action is
required or when a long-running session completes.
2026-04-13 00:17:35 +00:00
## Overview
2026-04-13 00:17:35 +00:00
Notifications help you stay informed about the agent's progress without
constantly monitoring the terminal. When enabled, Gemini CLI uses system-level
notifications to alert you in the following scenarios:
2026-04-13 00:17:35 +00:00
- **Action required:** When the agent is waiting for your approval to execute a
tool.
- **Session completed:** When a sequence of tasks has finished.
- **Critical errors:** When a session terminates due to an error.
## Enable notifications
2026-04-13 00:17:35 +00:00
To enable notifications, set the `general.enableNotifications` setting to
`true`.
2026-04-13 00:17:35 +00:00
```bash
gemini config set general.enableNotifications true
```
2026-04-13 00:17:35 +00:00
Alternatively, you can enable them via the `/settings` dialog:
1. Open the settings dialog by typing `/settings`.
2. Navigate to the **General** category.
3. Check the **Enable Notifications** box.
2026-04-13 00:17:35 +00:00
## Requirements
2026-04-13 00:17:35 +00:00
Notifications depend on your operating system's capabilities:
2026-04-13 00:17:35 +00:00
- **macOS:** Uses the built-in Notification Center.
- **Linux:** Requires a notification daemon (like `dunst` or `notify-osd`) and
the `notify-send` utility.
- **Windows:** Uses the Windows Action Center.
2026-04-13 00:17:35 +00:00
<!-- prettier-ignore -->
> [!NOTE]
> In some terminal environments or remote sessions (like SSH), system
> notifications may not be available or may require additional configuration on
> the host machine.