Install Rohas CLI and set up your development environment.
The easiest way to install Rohas CLI with all dependencies:
curl -fsSL https://raw.githubusercontent.com/rohas-dev/rohas/main/scripts/build.sh | bash
This script will:
/usr/local/bin/rohasVerify the installation:
rohas --version
Alternatively, install directly from Cargo:
cargo install rohas-cli
Verify the installation:
rohas --version
Clone and build the repository:
git clone https://github.com/rohas-dev/rohas.git cd rohas cargo build --release -p rohas-cli
The binary will be in target/release/rohas
For TypeScript projects, ensure Node.js 18+ is installed:
node --version # Should be 18.0.0 or higher npm install # Install project dependencies
For Python projects, ensure Python 3.9+ is installed:
python --version # Should be 3.9.0 or higher pip install -r requirements.txt # Install project dependencies
Run the following command to see all available commands:
rohas --help