Step 2: Install the CLI

Install the officeclaws command-line tool on macOS, Linux, or Windows.

macOS and Linux

1. Open a terminal and run:

curl -fsSL https://officeclaws.com/downloads/install.sh | sh

The installer finds the latest version for your system, downloads it, and copies it to /usr/local/bin. It may ask for your computer password (sudo) at this point.

When it finishes, you should see:

Installed officeclaws 0.2.11 → /usr/local/bin/officeclaws
Next: officeclaws register   (then: officeclaws subscribe)

2. Check that it works:

officeclaws version

If you see command not found, the installer used ~/.local/bin instead. It also printed a note asking you to add that folder to your PATH. Add this line to your ~/.zshrc or ~/.bashrc and open a new terminal:

export PATH="$HOME/.local/bin:$PATH"

Windows

Windows support is experimental. There is no installer yet, and the full setup hasn't been verified on Windows.

  1. Open officeclaws.com/downloads/cli/latest.json and note the current version number.
  2. Download officeclaws_<version>_windows_amd64.zip from https://officeclaws.com/downloads/cli/<version>/. Use the arm64 file instead on ARM devices.
  3. Unzip it and move officeclaws.exe to a folder that is on your PATH.
  4. In PowerShell, run officeclaws version to check that it works.

Install options

You can change how the installer behaves with these environment variables:

VariableWhat it does
OFFICECLAWS_INSTALL_DIR=~/binInstall to a different folder
OFFICECLAWS_NO_ANALYTICS=1Don't send the anonymous "installed" event

Example:

curl -fsSL https://officeclaws.com/downloads/install.sh | OFFICECLAWS_INSTALL_DIR=~/bin sh

Updating

Run the install command again. It always installs the latest version over the old one.

Next step

Step 3: Create an account and subscribe →