Summary
Add an install script for quick installation via curl.
curl -sSf https://rungstack.com/install.sh | sh
Current State
Installation options exist but require extra steps:
cargo install rung-cli (requires Rust toolchain)
cargo binstall rung-cli (requires cargo-binstall)
brew install auswm85/tap/rung (macOS, requires tap)
- Manual download from GitHub releases
Proposed Behavior
# Install latest
$ curl -sSf https://rungstack.com/install.sh | sh
Detected: aarch64-apple-darwin
Downloading rung v0.6.0...
Installing to /usr/local/bin/rung...
✓ rung installed successfully!
Run 'rung --help' to get started.
# Install specific version
$ curl -sSf https://rungstack.com/install.sh | sh -s -- --version v0.5.0
Downloading rung v0.5.0...
✓ rung v0.5.0 installed successfully!
Implementation
The script should:
- Detect OS and architecture
- Fetch latest release version from GitHub API (or use specified version)
- Download appropriate binary from releases
- Verify checksum (if available)
- Install to
/usr/local/bin or ~/.local/bin
- Provide clear success/error messages
Platform Detection
OS: $(uname -s) # Darwin, Linux
ARCH: $(uname -m) # x86_64, arm64/aarch64
Target Mapping
| Detected |
Release Asset |
| Darwin + arm64 |
aarch64-apple-darwin |
| Darwin + x86_64 |
x86_64-apple-darwin |
| Linux + x86_64 |
x86_64-unknown-linux-gnu |
| Windows |
Suggest manual download or scoop |
Flags
| Flag |
Description |
--version <tag> |
Install specific version (e.g., v0.5.0) |
--help |
Show usage |
Acceptance Criteria
Summary
Add an install script for quick installation via curl.
curl -sSf https://rungstack.com/install.sh | shCurrent State
Installation options exist but require extra steps:
cargo install rung-cli(requires Rust toolchain)cargo binstall rung-cli(requires cargo-binstall)brew install auswm85/tap/rung(macOS, requires tap)Proposed Behavior
Implementation
The script should:
/usr/local/binor~/.local/binPlatform Detection
Target Mapping
Flags
--version <tag>v0.5.0)--helpAcceptance Criteria
--versionflag to install specific versionINSTALL_DIRenv var for custom location--helpflag shows usage