Skip to content

Commit 93acc09

Browse files
tinmancodingopencode
andcommitted
docs: enhance installation instructions with official install script
🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
1 parent cdf19b2 commit 93acc09

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,31 @@ A fast, intuitive command-line tool for managing Git worktrees with smart branch
1919

2020
### Install from Release
2121

22-
Download the latest binary from the [releases page](https://github.com/tinmancoding/wt/releases):
22+
Use the official install script for automatic platform detection and installation:
2323

2424
```bash
25-
# Download and install (replace with actual release URL)
26-
curl -L https://github.com/tinmancoding/wt/releases/latest/download/wt-linux -o wt
27-
chmod +x wt
28-
sudo mv wt /usr/local/bin/
25+
# Quick install (latest version)
26+
curl -fsSL https://raw.githubusercontent.com/tinmancoding/wt/main/install.sh | sh
27+
28+
# Install specific version
29+
WT_INSTALL_VERSION=v0.2.1 curl -fsSL https://raw.githubusercontent.com/tinmancoding/wt/main/install.sh | sh
30+
31+
# Install to custom path (default: ~/.local/bin)
32+
WT_INSTALL_PATH=/usr/local/bin curl -fsSL https://raw.githubusercontent.com/tinmancoding/wt/main/install.sh | sh
2933

3034
# Verify installation
3135
wt --help
3236
```
3337

38+
#### Manual Installation
39+
40+
Alternatively, download binaries directly from the [releases page](https://github.com/tinmancoding/wt/releases):
41+
42+
- **Linux**: `wt-linux-x64.tar.gz` or `wt-linux-arm64.tar.gz`
43+
- **macOS**: `wt-darwin-x64.zip` or `wt-darwin-arm64.zip`
44+
45+
All binaries include SHA256 checksums for verification.
46+
3447
### Build from Source
3548

3649
If you prefer to build from source, see the [Development Guide](docs/development_guide.md).

0 commit comments

Comments
 (0)