Install on macOS
Complete installation guide for macOS (Intel & Apple Silicon)
⚡ Quick Install (Recommended)
The fastest way to get NexaDB on macOS. Works on both Intel and Apple Silicon Macs.
What gets installed:
System Requirements
Minimum
- • macOS 11 (Big Sur) or newer
- • 2 GB RAM
- • 500 MB disk space
- • Intel or Apple Silicon CPU
- • Homebrew installed
Recommended
- • macOS 13 (Ventura) or newer
- • 4 GB RAM or more
- • 2 GB disk space
- • Apple Silicon (M1/M2/M3)
- • Latest Homebrew
Detailed Installation Steps
Step 1: Install Homebrew (if not installed)
If you don't have Homebrew installed, install it first:
After installation, follow the instructions to add Homebrew to your PATH.
Step 2: Add NexaDB Tap
This adds the NexaDB repository to Homebrew.
Step 3: Install NexaDB
This will:
- • Download and install Python dependencies (msgpack)
- • Install NexaDB server files
- • Download the nexa CLI binary (architecture-specific)
- • Create wrapper scripts for easy command access
- • Add commands to your PATH automatically
Step 4: Start NexaDB
This starts all three services:
6970 (10x faster!)69699999Step 5: Verify Installation
Test that everything works:
🦀 Nexa Interactive CLI
The nexa command gives you a MySQL-like terminal experience for NexaDB.
Features
- • Zero dependencies (standalone binary)
- • Written in Rust for speed
- • Command history & auto-completion
- • All CRUD + vector search commands
- • Works on Intel & Apple Silicon
Commands
- • collections - List all collections
- • use <collection> - Switch collection
- • insert {...} - Create document
- • query {...} - Search documents
- • vector_search [...] - Semantic search
- • count - Count documents
Troubleshooting
⚠️ Homebrew stuck at numpy/hnswlib or Xcode errors?
If Homebrew installation gets stuck compiling numpy/hnswlib or shows Xcode version errors, use the install script instead:
This script uses pre-built pip wheels — no compilation needed, works instantly!
Command not found: nexadb
If the command isn't found after installation:
Or simply open a new terminal window.
Port already in use
If ports 6970, 6969, or 9999 are already in use:
Permission denied errors
If you get permission errors:
Then reinstall: brew reinstall nexadb
Uninstall
Remove NexaDB
To completely remove NexaDB from your system:
Next Steps
Now that NexaDB is installed, here's what to explore next: