@@ -80,26 +80,30 @@ SSH into the selected server
80
80
81
81
## 📦 Installation
82
82
83
- ### Option 1: Download Binary from Release
84
-
85
- Download the latest release from [ GitHub Releases] ( https://github.com/Adembc/lazyssh/releases ) :
83
+ ### Option 1: Homebrew (macOS)
86
84
87
85
``` bash
88
- # Download and extract (example)
89
- curl -JLO https://github.com/Adembc/lazyssh/releases/download/v0.1.0/lazyssh-darwin-arm64.tar.gz
90
- tar -xzf lazyssh-darwin-arm64.tar.gz
86
+ brew install Adembc/homebrew-tap/lazyssh
87
+ ```
91
88
92
- # Make it executable and move to PATH
93
- chmod +x lazyssh-darwin-arm64
94
- sudo mv lazyssh-darwin-arm64 /usr/local/bin/lazyssh
89
+ ### Option 2: Download Binary from Releases
95
90
96
- # run it
91
+ Download from [ GitHub Releases] ( https://github.com/Adembc/lazyssh/releases ) . You can use the snippet below to automatically fetch the latest version for your OS/ARCH (Darwin/Linux and amd64/arm64 supported):
92
+
93
+ ``` bash
94
+ # Detect latest version
95
+ LATEST_TAG=$( curl -fsSL https://api.github.com/repos/Adembc/lazyssh/releases/latest | jq -r .tag_name)
96
+ # Download the correct binary for your system
97
+ curl -LJO " https://github.com/Adembc/lazyssh/releases/download/${LATEST_TAG} /lazyssh_$( uname) _$( uname -m) .tar.gz"
98
+ # Extract the binary
99
+ tar -xzf lazyssh_$( uname) _$( uname -m) .tar.gz
100
+ # Move to /usr/local/bin or another directory in your PATH
101
+ sudo mv lazyssh /usr/local/bin/
102
+ # enjoy!
97
103
lazyssh
98
104
```
99
105
100
- ### Option 2: Build from Source
101
-
102
- Requires ** Go 1.22+**
106
+ ### Option 3: Build from Source
103
107
104
108
``` bash
105
109
# Clone the repository
@@ -155,6 +159,9 @@ We love seeing the community make Lazyssh better 🚀
155
159
If you find Lazyssh useful, please consider giving the repo a ** star** ⭐️ and join [ stargazers] ( https://github.com/adembc/lazyssh/stargazers ) .
156
160
157
161
☕ You can also support me by [ buying me a coffee] ( https://www.buymeacoffee.com/adembc ) ❤️
162
+ <br />
163
+ <a href =" https://buymeacoffee.com/adembc " target =" _blank " ><img src =" https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png " width =" 200 " ></a >
164
+
158
165
159
166
---
160
167
0 commit comments