> For AI agents: the complete documentation index is available at https://docs.heys.ai/workstation/en/llms.txt, the full documentation bundle is available at https://docs.heys.ai/workstation/en/llms-full.txt.

# Installation, Signing In to Your Organization and Updates

This page covers installing the desktop app, choosing your organization and signing in the first time you open it, switching organizations, client updates and uninstalling. For the command-line version and server deployment, see [Command Line and API](https://docs.heys.ai/workstation/en/command-line-and-api.md) and [CoWork, Collaboration Node, Web App and Deployment](https://docs.heys.ai/workstation/en/cowork-collaboration-node-web-app-and-deployment.md) respectively.

## System requirements \{#system-requirements}

| Platform    | Requirements                                | Installer                                                                          |
| ----------- | ------------------------------------------- | ---------------------------------------------------------------------------------- |
| **macOS**   | macOS 11 or later, Apple silicon (M series) | `.dmg` (first installation); there is also a `-mac.zip` used for automatic updates |
| **Windows** | Windows 10 / 11, 64-bit (x64)               | Installer `HeyS Setup <version>.exe`; portable version `HeyS-<version>-win.zip`    |
| **Kylin**   | Kylin Desktop V10 SP1, x86_64 or arm64      | `.deb` package; there is also a portable `.tar.gz`                                 |

Other recommendations:

- **Disk**: the installer includes the Office editor and the design canvas, so the installed app takes a few hundred MB; the data directory grows with use, so reserve a few GB for long-term use.
- **Network**: you must be able to reach your organization's service address (sign-in, models, the extension market and client updates all go through it). If your company network requires a proxy, check the proxy settings first.
- **Organization**: the desktop app can only be used after you join an organization. Your organization admin will tell you the organization name or address.

:::note Note
The command-line version and the Docker image do not include the built-in browser, Computer Use or the other local-desktop-only capabilities, and they do not require joining an organization. See [CoWork, Collaboration Node, Web App and Deployment](https://docs.heys.ai/workstation/en/cowork-collaboration-node-web-app-and-deployment.md) and [Command Line and API](https://docs.heys.ai/workstation/en/command-line-and-api.md) for how to deploy them.
:::

## Installing on macOS \{#installing-on-macos}

1. Download `HeyS-<version>-arm64.dmg`.
2. Double-click the dmg and drag the **HeyS** icon into the Applications folder.
3. Open HeyS from Applications or Launchpad.

Official release builds are signed and notarized by Apple and open directly. If you have a test build that is not notarized and the system says it cannot verify the developer, go to **System Settings → Privacy & Security** and click **Open Anyway**.

When you use Computer Use ([Computer Use](https://docs.heys.ai/workstation/en/computer-use.md)) or the system's built-in speech recognition ([Starting a Task](https://docs.heys.ai/workstation/en/starting-a-task.md)), macOS asks you to grant HeyS the corresponding permissions. Follow the on-screen instructions at that point; you do not need to set anything up during installation.

## Installing on Windows \{#installing-on-windows}

Choose either package:

**Installer**: run `HeyS Setup <version>.exe` and follow the wizard. You can install for the current user only, or "for all users" (installed under `Program Files`). Both update automatically; if you installed for all users, Windows shows an authorization prompt when updating, and you click **Yes**.

**Portable version**: unzip `HeyS-<version>-win.zip` into any **writable** folder (for example `D:\HeyS`) and double-click `HeyS.exe` inside it.

:::warning Warning
Do **not** unzip the portable version into a system-protected folder such as `C:\Program Files`. Automatic updates need to overwrite the installation folder; in a protected location they fail for lack of permission, and you can only replace the package by hand.
:::

If "Windows protected your PC" (SmartScreen) appears on first launch, click **More info → Run anyway**.

A few things are different on Windows:

- **No system title bar**: the strip at the top of the window belongs to HeyS. On the left are the space switcher and the collapse button; you can drag the window by it and double-click to maximize. The system minimize, maximize and close buttons stay at the top right. If it does not display correctly, set the environment variable `HEYS_NATIVE_FRAME=1` and reopen HeyS to go back to the system frame.
- **Closing the window hides it in the tray**: clicking the main window's close button does not quit; the window hides in the tray at the lower right of the taskbar, and running tasks, scheduled tasks and notifications keep working. A notice appears the first time. Left-click the tray icon to bring the window back; only **Quit** in the right-click menu really quits, and if tasks are running it asks you to confirm first. If you do not want this, turn off **Minimize to tray when closing the window** in **Settings → General**, and the close button then quits directly.
- **Only one instance**: if you double-click the desktop shortcut while the window is in the tray, no second HeyS opens; the existing window comes to the front.
- **Open with from the context menu**: to open files with HeyS from the right-click menu in File Explorer, turn on **Show HeyS in File Explorer’s "Open with" menu** in **Settings → General** ([Sessions, Projects and Files](https://docs.heys.ai/workstation/en/sessions-projects-and-files.md)). On macOS this works right after installation, without this step.

## Installing on Kylin \{#installing-on-kylin}

**deb package (recommended)**:

```bash
sudo dpkg -i HeyS-<version>-linux-amd64.deb     # x86_64 computers
sudo dpkg -i HeyS-<version>-linux-arm64.deb     # arm64 computers
```

It is installed under `/opt` and a HeyS icon appears in the Start menu; you can also start it by typing `heys-desktop` in a terminal.

**Portable tar.gz**: unzip it into any writable folder and run `heys-desktop` inside it. The portable version **does not update online**; to upgrade, replace the package by hand. It is generally only used for testing.

A few points that differ from the other platforms:

- **It opens directly even when you are logged in as root.** The sandbox of a system component cannot start under root; the HeyS launcher detects this and handles it automatically, so you do not need to add any parameters.

- **A white or garbled screen after opening**: when a virtual machine or the driver of some domestic graphics cards cannot draw the interface, start with software rendering instead:

  ```bash
  HEYS_DISABLE_GPU=1 heys-desktop
  ```

- **Input method**: on systems with fcitx installed, HeyS connects to the input method automatically.

- **Window appearance**: as on Windows there is no system title bar, and `HEYS_NATIVE_FRAME=1` applies too.

- Machines with KySec security control enabled may block unauthorized programs; ask your system administrator to allow HeyS through Kylin's software authorization process.

The Kylin build only takes Kylin updates and is never updated to a package for another platform.

## First launch: choosing your organization \{#first-launch-choosing-your-organization}

The HeyS desktop app can only be used after you join an organization, so the first thing you see is the page for choosing your organization. The sign-in page has **no local-use option**; without signing in to an organization you cannot reach the main interface.

<figure className="small">

![Choose your organization: enter the organization name your organization admin gave you, then click Next](/screenshots/o01-选择组织.webp)

<figcaption>Choose your organization: enter the organization name your organization admin gave you, then click Next</figcaption>
</figure>

1. Enter the organization name in the box (for example `dawnstart`). You can also enter the organization address or domain your admin sent you, and HeyS looks it up at the address the organization registered.
2. Click **Next**. Once the organization is found, the page shows its name and logo.
3. If it is correct, click **Enter this organization**; if you entered the wrong one, click **Use a different organization** and enter it again.
4. The page shows **Entering <i>organization name</i>. The app will reopen automatically…** Wait a moment; after HeyS reopens, it goes to that organization's sign-in page or device request page.

<figure className="small">

![Confirming the organization once it is found: name 道昇科技 (Daosheng Technology), identifier dawnstart; below are Enter this organization and Use a different organization](/screenshots/o02-确认组织.webp)

<figcaption>Confirming the organization once it is found: name 道昇科技 (Daosheng Technology), identifier dawnstart; below are Enter this organization and Use a different organization</figcaption>
</figure>

Organizations this computer has been to are listed on the page (**Organizations used on this computer**); next time you switch organizations, just click one.

When looking up the organization fails, the message tells you why:

| Message                                                                                     | Meaning                                                                 | What to do                                                 |
| ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------------------------- |
| Organization not found. Check the name or ask your organization admin.                      | The organization name is misspelled, or the organization does not exist | Check the spelling, or ask your admin for the address      |
| An organization name is 3–32 letters, digits or -                                           | The format is wrong                                                     | Remove spaces and Chinese characters                       |
| The server is responding too slowly. Try again later                                        | The server timed out                                                    | Try again later                                            |
| The server is temporarily unavailable. Try again later                                      | The server returned an error                                            | Try again later; if it keeps happening, contact your admin |
| Cannot reach the server. Check your network or proxy settings                               | The network is not getting through                                      | Check the network and proxy                                |
| This organization hasn't been activated yet / has been suspended / subscription has expired | The organization's status is abnormal                                   | Contact your organization admin                            |

Below the message you can expand **Details** to see the error type and how long it took; include a screenshot of it when you report a problem. Timeouts and network errors are retried once automatically.

:::note Note
The organization decides how you sign in. Organizations in **account mode** use an account and sign in with a password, a verification code or a QR code scan ([Signing in and signing up (account mode)](#signing-in-and-signing-up-account-mode)); organizations in **device mode** use no accounts, and you start using HeyS once an admin approves this computer ([Requesting access for this computer (device mode)](#requesting-access-for-this-computer-device-mode)). You do not choose this yourself; HeyS shows the matching page according to the organization's settings.
:::

## Signing in and signing up (account mode) \{#signing-in-and-signing-up-account-mode}

### Signing in with a password or a verification code

<figure className="small">

![Sign-in page of an account-mode organization: switch between Password and Verification code at the top, enter your email or phone number and password, then click Sign in; No account? Sign up at the lower left, Forgot password at the lower right, and the current organization with Switch organization at the bottom](/screenshots/o04-组织登录.webp)

<figcaption>Sign-in page of an account-mode organization: switch between Password and Verification code at the top, enter your email or phone number and password, then click Sign in; No account? Sign up at the lower left, Forgot password at the lower right, and the current organization with Switch organization at the bottom</figcaption>
</figure>

1. Password sign-in: enter **Email or phone number** and **Password**, then click **Sign in**.
2. Verification code sign-in: switch to **Verification code**, enter your phone number (or email), click **Send code**, enter the code when it arrives, and click **Sign in**. No password is needed.

<figure className="small">

![Verification code sign-in: enter your phone number, click Send code, and enter the code you receive](/screenshots/o05-验证码登录.webp)

<figcaption>Verification code sign-in: enter your phone number, click Send code, and enter the code you receive</figcaption>
</figure>

A few notes:

- Which methods appear on the sign-in page is decided by the organization. If the organization only allows verification code sign-in, the page shows no password box and no **Forgot password**; if it only allows phone numbers (or only emails), the account box expects that type and tells you right away if you enter the other.
- The next time you open HeyS, the sign-in page starts on the method you used last.
- If you enter a wrong verification code, it tells you how many tries are left; after too many wrong tries it pauses for a while. If you request codes too often you also have to wait; you can **sign in with a password** in the meantime.
- **Forgot password**: receive a verification code by phone or email, enter a new password and click **Reset and sign in**.

### Signing in by scanning a QR code

If your organization has turned on QR code sign-in, the sign-in page has an extra **Scan QR code** option: scan with the office app your organization specifies and you are in, with no password to type. The name of the office app is decided by the organization and is written on the button, for example **Scan with xx**.

1. On the sign-in page, switch to **Scan QR code**. If the organization has turned on more than one scan option, first click one under **Choose how to scan**.
2. The page shows a QR code and **Scan the QR code with xx**. Scan it with that office app on your phone and confirm on the phone.
3. The page shows **Confirmed, signing in…** and then goes to the main interface.

- When the QR code expires, the page says **The QR code has expired**; click **Refresh QR code** to get a new one.
- If the QR code never finishes loading, click **Open in browser** and scan in the system browser; when you are done, HeyS signs you in automatically. To come back and scan here, click **Scan here instead**.
- If you tap cancel on your phone, the page says **Authorization was declined on your phone**; click **Scan again** to try again, or click **Choose another** to use a different method.

### Signing up

Click **No account? Sign up** at the lower left of the sign-in page.

<figure className="small">

![Signing up: phone number, nickname (optional), verification code, password and confirm password; the password must be at least 8 characters and contain both letters and digits; finally click Sign up and sign in](/screenshots/o06-注册.webp)

<figcaption>Signing up: phone number, nickname (optional), verification code, password and confirm password; the password must be at least 8 characters and contain both letters and digits; finally click Sign up and sign in</figcaption>
</figure>

| Field                                        | Notes                                                                                                                                                                                                        |
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Phone number / Email                         | Fill in whichever the organization allows                                                                                                                                                                    |
| What should we call you (nickname, optional) | The organization admin recognizes you by it in the member list, and it is also shown in your account; up to 32 characters                                                                                    |
| Verification code                            | Fill it in after clicking **Send code**                                                                                                                                                                      |
| Password / Confirm password                  | At least 8 characters, containing both letters and digits                                                                                                                                                    |
| Invitation code                              | Appears only when the organization requires it. A required one is labeled **Invitation code**, an optional one **Invitation code (optional)**. A wrong code is reported as invalid and no account is created |

Click **Sign up and sign in**. Some organizations require admin approval; in that case you see **Registration submitted. You can sign in once an organization admin approves it.** If the organization has closed sign-up, the page shows no sign-up link.

## Requesting access for this computer (device mode) \{#requesting-access-for-this-computer-device-mode}

Organizations in device mode use no account or password; you start using HeyS once an organization admin approves this computer.

<figure className="small">

![Device mode: Use this computer with 道昇科技 (Daosheng Technology); you can give the computer a name (if left empty, the computer name is used), then click Request access](/screenshots/o03-申请使用这台电脑.webp)

<figcaption>Device mode: Use this computer with 道昇科技 (Daosheng Technology); you can give the computer a name (if left empty, the computer name is used), then click Request access</figcaption>
</figure>

1. Give this computer a name (optional; the computer name is used by default) and click **Request access**.
2. The page shows **Request sent. Waiting for an admin of <i>organization name</i> to approve it** and a **check code**. Tell the admin the code; the admin approves only after it matches.
3. Once the admin approves, HeyS goes to the main interface automatically, with nothing more for you to do.

While waiting you can **Cancel request**. If you close and reopen HeyS while waiting, it keeps waiting on the same request and the check code stays the same. If the request is declined or expires, or your access is revoked, the page says why and you can request again.

## After signing in: organization, account and switching organizations \{#after-signing-in-organization-account-and-switching-organizations}

After you sign in, models, the extension market and configuration push are all provided by the organization and are set up when you arrive ([Models and Usage](https://docs.heys.ai/workstation/en/models-and-usage.md)). The first time you enter an organization, the model providers and API keys you set up on this computer yourself may be removed, depending on whether the organization allows custom models; HeyS shows a notice listing what was removed.

In the account menu at the bottom of the icon rail, a few organization-related items appear above the space list:

| Item                     | What it does                                                                                                                           |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| Organization: xx         | Shows your organization; during a trial it is tagged **Trial**                                                                         |
| **Change password**      | After the change, this computer stays signed in; other devices must sign in again with the new password (not available in device mode) |
| **Switch organization**  | Closes the current window and reopens the app, back on the page for choosing your organization                                         |
| **Unlink this computer** | Device mode only: after unlinking, this computer must request access again and be approved by an admin                                 |
| **Sign out**             | Signs out of the account and returns to the sign-in page                                                                               |

:::warning Warning
**When you sign out or your sign-in expires, all running tasks are paused first.** They do not continue under the next account that signs in, and usage is not charged to the next person. If a tool is running, HeyS waits for it to return before stopping, up to about 20 more seconds. After that, whoever opens the task and says something continues it under the account signed in at that time.
:::

**Each organization's data is kept separately.** After switching to another organization you see that organization's own sessions, projects and settings; the first organization you enter keeps using the data that was already on this computer. Switching organizations restarts the app and any unsaved input is lost, so HeyS asks you to confirm first.

### Linking your office app account by scanning a QR code

If your organization has turned on QR code scanning, the account you signed in with can also be linked to an office app account, so that the organization can match the two up. Organizations in both account mode and device mode support linking.

1. Open **Settings → Credits** (**Settings → Time** for organizations that bill by time) and find **xx account** below the account row. If it is not linked, it says **Not linked yet**.
2. Click **Scan to link**. **Link your xx account** opens; scan with that office app on your phone and confirm.
3. Once linked, the row shows **Linked:** followed by the name and account. To switch to a different account, click **Link again** and scan again.

Linking does not change your existing account or data.

**When your organization requires linking**: a computer that is not linked stops at **Link your xx account** after signing in, and goes to the main interface automatically once you scan and confirm. If you have already linked on your phone but the page has not reacted, click **Already linked? Check again**. If the network is down or the link status cannot be checked for the moment, this page does not block you, and you go to the main interface as usual.

## Release notes \{#release-notes}

The first time you open HeyS after an upgrade, the release notes for this version appear once, listing the new features and improvements you can use. Click **Got it** or close it at the top right when you are done, and it does not appear again.

<figure>

![The window shown the first time you open HeyS after an upgrade: HeyS has been updated to 26.1206.233, with the changes grouped by feature below and Got it at the lower right](/screenshots/02-更新内容.webp)

<figcaption>The window shown the first time you open HeyS after an upgrade: HeyS has been updated to 26.1206.233, with the changes grouped by feature below and Got it at the lower right</figcaption>
</figure>

To read them again, click **View** next to **Changelog** in **Settings → About**.

## Client updates \{#client-updates}

### When a new version is found

HeyS asks your organization's update service once at startup and then every 5 minutes. When it finds a new version:

- **At the bottom of the icon rail** (above your account avatar) a download button appears with a small dot at its top right. Hover over it to see the version number; beta versions and important updates are marked.
- In the version row of **Settings → About**, **Check for updates** asks again right away; when there is no new version it shows **Up to date**.

<figure>

![Settings → About: Version with Check for updates, Receive beta updates, Changelog, Core version, Cua version, Office version, Design version, Client ID with Copy, API version, Platform, Architecture, Config sync with Sync now, Data directory, and Logs with Export diagnostics](/screenshots/en/820-设置-关于-9533d5.webp)

<figcaption>Settings → About: Version with Check for updates, Receive beta updates, Changelog, Core version, Cua version, Office version, Design version, Client ID with Copy, API version, Platform, Architecture, Config sync with Sync now, Data directory, and Logs with Export diagnostics</figcaption>
</figure>

The update-related rows on the About page:

| Row                                                                       | Notes                                                                                                                                                                                                                                                                                            |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Version**                                                               | The desktop app version, with **Check for updates** on the right                                                                                                                                                                                                                                 |
| **Receive beta updates**                                                  | When on, you get beta versions early. Betas give you new features sooner but may be less stable. Turning it off does not roll you back to an older version; you get regular updates again once the stable release catches up. Admins can also turn it on for everyone through configuration push |
| **Changelog**                                                             | **View** opens the release notes of past updates inside the app                                                                                                                                                                                                                                  |
| **Core version**, **Cua version**, **Office version**, **Design version** | The versions of the kernel, the Computer Use component, the built-in Office editor and the design canvas. You do not need to care about them day to day; include a screenshot of them when you report a problem                                                                                  |
| **Client ID**                                                             | This computer's ID in your organization. It is the same as this computer's ID under the devices in the organization's operations console, so an admin can find it directly. Click **Copy** to copy it and send it to your admin. The client ID is different in each organization                 |
| **Platform**, **Architecture**                                            | The type of this installer, for example `default` and `arm64`. HeyS only takes updates of the same type, so the Kylin build is never updated to a package for another platform                                                                                                                   |
| **Config sync**                                                           | Whether the shared configuration pushed by your organization synced successfully last time; you can **Sync now** ([Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md))                                                            |

You can also search settings for "Client ID" or "Office version" to jump straight to the row. After you sign in to an organization, **Check model service** appears next to **Export diagnostics** ([Models and Usage](https://docs.heys.ai/workstation/en/models-and-usage.md)); see [Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md) for how to use the data directory, logs and exporting diagnostics.

### Downloading and installing

After you click the download button on the icon rail (or **Download and install update** on the About page), the button turns into a progress ring; hover over it to see **Downloading 42%**, **Verifying the package…** and **Installing…**. Every downloaded installer is first checked for integrity and signature, and is not installed if the check fails. What happens next depends on the platform:

| Platform                 | What happens                                                                                                                                                                                                                |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| macOS                    | The app is replaced automatically and you are asked to restart; choose **Later** and it takes effect the next time you quit                                                                                                 |
| Windows portable version | You are asked to restart; on restart the new version completes the replacement itself and reopens. If the folder is not writable, the folder containing the new version is opened so that you can replace it by hand        |
| Windows installer        | The replacement completes automatically and the app reopens; if installed for all users, click **Yes** in the Windows authorization prompt first                                                                            |
| Kylin deb                | Handed to the system's software installer, and HeyS quits at once; after installation it reopens automatically. If the installer cannot be opened, the package is shown in its folder and a `sudo dpkg -i` command is given |
| Kylin tar.gz             | No online updates; replace the package by hand                                                                                                                                                                              |

**If tasks are running**, the restart confirmation lists the tasks that would be interrupted, and the default button is **Later**, so you can update after they finish. Because the Windows and Kylin installers close the app, they also ask first whether to **Install anyway** or **Cancel**.

If an update fails, you get a reason you can understand and the old version is kept; when a manual replacement is needed, the folder containing the new version is opened. Upgrading never touches your data.

:::note Note
If the About page shows **Client updates are managed by your deployment**, your deployment has turned off update checks and upgrades versions centrally; no download button appears on the icon rail either.
:::

### Mandatory updates

The organization's operator can require that "this version and earlier must update". When that applies, HeyS shows **Update to v\<version> to continue** full screen, and you can only continue after updating:

- If no tasks are running, the update starts right away.
- If tasks are running, the update starts automatically once they finish; you can also click **Cancel tasks and update now**.
- If the update fails, you can **Retry**, **Download manually** or **Quit**. If the previous installation did not finish, the next time you open HeyS it offers to retry or install by hand.

## When opening fails \{#when-opening-fails}

When the desktop app fails to start, an error box appears with the reason and the location of the log. You can choose the organization again, open the folder containing the log, or quit.

**Damaged configuration file**: after a sudden power loss or forced shutdown, HeyS's configuration file is occasionally damaged. When HeyS notices this on opening, it saves a backup copy of the damaged file, rebuilds it with the default settings, goes to the main interface as usual, and tells you once that if model services or keys you entered by hand are missing, you should enter them again. Just fill them in again as prompted; there is no need to reinstall. The location of the log file `main.log` is also shown in **Settings → About → Logs**, where you can show it in its folder, export diagnostics or clear it ([Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md)).

## Uninstalling \{#uninstalling}

| Platform                 | How to uninstall                                                                                                                            |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
| macOS                    | Quit HeyS and drag HeyS from Applications to the Trash                                                                                      |
| Windows installer        | First choose **Quit** from the tray icon's right-click menu, then find HeyS in **Settings → Apps → Installed apps** and click **Uninstall** |
| Windows portable version | Quit HeyS from the tray and delete the unzipped folder                                                                                      |
| Kylin deb                | `sudo dpkg -r heys`                                                                                                                         |
| Kylin tar.gz             | Delete the unzipped folder                                                                                                                  |

The uninstaller **does not delete the data directory**. After you reinstall, your sessions, projects and settings are all still there.

If you are sure you will not use HeyS again and want to remove the data too, delete the data directory by hand after uninstalling (by default the `.heys` folder in your user folder; if you moved it, use the location shown in the **Data directory** row of the About page). If you joined several organizations, each has its own data directory and you need to delete each one.

:::danger Danger
The data directory holds all your sessions, projects and memory, as well as settings such as the keys saved on this computer. Make sure you have backed up what you need before deleting it; once deleted, it cannot be recovered. Before handing an old computer to someone else, also **Sign out** or **Unlink this computer** first, and then delete the data directory.
:::
