QNTX is available through multiple installation methods. Choose the one that best fits your workflow. After installation, see Understanding QNTX to learn the core concepts and Configuration System for setup options.
QNTX uses Nix for reproducible builds and fast binary distribution via Cachix.
# Install QNTX CLI
nix profile install github:teranos/QNTX
# Verify installation
qntx --version
# Run directly from GitHub
nix run github:teranos/QNTX -- --help
# Use in a temporary shell
nix shell github:teranos/QNTX
# Install specific version (example)
nix profile install github:teranos/QNTX/v0.16.14
# Run specific version
nix run github:teranos/QNTX/v0.16.14
# List available versions
git ls-remote --tags https://github.com/teranos/QNTX.git
The first time you use QNTX via Nix, you'll see:
do you want to allow configuration setting 'extra-substituters' to be set to 'https://qntx.cachix.org' (y/N)?
Accept this (type y) for instant binary downloads instead of building from source.
The cache is configured in flake.nix and uses:
https://qntx.cachix.orgqntx.cachix.org-1:sL1EkSS5871D3ycLjHzuD+/zNddU9G38HGt3qQotAtg=Download pre-built binaries directly from GitHub Releases for all major platforms.
Visit the releases page or use the commands below:
Linux:
# amd64
curl -LO https://github.com/teranos/QNTX/releases/latest/download/qntx-VERSION-linux-amd64.tar.gz
tar -xzf qntx-VERSION-linux-amd64.tar.gz
sudo mv qntx /usr/local/bin/
# arm64
curl -LO https://github.com/teranos/QNTX/releases/latest/download/qntx-VERSION-linux-arm64.tar.gz
tar -xzf qntx-VERSION-linux-arm64.tar.gz
sudo mv qntx /usr/local/bin/
macOS:
# Intel (x64)
curl -LO https://github.com/teranos/QNTX/releases/latest/download/qntx-VERSION-darwin-amd64.tar.gz
tar -xzf qntx-VERSION-darwin-amd64.tar.gz
sudo mv qntx /usr/local/bin/
# Apple Silicon (ARM)
curl -LO https://github.com/teranos/QNTX/releases/latest/download/qntx-VERSION-darwin-arm64.tar.gz
tar -xzf qntx-VERSION-darwin-arm64.tar.gz
sudo mv qntx /usr/local/bin/
Windows:
# Download from: https://github.com/teranos/QNTX/releases/latest
# Extract qntx-VERSION-windows-amd64.zip
# Add qntx.exe to your PATH
Each release includes SHA256 checksums:
# Download checksum file
curl -LO https://github.com/teranos/QNTX/releases/latest/download/qntx-VERSION-linux-amd64.tar.gz.sha256
# Verify integrity
sha256sum -c qntx-VERSION-linux-amd64.tar.gz.sha256
Available Platforms:
Note: Replace VERSION with the actual version number (e.g., 0.17.3). See releases page for all versions.
Multi-architecture images (amd64, arm64) are available on GitHub Container Registry.
# Latest version (auto-detects architecture)
docker pull ghcr.io/teranos/qntx:latest
docker run ghcr.io/teranos/qntx:latest qntx --help
# Specific version
docker pull ghcr.io/teranos/qntx:0.16.14
docker run ghcr.io/teranos/qntx:0.16.14 qntx --version
# Start container with shell
docker run -it ghcr.io/teranos/qntx:latest /bin/bash
# Inside container
qntx --help
# Mount local directory for persistent storage
docker run -v $(pwd)/data:/data ghcr.io/teranos/qntx:latest qntx --help
Build QNTX from source using Go and optionally Rust for fuzzy matching optimization.
# Clone repository
git clone https://github.com/teranos/QNTX.git
cd QNTX
# Build with Rust fuzzy optimization (recommended)
make cli
# Or build without Rust (pure Go)
make cli-nocgo
# Binary created at ./bin/qntx
./bin/qntx --version
# After building
sudo mv ./bin/qntx /usr/local/bin/
# Verify
qntx --version
The following package managers are planned:
# Not yet available
brew install teranos/tap/qntx
# Not yet available
winget install Teranos.QNTX
# Not yet available
sudo apt install qntx
After installation, verify QNTX is working:
# Check version
qntx --version
# View help
qntx --help
# Check configuration
qntx am show
| Platform | Architecture | Method | Status |
|---|---|---|---|
| Linux | amd64 | GitHub Releases, Nix, Docker, Source | ✅ |
| Linux | arm64 | GitHub Releases, Nix, Docker, Source | ✅ |
| macOS | Intel (x64) | GitHub Releases, Nix, Source | ✅ |
| macOS | Apple Silicon (ARM) | GitHub Releases, Nix, Source | ✅ |
| Windows | x64 | GitHub Releases, Source | ✅ |
| Android | ARM | Docker | ✅ (via Tauri) |
| iOS | ARM | Source | ⚠️ (experimental) |
# List installed packages
nix profile list
# Remove QNTX (replace <index> with actual index from list)
nix profile remove <index>
# Remove image
docker rmi ghcr.io/teranos/qntx:latest
# Remove all QNTX images
docker images | grep qntx | awk '{print $3}' | xargs docker rmi
# Remove binary
sudo rm /usr/local/bin/qntx
Enable flakes in your Nix configuration:
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
If you declined the binary cache prompt, re-run with:
nix profile install github:teranos/QNTX --accept-flake-config
Explicitly specify architecture:
docker pull --platform linux/amd64 ghcr.io/teranos/qntx:latest
# or
docker pull --platform linux/arm64 ghcr.io/teranos/qntx:latest
If make cli fails due to missing Rust:
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Or use pure Go build
make cli-nocgo
After installing QNTX: