Install the CLI
Install the dillie CLI for your operating system, verify the install, sign in, update, and uninstall. If an AI agent is installing it for a user, read the Guide for AI agents first.
Prerequisites
- A dillie account. If you don’t have one, sign up at dillie.work.
- The requirements for each install method are in the table below.
| Operating system | Install method | Requirements |
|---|---|---|
| macOS | Install script or npm | Script: arm64 or x64 CPU / npm: Node.js 22.12 or later |
| Linux | Install script or npm | Script: arm64 or x64 CPU / npm: Node.js 22.12 or later |
| Windows | npm, or the install script inside WSL | npm: Node.js 22.12 or later |
Install on macOS or Linux
Run the install script in a terminal.
curl -fsSL https://dillie.work/download/cli/install.sh | sh
If curl is not available, run it with wget.
wget -qO- https://dillie.work/download/cli/install.sh | sh
The script does the following.
- Downloads the executable for your operating system (macOS or Linux) and CPU (arm64 or x64) from the public releases (github.com/TeamGravity8/dillie-cli). It is a single executable that runs without Node.js.
- Verifies the checksum against the release’s
SHA256SUMS. If it does not match, or there is no entry to check, it stops without installing. - Places the executable at
~/.local/bin/dillie. - Does not edit your shell startup files (
~/.zshrc,~/.bashrc, and so on). If the install directory is not on yourPATH, it prints the command to add it for your shell.
To change the install location or version, put environment variables before sh.
curl -fsSL https://dillie.work/download/cli/install.sh | DILLIE_VERSION=v0.23.0 sh
| Variable | Default | Description |
|---|---|---|
DILLIE_INSTALL_DIR |
~/.local/bin |
Directory to place the executable in |
DILLIE_VERSION |
latest |
Release tag to install (for example v0.23.0) |
Install on Windows
On Windows, install with npm. Node.js 22.12 or later is required.
npm install -g @gravity8/dillie-cli
There is no single executable for Windows yet. If you run the install script in Git Bash, MSYS, or Cygwin, it tells you to run it again from WSL and stops. Inside WSL (Linux), the same command as in Install on macOS or Linux works.
Install with npm
With Node.js 22.12 or later, you can install with npm on any operating system.
npm install -g @gravity8/dillie-cli
To run it once without installing, use npx.
npx @gravity8/dillie-cli --version
Verify the install
Open a new terminal and check the version and where the executable is.
dillie --version
command -v dillie
If command -v dillie prints nothing, the install directory is not on your PATH. Run the command the install script printed. For zsh it is:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
Sign in
dillie login
The dillie approval screen opens in your browser. Choose the workspace to enter and approve; the CLI saves the session and prints Signed in.
Where no browser can open (an SSH session, CI), add --device. Open the printed URL in a browser on another device and enter the code.
dillie login --device
Check who you are signed in as. If you are not signed in, it prints Not signed in and exits with code 1.
dillie whoami
The session is stored on the computer you signed in on, at ~/.config/dillie/cli-dillie/credentials (under XDG_CONFIG_HOME if you set it). Signing out revokes the session on the server and deletes this file.
dillie logout
Update the CLI
When a new version is out, a one-line notice goes to stderr once a day when you run a command. Add --no-update-check to turn it off.
If you installed with the install script, the CLI downloads the latest release, verifies the checksum, and replaces itself.
dillie upgrade
If you installed with npm, install again with npm. Running dillie upgrade on an npm install prints this command and stops.
npm install -g @gravity8/dillie-cli@latest
Uninstall the CLI
There is no uninstall command. Remove it in this order.
-
Revoke the session on the server.
dillie logout -
Delete the executable. If you used the install script, delete
dilliein the install directory; if you used npm, remove the package.rm ~/.local/bin/dillie npm uninstall -g @gravity8/dillie-cli -
Delete the CLI’s config directory
~/.config/dillie/cli-dillieand the update-check cache~/.cache/dillie(underXDG_CONFIG_HOMEandXDG_CACHE_HOMEif you set them). Themcp-dilliedirectory under the same~/.config/dillieholds the local MCP server’s session, which is separate from the CLI —dillie logoutdoes not end it either, so leave it in place.
Troubleshooting
dillie: command not found
The install directory is not on your PATH, or the install ran on another computer or in another environment. Check that the file exists with ls ~/.local/bin/dillie. If it does, add it to PATH as in Verify the install. If it does not, install again from a terminal on this computer.
Windows is not supported. Run this again from WSL (Linux).
You ran the install script in Git Bash, MSYS, or Cygwin on Windows. Install with npm as in Install on Windows, or run it inside WSL.
The install stops with a checksum error
The downloaded file does not match the release’s SHA256SUMS. Nothing was installed. Run it again.