mirror of
https://github.com/ultraworkers/claw-code.git
synced 2026-06-06 16:30:10 +08:00
12 lines
229 B
Bash
12 lines
229 B
Bash
|
|
#!/bin/bash
|
||
|
|
set -e
|
||
|
|
|
||
|
|
# Build the release binary
|
||
|
|
cargo build --release
|
||
|
|
|
||
|
|
# Link to ~/.local/bin
|
||
|
|
mkdir -p "$HOME/.local/bin"
|
||
|
|
ln -sf "$(pwd)/target/release/claw" "$HOME/.local/bin/claw"
|
||
|
|
|
||
|
|
echo "✓ Claw installed to ~/.local/bin/claw"
|