Installation Guide
This document provides comprehensive installation instructions for Terminal Jarvis across different platforms and use cases.
Recommended: Pre-configured Development Environment
For the best Terminal Jarvis experience, especially for development and testing AI tools:
GitHub Codespaces (Cloud Development)
# Click "Code" → "Codespaces" → "Create codespace" on the repository
# Or use the direct link: https://github.com/codespaces/new?template_repository=BA-CalderonMorales/terminal-jarvis
Advantages:
- Instant Setup: Complete environment ready in 60 seconds
- Zero Dependencies: No local software installation required
- Consistent Experience: Same environment across all platforms
- Pre-configured Tools: Rust 1.87+, Node.js 20+, GitHub CLI, AI tools ready
- Built-in Debugging: Full debugging setup with LLDB and VS Code integration
VS Code Dev Containers (Local Docker)
Prerequisites: Docker Desktop + VS Code + Remote-Containers extension
- Clone the repository
- Open in VS Code
- Click "Reopen in Container" when prompted
Advantages:
- Consistent environment across team members
- All dependencies pre-installed
- Isolated from host system
Quick Installation
Terminal Jarvis is available through three official distribution channels:
1. NPM Installation (Recommended for Most Users)
Try it instantly with npx (no installation required):
Or install globally:
For production, use the stable version:
For testing new features, use beta:
2. Rust Crate Installation (For Rust Developers)
Verify the installation:
3. Homebrew Installation (macOS/Linux Package Manager)
Distribution Channel Comparison
| Method | Best For | Pros | Cons |
|---|---|---|---|
| NPM | Node.js users, quick testing | Instant with npx, multiple release channels | Requires Node.js |
| Cargo | Rust developers | Native Rust toolchain integration | Requires Rust toolchain |
| Homebrew | macOS/Linux system package users | System package manager integration | Limited to macOS/Linux |
NPM Distribution Channels
- Latest (
terminal-jarvis): Most recently published version - Stable (
terminal-jarvis@stable): Production-ready, thoroughly tested releases - Beta (
terminal-jarvis@beta): Preview versions with experimental features
Platform-Specific Instructions
macOS Prerequisites
Important
macOS users must install Rust before using Terminal Jarvis.
# 1. Install Rust via rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# 2. Reload your shell environment
source ~/.cargo/env
# 3. Install Terminal Jarvis
npm install -g terminal-jarvis
# 4. Verify installation
terminal-jarvis --help
Linux
# Most Linux distributions work out-of-the-box
npm install -g terminal-jarvis
# If you encounter issues, install Node.js first:
# Ubuntu/Debian:
sudo apt update && sudo apt install nodejs npm
# CentOS/RHEL/Fedora:
sudo dnf install nodejs npm
Windows
For WSL users, follow Linux instructions.
Building from Source
Prerequisites
- Rust 1.87 or later (required for full feature support)
- Node.js 20+ and NPM
- Git
Steps
git clone https://github.com/BA-CalderonMorales/terminal-jarvis.git
cd terminal-jarvis
cargo build --release
cargo install --path .
terminal-jarvis --help
Requirements and Dependencies
Required
- Node.js and NPM: Required for most AI coding tools
- Internet connection: For package updates and installations
Optional
- Rust toolchain: Only required for building from source or on macOS
ghCLI: Optional, for template management features- Modern terminal: For best visual experience (Unicode and color support)
Troubleshooting Installation
Common Issues
"command not found" after NPM install
Permission errors on macOS/Linux
Option 1: Use npx instead:
Option 2: Configure NPM to use a different directory:
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
Rust-related errors on macOS
If not found, reinstall Rust:
NVM Users: PATH Configuration
If you use NVM (Node Version Manager), npm global installs require additional PATH configuration:
# Add npm global bin to PATH (add to ~/.bashrc or ~/.zshrc)
export PATH="$(npm config get prefix)/bin:$PATH"
source ~/.bashrc
Known Issue
Fresh installs in NVM environments may encounter EACCES permission errors. Use npx terminal-jarvis as an alternative, or configure npm to use a user-writable directory (see Permission errors section above).
Verification Steps
Uninstallation
NPM Installation
Source Installation
Package Information
NPM Package Details:
- Size: ~1.2MB compressed / ~2.9MB unpacked
- Contents: Pre-compiled binaries, TypeScript wrapper
- Dependencies: Zero runtime dependencies
- Platforms: Cross-platform support (Windows, macOS, Linux)
- Testing: All tools undergo comprehensive integration testing
- Current Version: See the README badges or run
terminal-jarvis --version - Known Issues: See Known Limitations for detailed information
Note
The current NPM version includes full binary functionality with the complete T.JARVIS interface. No additional installation required!
Next Steps
After installation, check out:
- Usage Guide - Learn how to use Terminal Jarvis effectively
- Configuration Guide - Customize Terminal Jarvis behavior
- AI Tools Guide - Explore all supported AI coding tools