Skip to content

Rawi (راوي) Documentation | Getting Started Version

This topic describes how to install previous releases of the Rawi Command Line Interface (Rawi CLI) on supported operating systems. For information on the latest releases, see the Rawi GitHub Releases.

  • Node.js: 18.0.0 or higher
  • Package Manager: npm, pnpm, or yarn
  • Operating System: Windows, macOS, or Linux
  1. Choose your package manager and run the install command:

    Terminal window
    npm install -g rawi@<version>
  2. (Optional) Install a specific beta version:

    Terminal window
    npm install -g rawi@beta
  3. (Optional) Install from GitHub (latest main branch):

    Terminal window
    npm install -g withrawi/rawi
  4. Verify installation:

    Terminal window
    rawi --version
    rawi info
Terminal window
npm install rawi@<version>
Terminal window
rawi --version
rawi info

Sample output:

Terminal window
rawi/0.0.0-beta.12 linux-x64 node-18.20.2

You can always use npx to run a specific version without installing globally:

Terminal window
npx rawi@<version> ask "Hello, world!"

For troubleshooting installation issues, see the Troubleshooting Guide.

Terminal window
npm uninstall -g rawi

Rawi uses semantic versioning:

  • MAJOR.MINOR.PATCH
    • MAJOR: Breaking changes
    • MINOR: New features (backwards compatible)
    • PATCH: Bug fixes (backwards compatible) For more details, see the Release Process.

Terminal window
rawi --version
rawi/0.0.0-beta.12 linux-x64 node-18.20.2


If you encounter issues after installing or uninstalling Rawi CLI, see the Troubleshooting Guide for solutions to common problems such as:

  • Command not found errors
  • Version mismatch after upgrade/downgrade
  • Permission issues on macOS/Linux/Windows