Skip to content

Install the desktop app

The desktop app is the quickest way to run Niko. You don't need Node.js, Docker or developer tools.

Already have a Niko server? Choose Connect to a server on first launch and enter its address and access token. To connect or switch servers after setup, follow the desktop connection steps for your operating system. To set one up, see Run Niko on a cloud VM.

For a local assistant, have a supported model service ready with its required credentials, a ChatGPT plan that supports sign-in, or a local model server such as Ollama. Paid providers bill you for use. A local model costs nothing per request. A remote assistant uses the models configured on its server.

flowchart LR
  dl[Download<br/>the installer] --> open[Open and<br/>approve it]
  open --> local[Get started]
  local --> prep[Niko prepares<br/>its computer]:::accent
  local --> ob[Onboarding]
  open --> remote[Connect to a server]
  remote --> address[Enter address<br/>and token]
  prep --> chat([Start chatting]):::go
  ob --> chat
  address --> chat

You need macOS 14 or later, on Apple silicon or Intel. For a local assistant, the app and its runtime are about 1.8 GB to download.

  1. In Apple menu → About This Mac, check whether your Mac has a Chip (Apple silicon) or Processor (Intel). Download the latest Apple silicon DMG or Intel DMG from GitHub.

  2. Open the DMG, drag Niko to Applications and open it from there.

  3. The first time, macOS asks whether to open an app downloaded from the internet. Select Open.

  4. At Welcome, choose Connect to a server to use an existing assistant, or Get started to start a local one. Local setup offers an optional email connection, a few optional questions about you, a model if none works yet, a choice about notifications, and, only where they're configured, a choice about conversation traces and an optional email address for updates. Niko sends nothing to NeoSky AI by default, except an email address you choose to leave for updates. Other apps can be connected later from the first chat or Apps. Niko tries to turn on Open at login when local setup finishes. If the operating system blocks this setting, setup still finishes. If you turn on notifications during setup, macOS may ask for permission. If macOS asks for your keychain password, approve it so Niko can protect your saved keys.

  5. For local setup, Niko downloads its runtime to this computer and shows progress. Keep your internet connection on. When setup is ready, Niko opens your chat with your saved connections. See Your first conversation.

Install from Terminal instead

You can install the latest release on Apple silicon or Intel with one command. Choose Turn Off Niko in the menu bar first, then paste this into Terminal:

Terminal
(
installer="$(mktemp)" || exit
trap 'rm -f "$installer"' EXIT
curl -q --proto '=https' --tlsv1.2 -fsSL https://github.com/NeoSky-AI/niko-releases/releases/latest/download/install.sh -o "$installer" && /bin/sh "$installer"
)

Run it as your normal user, without sudo. It finds the latest published GitHub release, verifies the downloaded app, installs it to /Applications/Niko.app, and opens Niko. An existing installation keeps its current path. Your existing data stays in place. You don't need a GitHub account.

Before it replaces Niko, the installer stops any old ShipIt update job and removes its cache. If it cannot stop the job, it keeps your app. If the new app cannot open, it keeps the previous copy and shows its location.

The Linux x64 app is a Flatpak preview. It needs a 64-bit Intel or AMD computer, Flatpak, and a desktop secret store. A local assistant also needs hardware virtualization and access to /dev/kvm. GNOME Keyring and KWallet are supported secret stores. Niko refuses to save keys without secure storage.

  1. Install Flatpak by following the setup instructions for your distribution, then add Flathub for the desktop runtime:

    Terminal
    flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
  2. Open Niko releases. Select a release with Linux files. Download niko-linux-x64.flatpak and SHA256SUMS-linux-x64 from that release into one empty folder.

  3. In that folder, check the bundle and install it. The install command runs only if the checksum passes:

    Terminal
    sha256sum --check SHA256SUMS-linux-x64 &&
    flatpak install --user ./niko-linux-x64.flatpak
  4. Open Niko from your application menu, or run flatpak run com.neoskyai.Niko. Choose Get started for a local assistant or Connect to a server for an existing one. For a local assistant, Niko downloads its private computer runtime now, the same way as on a Mac or Windows. Flatpak can also download its desktop runtime during installation.

  5. Keep your secret store unlocked during setup. Choose Turn on notifications during setup if you want alerts. Open at login uses your desktop's autostart folder. See Your first conversation.

Linux ARM builds are not published. Developers can build the Flatpak from source.

Linux setup copies and verifies the guest image before it starts the private computer. This also works with encrypted home folders that reject optimized file copies. Niko records new first setups and replaces them on the next attempt if they are interrupted. Computers that completed setup are kept.

A local assistant is on or off, not open or closed. Closing the window, or pressing Cmd+Q on a Mac, closes the app and leaves Niko on in the menu bar on a Mac, or the tray on Windows and Linux. On a Mac, the Dock icon goes away until you open a window again. The first time you close the app, a notification says where Niko is, if notifications are on. On Linux the tray icon appears only where the desktop or panel provides StatusNotifier support, such as a KDE or Cinnamon panel, GNOME with the AppIndicator extension, or a Waybar or Quickshell setup with a tray.

The menu bar or tray shows whether Niko is on, working or needs attention, and when the next scheduled task runs. Choose Open Niko to bring the window back.

To stop Niko and its private computer, choose Turn Off Niko in the menu bar, the tray or the Niko menu. If Niko is working, a scheduled task is due within a day, or Telegram or WhatsApp is connected, Niko first says what will stop, for example "Daily briefing won't run at 08:00 until you open Niko again." On Windows, running the installer or uninstaller while Niko is on offers to turn it off first.

Niko is What runs
On, with or without a window Chat, channels, schedules and background checks
Off, or your computer is asleep Nothing, until Niko is on and awake again
Your computer restarted or lost power Nothing, until you sign in and Niko starts

Niko tries to turn on Open at login when setup finishes. Niko then starts in the background when you sign in, without opening a window. If the operating system blocks this setting, setup still finishes. If you rely on scheduled tasks, keep it on in Settings → General.

If Niko's background service stops unexpectedly, Niko restarts it after 2 seconds, then 15 seconds, then a minute. If it stops a fourth time within 10 minutes, Niko shows the error and waits for you to select Try again.

Keep this computer awake when plugged in is on by default in Settings → General. While your computer is plugged in and Niko has a scheduled task or a connected Telegram or WhatsApp channel, Niko stops it from going to sleep when it's left idle, so runs and replies still happen. The screen still turns off and locks. On battery, Niko keeps the computer awake only while it's working.

On Windows, Niko also asks Windows to keep the system running through a small hidden PowerShell helper, because many laptops otherwise go to standby when the screen turns off. If the helper can't start, for example on a managed PC that blocks PowerShell, Niko writes the reason to its startup log, and such a laptop may still go to standby.

Closing a laptop's lid or choosing Sleep still puts the computer to sleep. A Mac laptop keeps running with its lid closed only when it's plugged in with an external display. When the computer wakes, a missed run happens once, and the chat says it was late. To keep schedules running while your computer sleeps, run Niko on a server.

When connected to a server, the server keeps your assistant, channels and schedules running after you turn off the app or put your computer to sleep. The server must stay running and connected, and the keep-awake setting isn't shown.

Open Settings → General → Appearance and use the Font size controls to make the desktop app smaller or larger. Use the reset button to return to 100%.

These controls change the same app zoom as View → Zoom Out and View → Zoom In. You can also use Cmd- and Cmd+ on a Mac, or Ctrl- and Ctrl+ on Windows and Linux.

On Linux, a Flatpak installed from a Niko repository updates itself once such a repository is published; none is yet. The Flatpak portal checks the repository about every 30 minutes, and Niko checks every 30 minutes whether the portal found a new commit. When the commit matches the latest GitHub release, Niko asks the portal to install it in the background and shows Restart to update. The first time, your desktop asks whether Niko may update itself. If you deny it, Niko says that your desktop doesn't let it update itself until you allow it in your privacy settings or run flatpak permission-reset com.neoskyai.Niko. If the prompt stays unanswered for 30 minutes, the check stops with an error and the next check asks again. If a release adds permissions to the Flatpak, the portal refuses the update and Niko shows the reason; install that release with flatpak install --user --reinstall com.neoskyai.Niko//stable instead. Check for Updates… cannot force the portal to check sooner. A Flatpak installed from a bundle file has no repository, so turn off Niko, then download, check and install the next bundle with the Linux procedure. Your profile and private computer stay in place either way. flatpak update can update shared desktop runtimes. If the new version needs a different private computer runtime, Niko downloads it on the next local launch.

On Linux, an RPM install cannot update itself, because the app lives in a folder only an administrator can change. Niko checks for a newer release every six hours and when you choose Check for Updates…. An automatic check shows a notice, a system notification that only appears when notifications are on in Settings → General, quiet hours allow it, and no engine window is focused; a manual check always shows a dialog with Copy command. Either way, the command is sudo dnf upgrade niko, which needs the Niko package repository added to dnf; no such repository is published yet, so the command currently finds nothing. The notice appears once for each new version. The rest of this section applies to Mac and Windows.

Niko checks for updates after it starts, every six hours while it's open, and after your computer wakes if a check is due. Checks continue when an update is already downloaded, so a newer release can replace it before you restart.

Downloads run in the background. If a check fails, Niko retries after one minute. Further failures increase the wait, up to 15 minutes. Waking your computer also retries a failed check. On Windows, interrupted downloads keep their saved bytes across retries and app launches. Niko checks complete files before it uses them again. It downloads a local runtime pack only when that pack changed.

To check now, select Check for Updates… in the Niko menu on a Mac, or from the menu bar or tray icon. This stays available alongside Restart to update when an update is ready. While a check or download runs, its menu item shows progress and restart waits until it finishes.

If an update check, preparation or download fails, the app shows the failed step and its error reason. You can keep using Niko. Select Try again to check and download again, or Retry restart if a downloaded update could not restart Niko. A restart retry uses the downloaded update. Select Download Niko to open the official installation page in your browser. It does not install or restart Niko. Dismiss hides the same automatic failure during this app session. A different failure appears again. Automatic checks keep their retry timing and do not open an error dialog. A manual check or restart also offers the download page in its error dialog.

If installation fails after Niko has stopped, a dialog shows the error reason. Retry installation uses the downloaded update. Download Niko opens the official installation page and quits the stopped app. Quit without updating closes the app. Your data stays in place.

Newer Niko builds show an in-app notice when an update finishes downloading. It names the new version and offers Restart to update or Later. Select Release notes in the notice to open that version's GitHub release page in your browser. Later hides the notice for that version during the current app session; Restart to update stays in the menu. Older builds may show only the menu action, so use Check for Updates… there to check immediately. If Niko is in the middle of a task, it asks before restarting, and you can ask it to continue afterwards. While it shuts down to install, Niko shows Updating Niko…, then opens again where you left it, with any unsent message still in the box. Niko keeps your profile, keys and data. A completed installation does not repeat onboarding after an update.

On a Mac, the new version can take a minute or two to open after the window closes, because macOS copies and checks the new app first. If you open Niko during that time, it closes again right away and the new version opens when the install finishes.

On a Mac, Niko waits while its update installer is still running. If the installer is still active or its state is unknown when Niko starts its automatic update checks, the first automatic check waits 15 minutes. Every check and restart also waits until macOS reports that the installer is idle. The native menu and tray actions stay unavailable while Niko waits for the installer.

Niko 0.8.4 and earlier on a Mac cancel the update when you open them while it installs, so Niko opens on the old version again. Select Restart to update once more and wait until Niko opens by itself. If it still opens on the old version, quit Niko and run the Terminal installer. It keeps your profile, keys and data.

For a local assistant, a ready update installs by itself when Niko is idle: no window is open, nothing is running and no scheduled task is due within 15 minutes. A desktop client connected to a server installs it when no window is open. Niko then starts again in the background without opening a window. A ready update also installs when you choose Turn Off Niko, and Niko stays off until you open it again. On Windows, the installer runs in the background after Niko stops. On a Mac, the native updater applies the downloaded update after exit. To use the update now, choose Restart to update. On Windows, this runs the installer in the background and opens Niko again when it finishes.

Niko versions before 0.7.0 on Windows can't install their own updates. Restarting to update closes Niko without installing, and the next start offers the same update again. Quit Niko from the tray icon, then download and run the latest Windows x64 installer. It installs over the old version and keeps your profile, keys and data. Later updates install from the app.

Updating a connected desktop client does not update its server. Follow Server operations to update the server separately.

For a local assistant, Niko's database, workspace and browser stay on your computer. When connected to a server, the server stores them along with model credentials and the Composio identity. Every client using the same server reaches the same assistant and connected accounts. Your device keeps its server address, encrypted access token, preferences and client data, such as unsent drafts and downloaded files.

Requests go to the model provider and apps you choose. Managed app requests and results pass through NeoSky's connection service and Composio; NeoSky's service doesn't store them. NeoSky AI keeps nothing else of yours by default. Usage analytics, feedback reports, conversation traces and onboarding email signup are off unless the operator configures them. When they're on, you can turn off Share usage data or Share conversation traces in Settings → Privacy & data. See Your data and privacy.

Niko starts with a fresh profile and doesn't import data from a source install.

Mac Windows
App data and settings ~/Library/Application Support/niko/profiles/local %APPDATA%\niko\profiles\local
Private computer ~/.niko-desktop/<profile id> A WSL distribution named niko-<profile id>
Saved keys Encrypted with the macOS key store Encrypted with Windows DPAPI

On Linux, app data and settings are in ~/.var/app/com.neoskyai.Niko/config/niko/profiles/local. The private computer is in ~/.niko-desktop/<profile id>. Your desktop's Secret Service protects saved keys. For a local assistant, Niko downloads a runtime pack to ~/.var/app/com.neoskyai.Niko/data/niko/runtime, the same way as on a Mac.

Moving Niko to the Trash or uninstalling it keeps your data, so a later install opens where you left off. Uninstalling a connected client does not delete server data. To return to a local assistant first, choose Replay onboarding… → Change server → Use this computer, then:

  1. Select Remove all data in Settings → Privacy & data. If Niko can't finish setup, select Remove all data… in the Niko menu instead.
  2. Review the warning, then confirm. It lists what Niko will delete and explains that you must complete setup again. Niko deletes your profile and private computer, then restarts and opens setup. The app stays installed.
  3. To remove the app too, choose Turn Off Niko. Move it to the Trash on a Mac, uninstall it in Settings → Apps on Windows, or run flatpak uninstall --delete-data com.neoskyai.Niko on Linux.

On Linux, uninstalling the Flatpak alone leaves the private computer in ~/.niko-desktop and keeps the runtime pack. Use Remove all data first to delete the private computer safely. flatpak uninstall --delete-data com.neoskyai.Niko removes the runtime pack too, along with the rest of the app's data directory.

On a Mac and Linux, Niko keeps the runtime it downloaded, so a new install doesn't download it again, and its entry in the key store. Neither holds your data. Apps you connected may still list Niko until you remove it there.

If you deleted Niko's folders by hand, Niko removes the private computer they leave behind the next time it opens.

If a setup error shows Details, select it to read more information.

Problem Try this
macOS blocks the first launch Install the newest release. On a managed Mac, ask your IT team to allow Niko.
Setup stops with an error Select Try again, or Report bug to restart Niko and open a report once it's back. If Niko can't restart, select Show startup log. When connected to a server, select Reconnect to server.
Niko asks for a runtime file Select Choose runtime file and pick the niko-Runtime-… file from the same release.
Windows can't download the runtime Put niko-Runtime-win32-x64.tar.gz from the same release next to niko-Setup-x64.exe and run the installer again.
Windows downloads the same update again after a restart Niko 0.6.2 and earlier can't install updates on Windows. Quit Niko from the tray icon, then download and run the newest Windows installer once. Your data stays in place.
A Mac update opens the old version again Niko 0.8.4 and earlier cancel an update when you open them while it installs. Select Restart to update and wait until Niko opens by itself. If it still opens on the old version, quit Niko and run the Terminal installer. Your data stays in place.
A scheduled task didn't run Check that the machine running your assistant was awake and Niko was on. Keep Keep this computer awake when plugged in on in Settings → General. For a remote assistant, check the server.

After a failed update, the ShipIt update job can stay loaded. A new copy of Niko can then fail to open. If macOS shows “Niko” is damaged and can't be opened after an update failed, remove the old update job before you install Niko again.

  1. Choose Turn Off Niko in the menu bar. If it stays open, use Activity Monitor to stop it.

  2. Open Terminal and run these commands as your normal user:

    Terminal
    launchctl bootout "gui/$(id -u)/com.neoskyai.niko.desktop.ShipIt"
    rm -rf "$HOME/Library/Caches/com.neoskyai.niko.desktop.ShipIt"

    If no ShipIt job is loaded, the first command can report an error. Continue with the second command.

  3. Download the newest DMG from the releases page. Replace the copy in Applications, then open it.

These commands remove only the update job and its cache. They keep your profile, conversations, saved keys and private computer. If Niko still does not open, report a bug.