Installing and updating Explyt CLI
Supported platforms
| Platform | Identifier |
|---|---|
| Windows x64 (Windows 10 version 1803 or later) | win32-x64 |
| Linux x64 (glibc) | linux-x64 |
| macOS on Intel | darwin-x64 |
| macOS on Apple Silicon | darwin-arm64 |
Linux on ARM and musl-based distributions, such as Alpine, are not supported.
Installation
The installer needs no Node.js, npm, or administrator rights. It downloads the required Node.js version, verifies its checksum, and installs the agent in your home directory.
Windows (PowerShell):
irm https://explyt.ai/cli/install.ps1 | iex
Linux and macOS:
curl --proto '=https' --tlsv1.2 -fsSL https://explyt.ai/cli/install.sh | sh
On Linux and macOS, the installer needs curl or wget, tar, and sha256sum or shasum.
The installer creates the explyt command in ~/.local/bin (on Windows, explyt.cmd in %USERPROFILE%\.local\bin) and adds this directory to PATH. On Windows, the directory is added to the user PATH variable. On Linux and macOS, the installer offers to add this line to your shell profile:
export PATH="$HOME/.local/bin:$PATH"
If the terminal is not interactive, the installer only prints the line, and you need to add it to your profile yourself.
Running the installer again or running explyt install updates an existing installation.
Installing with npm
The package is published on npm as @explyt/ai-agent and requires Node.js 22.19 or later. To run a specific version once without installing it, use npx:
npx -y @explyt/ai-agent@<version> # run the agent
npx -y @explyt/ai-agent@<version> login # save credentials
For everyday work, use the installer. A global install with npm i -g @explyt/ai-agent is not updated automatically. If such a copy comes earlier in PATH than the installer's command, the installer reports the conflict and offers to remove it.
Signing in and out
You can sign in right in a session with the /login command (see the quickstart) or from the command line:
explyt login # save provider credentials
explyt logout # remove saved credentials
Explyt CLI keeps its credentials and sessions separately from other agents, so you need to sign in to Explyt CLI itself once.
Updates
Updates install automatically:
- on every start, the agent checks whether a new version is out in its channel, and checks again every 4 hours while it runs;
- the new version downloads and installs in the background, and the current session keeps running on the old version;
- the new version is used from the next start. To continue the current session on it, exit and run
explyt --continue.
While the install runs, the agent says so in a yellow message. You can close the session: the install continues. If the update fails, the agent names the log file install/last-update.log in the installation directory.
To update right away, run:
explyt update
To see the installed version, run explyt --version.
Channels and auto-update
Change the update settings with explyt config:
| Setting | Values | Default | Purpose |
|---|---|---|---|
updateChannel | stable, dogfood | stable | stable gets stable releases, dogfood gets prereleases |
autoUpdate | true, false | true | false turns off the background update check. explyt update still works |
explyt config set autoUpdate false
explyt config get updateChannel
The dogfood channel is for testing prereleases. Prerelease builds use a separate test account, so after switching to dogfood, run explyt login again. If you switch back to stable, the CLI stays on the current, newer version until the stable channel catches up. To install the stable version right away, run:
explyt update --channel stable --allow-downgrade
Working without background network requests
The EXPLYT_OFFLINE=1 environment variable (true and yes work too) turns off the requests the agent makes on its own:
- the update check and background installation of updates;
- the model catalog refresh. After you sign in, the model list stays as it was last saved;
- the request for the remaining balance of your Explyt account: the status bar shows no balance while the variable is set.
This does not turn off all network access. Model requests, web search, MCP servers, Telegram, and usage telemetry keep working. Set the variable in your shell profile and restart the agent.
Where files are stored
Settings you change yourself live in the .explyt/ folder:
~/.explyt/ settings, rules, skills, MCP servers for all projects
<project>/.explyt/ the same for one project
Installation files live in the data directory:
<root> = $XDG_DATA_HOME/explyt-ai-agent
default ~/.local/share/explyt-ai-agent,
on Windows %USERPROFILE%\.local\share\explyt-ai-agent
<root>/agent/ credentials, sessions, engine settings
<root>/node/<version>/ the Node.js the agent runs on
<root>/install/ installed versions and the update log
~/.local/bin/explyt the terminal command (explyt.cmd on Windows)
Don't change files in <root>/install/ and <root>/node/ by hand: the installer manages them.
This installation is shared by the terminal and the Explyt JetBrains Plugin.
Uninstalling
There is no uninstall command. The installation is shared with the Explyt JetBrains Plugin, so if you use the plugin, remove only the explyt command (step 2).
To remove Explyt CLI completely by hand:
- Close all
explytsessions. - Delete the
~/.local/bin/explytcommand (on Windows,%USERPROFILE%\.local\bin\explyt.cmd). - Delete the
<root>directory:~/.local/share/explyt-ai-agent(on Windows,%USERPROFILE%\.local\share\explyt-ai-agent). This also deletes saved credentials and session history. - Optionally, remove the
export PATH="$HOME/.local/bin:$PATH"line from your shell profile. Keep it if~/.local/bincontains other programs. - If you no longer need your settings, delete the
~/.explytfolder.