# Desktop app

> Install xstate on macOS, Windows or Linux, and how it keeps itself up to date.

The xstate desktop app gives your mail, calendar and files their own window, with desktop notifications, an unread
count in the Dock or taskbar, and launch at login. It shows the same xstate you use at go.xstate.com, so everything
you do in one shows in the other.

## Install

Download it from [xstate.com/download](/download).

| Computer | File | Needs |
| --- | --- | --- |
| Mac | `.dmg` | macOS 12 or later, Apple silicon or Intel |
| Windows | `.exe` | Windows 10 or later, 64-bit |
| Linux | `.AppImage` | 64-bit |

- **Mac:** open the `.dmg` and drag xstate into Applications.
- **Windows:** run the installer. It installs for your user only and doesn't ask for an administrator.
- **Linux:** make the file executable (`chmod +x xstate-linux.AppImage`) and run it.

Sign in with the same email and password you use on the web.

## Updates

- **New features and fixes** reach the app as soon as they ship. When one arrives while the app is open, a bar at the
  top offers **Reload**.
- **The app itself** updates in the background, on Mac and Windows. When a new version is ready you get a
  notification, and **Restart to Update** appears in the menu. It also installs the next time you quit. You can
  turn automatic updates off in **Settings → Account → Desktop app**.
- **Linux** AppImages update the same way. If yours doesn't, download the latest from
  [xstate.com/download](/download).

## Notifications

New email, agent approvals and agent errors show as notifications on your computer within a second or two, even
when the window is closed to the menu bar. Click one to open that message. Choose which ones you get in
**Settings → Account → Notifications**; each computer, browser and phone keeps its own choices.

Using xstate in a browser instead? Turn on **Notifications in this browser** in the same place. They arrive even
with no xstate tab open, as long as the browser is running. If you also have the desktop app open, notifications
show there and not in the browser too.

## Offline

The app needs a connection to show your mail. Without one it shows a short message and opens again by itself as
soon as you're back online.
