···2233**Simple GitHub release installer.**
4455-A Node.js CLI tool that automatically downloads and installs GitHub release binaries for your platform without requiring manual CLI installation.
55+A Node.js CLI to automatically download and install GitHub release binaries for your platform.
66+Helpful for installing non-npm tools.
6778## Features
8999-- 🎯 **Automatic platform detection** - Detects your OS and architecture
1010-- 🔍 **Smart asset matching** - Finds the right binary for your platform
1111-- 📥 **Download & extract** - Handles `.tar.gz` and `.zip` archives
1212-- ⚡ **Zero dependencies** - Uses built-in Node.js modules
1313-- 🔧 **Configurable** - CLI options and package.json configuration
1414-- 🌍 **Cross-platform** - Works on macOS, Linux, and Windows
1010+- **Automatically detect** OS and architecture
1111+- **Download & extract** `.tar.gz` and `.zip` archives
1212+- **Configurable** platform mappings, binary name, output dir
1313+- **Zero dependencies** (requires Node.js 22+)
1414+- **Cross-platform**
15151616## Installation
17171818```bash
1919-npm install -g release-installer
1919+npm i release-installer
2020```
21212222## Usage
···4848 -h, --help Show this help message
4949```
50505151+<!--
5152### Package.json Configuration
52535354You can also configure releases in your `package.json`:
···6364 }
6465}
6566```
6767+-->
66686769## Platform Detection
68706969-The tool automatically detects your platform and architecture, then matches against common naming patterns:
7171+The tool tries to detect your platform and architecture, then matches against common naming patterns:
70727173- **macOS**: `apple-darwin`, `macos`, `darwin`
7274- **Linux**: `linux-gnu`, `linux`, `unknown-linux`
···9294release-installer owner/repo v1.0.0 --platform-map='{"darwin-x64":"app-macos.tar.gz"}'
9395```
94969595-## Error Handling
9696-9797-The tool provides clear error messages for common issues:
9898-9999-- Repository or release not found
100100-- No matching asset for your platform
101101-- Download or extraction failures
102102-- Permission errors
103103-10497## Development
1059810699```bash
107107-# Clone and install
108108-git clone https://github.com/tbeseda/release-installer.git
109109-cd release-installer
110100npm install
111101112112-# Build
113102npm run build
114103115115-# Run tests
116104npm test
117117-118118-# Lint
119119-npm run lint
120105```