Add manual install steps alongside curl, harden install script

Site and README now show both curl one-liner and manual steps.
Explicit note that bun is required (node/npm won't work).
Install script improvements: version check, node detection warning,
curl check, Windows detection, .git dir validation, shallow clone,
fallback on bun install --silent, post-install missing dep summary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sanju Sivalingam
2026-02-16 13:43:38 +05:30
parent 04a60af082
commit 76d6258a54
3 changed files with 107 additions and 28 deletions

View File

@@ -39,12 +39,20 @@ curl -fsSL https://droidclaw.ai/install.sh | sh
installs bun and adb if missing, clones the repo, sets up `.env`. or do it manually:
```bash
brew install android-platform-tools # adb
# install adb
brew install android-platform-tools
# install bun (required — npm/node won't work)
curl -fsSL https://bun.sh/install | bash
# clone and setup
git clone https://github.com/unitedbyai/droidclaw.git
cd droidclaw && bun install
cp .env.example .env
```
> **note:** droidclaw requires [bun](https://bun.sh), not node/npm. it uses bun-specific apis (`Bun.spawnSync`, native `.env` loading) that don't exist in node.
edit `.env` - fastest way to start is with ollama (fully local, no api key):
```bash