Skip to content

feat: Easy install — Homebrew tap, install script, improved README #151

Closed

Description

@ajianaz

Problem

Currently cora CLI can only be installed via:

  1. cargo install --git https://github.com/codecoradev/cora-cli (requires Rust toolchain)
  2. Downloading pre-built binaries from GitHub releases (manual process)

This is friction for users who don't have Rust installed. We need a frictionless installation experience.

Reference: RTK Installation Flow

rtk-ai/rtk has a good multi-channel installation:

Homebrew (recommended)

```bash
brew install rtk
```

Quick Install (Linux/macOS)

```bash
curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh
```
Installs to ~/.local/bin. Add to PATH if needed.

Cargo

```bash
cargo install --git https://github.com/rtk-ai/rtk
```

Pre-built Binaries

Download from releases. Windows note about not double-clicking .exe.

Proposed Installation for Cora CLI

1. Homebrew Tap

Create a homebrew-tap repo: codecoradev/homebrew-tap

  • Auto-update formula on release via GitHub Action
  • Formula points to release tarballs (already built in CI)
  • Users: brew tap codecoradev/tap && brew install cora

2. Install Script (install.sh)

  • Detect OS/arch (Linux, macOS, x86_64, aarch64)
  • Download appropriate binary from latest GitHub release
  • Install to ~/.local/bin (or /usr/local/bin with sudo)
  • Verify checksum before install
  • Add to PATH hint if needed
  • Reference: rtk install.sh

3. Update README Installation Section

Current README has basic cargo install + release links. Update to prioritize frictionless install:

```markdown

Installation

Homebrew (recommended)

brew tap codecoradev/tap
brew install cora

Quick Install (Linux/macOS)

curl -fsSL https://raw.githubusercontent.com/codecoradev/cora-cli/main/install.sh | sh

Cargo

cargo install --git https://github.com/codecoradev/cora-cli

Pre-built Binaries

Download from releases.
```

4. Cargo Publish (Future)

Consider publishing to crates.io when ready (name collision risk: check cora availability).

Scope

Item Effort Priority
install.sh script Medium High
README update Low High
Homebrew tap repo + formula Medium Medium
Auto-update formula on release Low (GH Action) Medium
Cargo publish Low Low (name collision)

Notes

  • Install script should detect shell and suggest appropriate PATH config
  • Checksum verification prevents MITM on install script
  • Homebrew tap formula can auto-update via brew formula pattern

Co-Authored-By: codecoradev [email protected]

Activity

  1. added
    enhancement
    good first issue
    v0.5
    on Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issuev0.5

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions