Installation
Multiple ways to install Jarvis on your system
System Requirements
- macOS, Linux, or Windows (via WSL2)
- 8GB+ RAM (16GB recommended for local AI)
- 10GB free disk space
- Node.js 22+ (installer handles this)
Method 1: One-Line Installer (Recommended)
The fastest way to get started:
curl -fsSL https://nildesai.com/install.sh | bashThis installer will:
- ✅ Install Node.js 22+, Git, and pnpm (if missing)
- 🤖 Install Ollama for local AI
- 📥 Download a default AI model (llama3.2 - 4GB)
- 🔧 Clone and build Jarvis from source
- 🚀 Launch the interactive onboarding wizard
Method 2: From Source
For developers who want full control:
Clone the repository:
git clone https://github.com/nilkanthdesai76/jarvis.git
cd jarvisInstall dependencies and build:
pnpm install
pnpm ui:build
pnpm buildCreate CLI wrapper:
mkdir -p ~/.local/bin
cat > ~/.local/bin/jarvis << 'EOF'
#!/usr/bin/env bash
exec node "$HOME/jarvis/dist/entry.js" "$@"
EOF
chmod +x ~/.local/bin/jarvisAdd to PATH and run onboarding:
export PATH="$HOME/.local/bin:$PATH"
jarvis onboardMethod 3: Docker
Run Jarvis in a container:
docker build -t jarvis .
docker run -p 18789:18789 -v ~/.jarvis:/root/.jarvis jarvisAfter Installation
Run these commands to verify your installation:
jarvis --versionjarvis doctorjarvis status