← Home
v1.2.0 CLI native · xAI Grok · your domain

Astray CLI

Full Astray CLI only (Rust). OAuth login, REPL, YOLO agent, skills and MCP. One-liner from your domain.

one-liner · theastraydev.online
curl -fsSL https://theastraydev.online/install.sh | bash

curl / iwr go through theastraydev.online — your installer, native binary, not a shell stub.

step 1

Choose your OS

Auto-detected; switch any time. Install blocks update below.

step 2

Install Astray CLI correctly

Preferred path: one-liner from theastraydev.online. Detects OS/arch and drops astray on PATH.

01Copy the one-liner
02Run it in a terminal
03Verify: astray --version · astray --doctor

Requirements

  • Linux x86_64 (glibc; OpenSSL 3)
  • curl (or wget) and bash
  • Write access to ~/.local/bin (or --prefix)

Quick install (via domain)

bash · curl via theastraydev.online
curl -fsSL https://theastraydev.online/install.sh | bash
# custom prefix
curl -fsSL https://theastraydev.online/install.sh | bash -s -- --prefix "$HOME/.local"

# force reinstall
curl -fsSL https://theastraydev.online/install.sh | bash -s -- --force

Manual install

bash · manual
mkdir -p ~/.local/bin
curl -fsSL https://theastraydev.online/downloads/cli/latest/astray-linux-x86_64 \
  -o ~/.local/bin/astray
chmod +x ~/.local/bin/astray

# PATH (once)
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

astray --version
astray --doctor
astray --login

After install.sh: astray --version and astray --login. Restart the shell if PATH did not pick up.

step 3

Using Astray CLI

Full native astray binary. Flags live in astray --help.

01 help / version

Help and version. Start here when a flag is unfamiliar.

shell
astray --help
astray --version

02 login

OAuth sign-in to xAI/Grok (browser + code). Or --login-code / --login-token.

shell
astray --login
# or paste code / token
astray --login-code
astray --login-token

03 REPL

Interactive REPL. -y enables YOLO agent, -m picks model, --ask is one-shot.

shell
astray
astray -y                 # YOLO agent
astray -m grok-4.5        # pick model
astray --ask "whoami"     # one-shot

04 doctor · update

Health-check your install and self-update the native binary from theastraydev.online.

shell
astray --doctor
astray --update
# REPL:
/doctor
/update

05 models / skills / config

List models, skills, MCP; config path; logout.

shell
astray --list-models
astray --list-skills
astray --list-mcp
astray --config
astray --logout

verify

Verify installer and binary

checksum / source
# installer (always via your domain)
curl -fsSL https://theastraydev.online/install.sh | less

# native linux binary
curl -fsSL https://theastraydev.online/downloads/cli/latest/astray-linux-x86_64 -o astray
chmod +x astray && ./astray --version

# version pin
curl -fsSL https://theastraydev.online/downloads/cli/latest/VERSION

Always fetch install.sh and binaries only from theastraydev.online. Pipe to less before bash if you want. ELF/PE, not a bash stub.

Need a custom workflow packaged as CLI? Send a brief.

Astray CLI cut the noise · ship the binary
Use