@@ -16,91 +16,108 @@ FlutterGuard CLI analyzes Flutter app APK files and extracts:
1616
1717## Installation
1818
19- ### Option 1: Download Pre-Built Binary (Recommended)
19+ ### Quick Install (Recommended)
2020
21- The easiest way to get started is to download a pre-built binary from the releases page.
21+ ** One-line install for Linux/macOS: **
2222
23- ** Step 1:** Go to the [ Releases page] ( https://github.com/flutterguard/flutterguard-cli/releases ) and download the binary for your system:
23+ ``` bash
24+ curl -sSL https://raw.githubusercontent.com/flutterguard/flutterguard-cli/main/install.sh | bash
25+ ```
2426
25- - ** Linux (x64)** : ` flutterguard-cli-linux-amd64 `
26- - ** Linux (ARM64)** : ` flutterguard-cli-linux-arm64 `
27- - ** macOS (Intel)** : ` flutterguard-cli-darwin-amd64 `
28- - ** macOS (Apple Silicon)** : ` flutterguard-cli-darwin-arm64 `
29- - ** Windows (x64)** : ` flutterguard-cli-windows-amd64.exe `
27+ ** One-line install for Windows (PowerShell):**
3028
31- ** Step 2:** Install it on your system:
29+ ``` powershell
30+ irm https://raw.githubusercontent.com/flutterguard/flutterguard-cli/main/install.ps1 | iex
31+ ```
3232
33- ** On Linux or macOS: **
33+ The script will automatically detect your OS/architecture, download the latest release, and install it to your PATH.
3434
35- ``` bash
36- # Download (replace with the URL for your platform)
37- curl -LO https://github.com/flutterguard/flutterguard-cli/releases/latest/download/flutterguard-cli-linux-amd64
35+ ---
3836
39- # Rename to remove platform suffix
40- mv flutterguard-cli-linux-amd64 flutterguard-cli
37+ ### Manual Installation
4138
42- # Make it executable
43- chmod +x flutterguard-cli
39+ < details >
40+ < summary >< b >Option 1: Download Pre-Built Binary</ b ></ summary >
4441
45- # Move to your PATH (optional, but convenient)
46- sudo mv flutterguard-cli /usr/local/bin/
42+ ** Step 1:** Download from [ Releases] ( https://github.com/flutterguard/flutterguard-cli/releases/latest ) :
43+
44+ | Platform | Download Link |
45+ | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
46+ | Linux (x64) | [ flutterguard-cli-linux-amd64] ( https://github.com/flutterguard/flutterguard-cli/releases/latest/download/flutterguard-cli-linux-amd64 ) |
47+ | Linux (ARM64) | [ flutterguard-cli-linux-arm64] ( https://github.com/flutterguard/flutterguard-cli/releases/latest/download/flutterguard-cli-linux-arm64 ) |
48+ | macOS (Intel) | [ flutterguard-cli-darwin-amd64] ( https://github.com/flutterguard/flutterguard-cli/releases/latest/download/flutterguard-cli-darwin-amd64 ) |
49+ | macOS (Apple Silicon) | [ flutterguard-cli-darwin-arm64] ( https://github.com/flutterguard/flutterguard-cli/releases/latest/download/flutterguard-cli-darwin-arm64 ) |
50+ | Windows (x64) | [ flutterguard-cli-windows-amd64.exe] ( https://github.com/flutterguard/flutterguard-cli/releases/latest/download/flutterguard-cli-windows-amd64.exe ) |
51+
52+ ** Step 2:** Install it on your system:
53+
54+ ** Linux/macOS:**
55+
56+ ``` bash
57+ # Make executable
58+ chmod +x flutterguard-cli-*
4759
48- # Verify installation
60+ # Install to PATH
61+ sudo mv flutterguard-cli-* /usr/local/bin/flutterguard-cli
62+
63+ # Verify
4964flutterguard-cli --version
5065```
5166
52- ** On Windows:**
67+ ** Windows:**
5368
54- ``` powershell
55- # Download from the releases page, then:
56- # 1. Rename flutterguard-cli-windows-amd64.exe to flutterguard-cli.exe
57- # 2. Move to a directory in your PATH (e.g., C:\Windows\System32)
58- # 3. Or run directly from the download location
69+ 1 . Rename the downloaded file to ` flutterguard-cli.exe `
70+ 2 . Move it to a directory in your PATH (e.g., ` C:\Windows\System32 ` )
71+ 3 . Or keep it anywhere and add that directory to your PATH
5972
60- # Verify installation
73+ ``` powershell
74+ # Verify
6175flutterguard-cli.exe --version
6276```
6377
64- ### Option 2: Build From Source
78+ </ details >
6579
66- If you have Go installed and want the latest features or to contribute to development:
80+ <details >
81+ <summary ><b >Option 2: Build From Source</b ></summary >
6782
6883** Requirements:**
6984
70- - Go 1.24 or higher ([ Download Go] ( https://go.dev/dl/ ) )
85+ - Go 1.24+ ([ Download Go] ( https://go.dev/dl/ ) )
7186- Git
7287
73- ** Step 1 :** Clone the repository
88+ ** Steps :**
7489
7590``` bash
91+ # Clone the repository
7692git clone https://github.com/flutterguard/flutterguard-cli.git
7793cd flutterguard-cli
78- ```
7994
80- ** Step 2:** Build the binary
95+ # Build
96+ go build -o flutterguard-cli
8197
82- ``` bash
83- # Build for your current platform
84- go build -o build/flutterguard-cli
98+ # Install (optional)
99+ sudo mv flutterguard-cli /usr/local/bin/
85100
86- # The binary will be in the build/ directory
101+ # Verify
102+ flutterguard-cli --version
87103```
88104
89- ** Step 3: ** (Optional) Install to your PATH
105+ </ details >
90106
91- ``` bash
92- # On Linux/macOS
93- sudo cp build/flutterguard-cli /usr/local/bin/
107+ <details >
108+ <summary ><b >Option 3: Package Managers</b > (Coming Soon)</summary >
94109
95- # On Windows (run as Administrator)
96- copy build\f lutterguard-cli.exe C:\W indows\S ystem32\
97- ```
110+ We're working on adding support for popular package managers:
98111
99- ** Step 4:** Verify the installation
112+ - ** Homebrew** (macOS/Linux): ` brew install flutterguard-cli `
113+ - ** Snap** (Linux): ` snap install flutterguard-cli `
114+ - ** Chocolatey** (Windows): ` choco install flutterguard-cli `
115+ - ** AUR** (Arch Linux): ` yay -S flutterguard-cli `
116+ - ** Scoop** (Windows): ` scoop install flutterguard-cli `
100117
101- ``` bash
102- flutterguard-cli --version
103- ```
118+ Stay tuned for updates!
119+
120+ </ details >
104121
105122### Optional Tools for Enhanced Analysis
106123
0 commit comments