Skip to content

Commit 128ef26

Browse files
committed
docs: add shell and PowerShell install commands to README
1 parent 30179b9 commit 128ef26

1 file changed

Lines changed: 19 additions & 10 deletions

File tree

README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,34 @@ A command-line interface for the [Flashduty](https://flashcat.cloud) platform. M
44

55
## Installation
66

7-
### Pre-built binaries
7+
### macOS / Linux
88

9-
Download the latest release for your platform from [GitHub Releases](https://github.com/flashcatcloud/flashduty-CLI/releases).
9+
```bash
10+
curl -sSL https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/install.sh | sh
11+
```
1012

11-
### Build from source
13+
### Windows (PowerShell)
1214

13-
```bash
14-
go install github.com/flashcatcloud/flashduty-cli/cmd/flashduty@latest
15+
```powershell
16+
irm https://raw.githubusercontent.com/flashcatcloud/flashduty-cli/main/install.ps1 | iex
1517
```
1618

17-
Or clone and build:
19+
### Go Install
1820

1921
```bash
20-
git clone https://github.com/flashcatcloud/flashduty-CLI.git
21-
cd flashduty-CLI
22-
make build
22+
go install github.com/flashcatcloud/flashduty-cli/cmd/flashduty@latest
2323
```
2424

25-
The binary will be at `bin/flashduty`.
25+
### Manual Download
26+
27+
Download the latest release for your platform from [GitHub Releases](https://github.com/flashcatcloud/flashduty-cli/releases).
28+
29+
### Options
30+
31+
| Variable | Description | Default |
32+
|----------|-------------|---------|
33+
| `FLASHDUTY_VERSION` | Install a specific version (e.g. `v0.1.2`) | latest |
34+
| `FLASHDUTY_INSTALL_DIR` | Custom install directory | `/usr/local/bin` (shell), `~\.flashduty\bin` (PowerShell) |
2635

2736
## Quick Start
2837

0 commit comments

Comments
 (0)