Rawi (راوي) Documentation | Getting Started Version
Installing Past Releases of Rawi CLI
Section titled “Installing Past Releases of Rawi CLI”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.
System Requirements
Section titled “System Requirements”- Node.js: 18.0.0 or higher
- Package Manager: npm, pnpm, or yarn
- Operating System: Windows, macOS, or Linux
Installation Instructions
Section titled “Installation Instructions”-
Choose your package manager and run the install command:
Terminal window npm install -g rawi@<version>Terminal window pnpm add -g rawi@<version>Terminal window yarn global add rawi@<version> -
(Optional) Install a specific beta version:
Terminal window npm install -g rawi@beta -
(Optional) Install from GitHub (latest main branch):
Terminal window npm install -g withrawi/rawi -
Verify installation:
Terminal window rawi --versionrawi info
-
Open PowerShell or Command Prompt as Administrator.
-
Choose your package manager and run the install command:
Terminal window npm install -g rawi@<version>Terminal window pnpm add -g rawi@<version>Terminal window yarn global add rawi@<version> -
Verify installation:
Terminal window rawi --versionrawi info
Local Installation (All Platforms)
Section titled “Local Installation (All Platforms)”npm install rawi@<version>
pnpm add rawi@<version>
yarn add rawi@<version>
Verify Installation
Section titled “Verify Installation”rawi --versionrawi info
Sample output:
rawi/0.0.0-beta.12 linux-x64 node-18.20.2
rawi --versionrawi info
Sample output:
rawi/0.0.0-beta.12 win32-x64 node-18.20.2
You can always use npx
to run a specific version without installing globally:
npx rawi@<version> ask "Hello, world!"
Or use pnpm dlx
:
pnpm dlx rawi@<version> configure
For troubleshooting installation issues, see the Troubleshooting Guide.
Uninstalling Rawi CLI
Section titled “Uninstalling Rawi CLI”npm uninstall -g rawi
pnpm remove -g rawi
yarn global remove rawi
Version Management
Section titled “Version Management”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.
Example: Checking Installed Version
Section titled “Example: Checking Installed Version”rawi --versionrawi/0.0.0-beta.12 linux-x64 node-18.20.2
rawi --versionrawi/0.0.0-beta.12 win32-x64 node-18.20.2
Additional Resources
Section titled “Additional Resources”Troubleshooting
Section titled “Troubleshooting”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