Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Razd CLI Installer

Cross-platform installation scripts for the razd CLI tool.

Quick Install

Linux / macOS

curl -fsSL https://get.razd.dealenx.ru/install.sh | bash

Windows (PowerShell)

irm https://get.razd.dealenx.ru/install.ps1 | iex

Alternative: 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

What It Does

The installer will:

  1. Detect platform — Automatically determine your OS and architecture
  2. Download razd — Fetch the binary from GitHub Releases
  3. Install to PATH — Place the binary in ~/.local/bin (Linux/macOS) or %LOCALAPPDATA%\razd (Windows)
  4. Configure PATH — Offer to add the install directory to your shell's rc file if needed

List Available Versions

See all releases on GitHub before installing:

Linux / macOS

./install.sh --list
./install.sh --list 50

Windows (PowerShell)

.\install.ps1 -List
.\install.ps1 -List -ListCount 50

Install a Specific Version

By default, the installer installs the latest stable release. Pre-release versions are not included by default.

Linux / macOS

# 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

Windows (PowerShell)

# 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

Windows (PowerShell)

# 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.0

Pre-release versions (containing a - suffix like 1.0.0-dev.0) are marked with a warning during installation.

Custom Install Location

Linux / macOS

RAZD_INSTALL_DIR=/usr/local/bin curl -fsSL https://get.razd.dealenx.ru/install.sh | bash
# or
./install.sh --dir /usr/local/bin

Windows (PowerShell)

$env:RAZD_INSTALL_DIR = "C:\Tools\razd"; irm https://get.razd.dealenx.ru/install.ps1 | iex
# or
.\install.ps1 -InstallDir "C:\Tools\razd"

CLI Reference

install.sh

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

install.ps1

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

Prerequisites

Linux / macOS

  • curl (pre-installed on most systems)
  • tar (pre-installed on most systems)

Windows

  • PowerShell 5.1 or later (pre-installed on Windows 10+)

Supported Platforms

Platform Architecture Status
Linux x64, arm64 Supported
macOS x64, arm64 Supported
Windows x64, arm64 Supported

Troubleshooting

"razd: command not found" after installation

  1. Make sure the install directory is in your PATH
  2. Restart your terminal or source your rc file
  3. Check the install location: ~/.local/bin/razd (Linux/macOS) or %LOCALAPPDATA%\razd\razd.exe (Windows)

PATH not updated

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"

GitHub API rate limiting

If you hit rate limits, set the GITHUB_TOKEN environment variable:

GITHUB_TOKEN=ghp_xxx curl -fsSL https://get.razd.dealenx.ru/install.sh | bash

License

MIT

Releases

Packages

Contributors

Languages