Docs

tillie / CLI / Install the tillie CLI

Install the tillie CLI

Install the tillie 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 tillie CLI guide for AI agents first.

Prerequisites

  • A dillie account. It is the same account as tillie POS. If you don’t have one, sign up at dillie.work.
  • The computer you install on must meet the requirements in the table below.
Operating system Install method Requirements
macOS Install script arm64 or x64 CPU, curl or wget, sha256sum or shasum
Linux Install script arm64 or x64 CPU, curl or wget, sha256sum or shasum
Windows PowerShell install script x64 PC: Windows 10 or later. ARM PC: Windows 11 (runs the x64 build under emulation). Windows PowerShell 5.1 or PowerShell 7

Install on macOS or Linux

Run the install script in a terminal.

curl -fsSL https://tillie.club/download/cli/install.sh | sh

If curl is not available, run it with wget.

wget -qO- https://tillie.club/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/tillie-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/tillie.
  • Does not edit your shell startup files (~/.zshrc, ~/.bashrc, and so on). If the install directory is not on your PATH, 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://tillie.club/download/cli/install.sh | TILLIE_VERSION=v0.1.0 sh
Variable Default Description
TILLIE_INSTALL_DIR ~/.local/bin Directory to place the executable in
TILLIE_VERSION latest Release tag to install (for example v0.1.0)

Install on Windows

Run the install script in PowerShell. You don’t need administrator rights.

irm https://tillie.club/download/cli/install.ps1 | iex

The script does the following:

  • Downloads the Windows executable (x64) from the public releases. On Windows 11 on ARM, it installs the same x64 build, which runs under emulation. Windows 10 on ARM cannot run x64 programs, so the script stops before downloading — install inside WSL instead.
  • Checks it against the release’s SHA256SUMS. If the checksum doesn’t match, or there’s nothing to check it against, it stops without installing.
  • Puts the executable at %LOCALAPPDATA%\Programs\tillie-cli\tillie.exe and adds that folder to your user PATH. Terminals you open after that find tillie.

To change the install location or version, set environment variables first (TILLIE_INSTALL_DIR as an absolute path, TILLIE_VERSION as a release tag that lists the Windows build tillie-cli-windows-x64.exe).

$env:TILLIE_VERSION = 'vX.Y.Z'; irm https://tillie.club/download/cli/install.ps1 | iex

Inside WSL (Linux), install with the same command as in Install on macOS or Linux. If you run the install script (install.sh) in Git Bash, MSYS, or Cygwin, it shows the PowerShell line above and stops.

Verify the install

Open a new terminal and check the version and where the executable is.

tillie --version
command -v tillie

If command -v tillie 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

On Windows, check in a new PowerShell window.

tillie --version
Get-Command tillie

If Get-Command tillie finds nothing, the terminal was open before the install. The install script added the folder to your user PATH, so open a new terminal. If it still finds nothing, sign out of Windows and sign back in.

Sign in

tillie 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.

tillie login --device

Check who you are signed in as and in which workspace. If you are not signed in, it prints Not signed in. Run `tillie login`. and exits with code 1.

tillie whoami

What you can see and change with the CLI is set by the scopes you approved at sign-in and your store assignments. Check the stores you can work with and the data you can read for each store (reads).

tillie stores list

To switch to another workspace, list them and pick one. If you have not yet approved the tillie CLI in that workspace, sign in again with tillie login --workspace <tenantId>.

tillie workspace list
tillie workspace use <tenantId or name>

The session is stored on the computer you signed in on, at ~/.config/tillie/cli-tillie/credentials (under XDG_CONFIG_HOME if you set it, or at TILLIE_CREDENTIALS_PATH if you set that). On Windows it is %USERPROFILE%\.config\tillie\cli-tillie\credentials. Signing out revokes the session on the server and deletes this file.

tillie 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.

The CLI downloads the latest release, verifies the checksum, and replaces itself.

tillie upgrade

Uninstall the CLI

There is no uninstall command. Remove it in this order.

  1. Revoke the session on the server.

    tillie logout
  2. Delete the executable.

    rm ~/.local/bin/tillie

    On Windows, run this in PowerShell instead. It deletes the executable and its entry in your user PATH.

    & ([scriptblock]::Create((irm https://tillie.club/download/cli/install.ps1))) -Uninstall
  3. Delete the CLI’s config directory ~/.config/tillie/cli-tillie and the update-check cache ~/.cache/tillie (under XDG_CONFIG_HOME and XDG_CACHE_HOME if you set them).

Troubleshooting

tillie: 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/tillie. If it does, add it to PATH as in Verify the install. If it does not, install again from a terminal on this computer.

On Windows, install with PowerShell instead: …

You ran the install script (install.sh) in Git Bash, MSYS, or Cygwin on Windows. Install from PowerShell as in Install on Windows.

Windows 10 on ARM cannot run x64 programs, and there is no ARM64 build of tillie. Use Windows 11, or install inside WSL.

This is Windows 10 on ARM, which cannot run x64 programs. Nothing was downloaded. Upgrade to Windows 11, or install inside WSL as in Install on macOS or Linux.

The install stops with a checksum error

The downloaded file does not match the release’s SHA256SUMS. Nothing was installed. Run it again.

This sign-in does not include managing brands and stores (g8:oauth:tillie:spot:write).

You signed in before this command was added. Run tillie login again and approve “Manage stores and brands” on the approval screen.

Store <storeId> is not visible to you.

The store is outside your store assignments or belongs to another workspace. Check the stores you can work with using tillie stores list.