Cross-platform installation scripts for the razd CLI tool.
curl -fsSL https://get.razd.dealenx.ru/install.sh | bashirm https://get.razd.dealenx.ru/install.ps1 | iexAlternative: If the short URL is unavailable, use the raw GitHub URLs:
- Linux/macOS:
curl -fsSL https://raw.githubusercontent.com/razd-cli/installer/main/install.sh | bash- Windows:
irm https://raw.githubusercontent.com/razd-cli/installer/main/install.ps1 | iex
The installer will:
- Detect platform — Automatically determine your OS and architecture
- Download razd — Fetch the binary from GitHub Releases
- Install to PATH — Place the binary in
~/.local/bin(Linux/macOS) or%LOCALAPPDATA%\razd(Windows) - Configure PATH — Offer to add the install directory to your shell's rc file if needed
See all releases on GitHub before installing:
./install.sh --list
./install.sh --list 50.\install.ps1 -List
.\install.ps1 -List -ListCount 50By default, the installer installs the latest stable release. Pre-release versions are not included by default.
# Install latest stable version
curl -fsSL https://get.razd.dealenx.ru/install.sh | bash
# Install a specific version
RAZD_VERSION=1.0.0 curl -fsSL https://get.razd.dealenx.ru/install.sh | bash
# Or when running directly:
./install.sh --version 1.0.0
./install.sh --pre-release # latest pre-release
./install.sh -v 1.0.0-dev.0 # specific pre-release# Install latest stable version
irm https://get.razd.dealenx.ru/install.ps1 | iex
# Install a specific version
$env:RAZD_VERSION = "1.0.0"; irm https://get.razd.dealenx.ru/install.ps1 | iex
# Or when running directly:
.\install.ps1 -Version 1.0.0
.\install.ps1 -PreRelease
.\install.ps1 -Version 1.0.0-dev.0# Using environment variable
$env:RAZD_VERSION = "1.0.0"; irm https://get.razd.dealenx.ru/install.ps1 | iex
# Using parameter (when running directly)
.\install.ps1 -Version 1.0.0
.\install.ps1 -Version 1.0.0-dev.0Pre-release versions (containing a - suffix like 1.0.0-dev.0) are marked with a warning during installation.
RAZD_INSTALL_DIR=/usr/local/bin curl -fsSL https://get.razd.dealenx.ru/install.sh | bash
# or
./install.sh --dir /usr/local/bin$env:RAZD_INSTALL_DIR = "C:\Tools\razd"; irm https://get.razd.dealenx.ru/install.ps1 | iex
# or
.\install.ps1 -InstallDir "C:\Tools\razd"Usage:
./install.sh [OPTIONS]
Options:
-v, --version VERSION Install specific version (default: latest stable)
-p, --pre-release Install latest pre-release version
-l, --list [N] List available versions (default: 20)
-d, --dir DIR Installation directory (default: ~/.local/bin)
-h, --help Show help message
Environment Variables:
RAZD_VERSION Version to install (default: latest)
RAZD_INSTALL_DIR Installation directory
GITHUB_TOKEN GitHub token to avoid rate limiting
Options:
-Version VERSION Install specific version (default: latest stable)
-PreRelease Install latest pre-release version
-List List available versions
-ListCount N Number of versions to list (default: 20)
-InstallDir DIR Installation directory
-Help Show help message
Environment Variables:
RAZD_VERSION Version to install
RAZD_INSTALL_DIR Installation directory
GITHUB_TOKEN GitHub token to avoid rate limiting
curl(pre-installed on most systems)tar(pre-installed on most systems)
- PowerShell 5.1 or later (pre-installed on Windows 10+)
| Platform | Architecture | Status |
|---|---|---|
| Linux | x64, arm64 | Supported |
| macOS | x64, arm64 | Supported |
| Windows | x64, arm64 | Supported |
- Make sure the install directory is in your PATH
- Restart your terminal or source your rc file
- Check the install location:
~/.local/bin/razd(Linux/macOS) or%LOCALAPPDATA%\razd\razd.exe(Windows)
The installer offers to add the install directory to your shell's rc file. If you skipped this, you can add it manually:
export PATH="$HOME/.local/bin:$PATH"If you hit rate limits, set the GITHUB_TOKEN environment variable:
GITHUB_TOKEN=ghp_xxx curl -fsSL https://get.razd.dealenx.ru/install.sh | bashMIT