Installation¶
Nexus-Dev can be installed in several ways depending on your use case.
Recommended: Isolated Global Installation¶
To avoid conflicts with project-specific virtual environments, install Nexus-Dev globally using pipx or uv tool.
Verify Installation¶
Expected output:
Usage: nexus-init [OPTIONS]
Initialize Nexus-Dev in the current repository.
Options:
--project-name TEXT Human-readable name for the project
--embedding-provider [openai|ollama]
Embedding provider to use (default: openai)
--install-hook / --no-hook Install pre-commit hook for automatic indexing
--help Show this message and exit.
Optional Dependencies¶
Nexus-Dev supports multiple embedding providers. Install extras as needed:
See Embedding Providers for configuration details.
Docker Installation¶
For containerized deployments:
# Pull the image
docker pull ghcr.io/mmornati/nexus-dev:latest
# Run with your project mounted
docker run -it --rm \
-v /path/to/your-project:/workspace:ro \
-v nexus-dev-data:/data/nexus-dev \
-e OPENAI_API_KEY=$OPENAI_API_KEY \
ghcr.io/mmornati/nexus-dev:latest
See Docker Deployment for detailed configuration.
Development Installation¶
If you're contributing to Nexus-Dev:
# Clone repository
git clone https://github.com/mmornati/nexus-dev.git
cd nexus-dev
# Option A: Use the Makefile (handles pyenv + venv)
make setup
source .venv/bin/activate
# Option B: Manual setup
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
Available Make Commands¶
| Command | Description |
|---|---|
make setup |
Full dev environment setup |
make install-dev |
Install with dev dependencies |
make lint |
Run ruff linter |
make format |
Format code + auto-fix |
make check |
Run all CI checks |
make test |
Run tests |
make test-cov |
Run tests with coverage |
Upgrading¶
Database Compatibility
Major version upgrades may require re-indexing. Check the changelog before upgrading.
Next Steps¶
- Quick Start - Initialize your first project
- Configuration Guide - Set up embedding providers and project options
- Multi-Repository Projects - Setup for mono-repo projects