Skip to content
  • Node.js 22.13 or later on macOS, Linux or Windows 10/11.
  • Bash for Raw’s bash tool. On Windows, install Git for Windows, or use the powershell tool instead.

Raw is published on npm as @tlelabs/raw. The installed command is raw.

Install the latest release globally:

Terminal window
npm install -g @tlelabs/raw

Raw runs natively on Windows. WSL is not needed.

  • Bash. The bash tool runs Git Bash. RAW_BASH_PATH wins when it is set. Otherwise Raw looks in %ProgramFiles%\Git, %LOCALAPPDATA%\Programs\Git, then beside the git.exe on PATH, then for a bash.exe on PATH. It never picks WSL’s bash.exe on its own.
  • PowerShell. Without Git Bash, raw config init selects the powershell tool in place of bash. You can select either tool, or both, later. PowerShell 7 (pwsh) is recommended; without it Raw uses the Windows PowerShell 5.1 every Windows has. RAW_POWERSHELL_PATH picks another.
  • Stopping. Stopping a command, a hook or a background process ends its whole process tree at once.
  • Rules. Rules and hooks that match builtin/bash do not cover builtin/powershell. Add rules for each shell an agent selects.
  • Consoles. Windows Terminal and the VS Code terminal show Raw’s Unicode icons. The older console window gets ASCII. Closing the window or pressing Ctrl+Break cancels the running work.

Run the configuration initializer once:

Terminal window
raw config init

This creates ~/.config/raw/config.json, or $XDG_CONFIG_HOME/raw/config.json when XDG_CONFIG_HOME is set. On macOS and Linux the file is created with owner-only permissions (mode 0600). On Windows it takes the access rules of the folder it is created in. The initializer does not overwrite an existing file.

The starter file defines:

  • a default agent named raw, and
  • a model alias local that points to an Ollama-compatible endpoint at http://127.0.0.1:11434/v1, with the placeholder model ID YOUR_INSTALLED_MODEL.

Before your first task, replace the placeholder model ID with a model you have installed. The Quickstart shows how.

Terminal window
raw --help
raw config list

raw config list reports each agent’s model, endpoint and tool selection. It does not print credentials.

Data Location
Configuration ~/.config/raw/config.json (or $XDG_CONFIG_HOME/raw/)
Saved sessions ~/.local/state/raw/sessions.sqlite (or $XDG_STATE_HOME/raw/), with payload files beside it

On Windows, ~ is %USERPROFILE%: the configuration is %USERPROFILE%\.config\raw\config.json.

To update to the latest release, run:

Terminal window
npm install -g @tlelabs/raw@latest

Check the installed version with raw --version. Release notes are on GitHub releases.

To uninstall the command, run:

Terminal window
npm uninstall -g @tlelabs/raw

This removes the installed package. It does not remove your configuration or saved sessions. Delete ~/.config/raw/ and ~/.local/state/raw/ yourself if you no longer need them. Back up the state directory first if you want to keep any session history.