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 | bash

This installer will:

  1. ✅ Install Node.js 22+, Git, and pnpm (if missing)
  2. 🤖 Install Ollama for local AI
  3. 📥 Download a default AI model (llama3.2 - 4GB)
  4. 🔧 Clone and build Jarvis from source
  5. 🚀 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 jarvis

Install dependencies and build:

pnpm install
pnpm ui:build
pnpm build

Create 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/jarvis

Add to PATH and run onboarding:

export PATH="$HOME/.local/bin:$PATH"
jarvis onboard

Method 3: Docker

Run Jarvis in a container:

docker build -t jarvis .
docker run -p 18789:18789 -v ~/.jarvis:/root/.jarvis jarvis

After Installation

Run these commands to verify your installation:

jarvis --versionjarvis doctorjarvis status

Next Steps