Commit graph

2 commits

Author SHA1 Message Date
rUv
a3dde62e4b fix: Rewrite install.sh with proper error handling
Fixes all critical issues from review:

🔴 Critical fixes:
- Remove fake library crate installation (cargo install doesn't work)
- Fix CLI "not available" error - now installs ruvector-cli@0.1.2
- Show all output instead of silent error suppression
- Pin versions: ruvector-cli@0.1.2, ruvector@0.1.23

🟡 Moderate fixes:
- Check if ~/.cargo/env exists before sourcing
- Add Windows detection with helpful warnings
- Add dependency check for curl and C compiler
- Show platform-specific install instructions

🟢 Additional improvements:
- Add --uninstall option with instructions
- Add --cli-only option
- Show installation summary at end
- Clarify library crates need 'cargo add' not 'cargo install'
- Better error messages with actionable fixes
- Disable colors when not in terminal

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 05:10:57 +00:00
rUv
a87874064c feat: Add one-liner install script for RuVector
Install with:
  curl -fsSL https://raw.githubusercontent.com/ruvnet/ruvector/main/install.sh | bash

Options:
  --rust-only  Only install Rust crates
  --npm-only   Only install npm packages
  --list       Show available packages

Features:
- Auto-detects OS (Linux, macOS, Windows)
- Auto-detects architecture (x64, arm64)
- Installs Rust if not present
- Installs crates from crates.io
- Installs npm packages globally
- Shows quick start guide

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 04:47:55 +00:00