File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments