npm (recommended for quick start)
If you have Node.js installed, this is the fastest way to get started.The npm package wraps the native binary and downloads it on first use.
Verify installation
Homebrew (recommended for macOS/Linux)
The easiest way to install on macOS and Linux:Update to latest version
Verify installation
Install script (Unix)
Quick installation script for Linux and macOS:- Detect your platform and architecture automatically
- Download the appropriate binary
- Verify checksums for security
- Install to
/usr/local/bin(requires sudo)
Custom installation directory
Install to a directory that doesn’t require sudo:Verify installation
Windows PowerShell
For Windows users, use the PowerShell installation script:- Download the Windows x64 binary
- Verify checksums
- Extract to
%USERPROFILE%\.apicentric\bin - Add to PATH (restart terminal after installation)
Verify installation
Cargo (build from source)
If you have Rust installed, you can build from source with custom features:Minimal build (fastest, ~1 minute)
CLI tools build (recommended, ~2 minutes)
Full build (all features, ~3-5 minutes)
Default build
Verify installation
Building from source requires Rust 1.70 or later. Install Rust from rustup.rs.
Pre-built binaries
Download pre-built binaries for your platform from GitHub Releases.Available platforms
- Linux x64 (
apicentric-linux-x64.tar.gz) - macOS x64 (
apicentric-macos-x64.tar.gz) - macOS ARM64 (
apicentric-macos-arm64.tar.gz) - Windows x64 (
apicentric-windows-x64.zip)
Manual installation (Linux/macOS)
Manual installation (Windows)
Docker
You can use thedockerize command to create a self-contained Docker image for your services.
Dockerfile and .dockerignore in the output directory.
Build and run:
See the Docker deployment guide for production deployment patterns.
Verification
After installation, verify that Apicentric is working correctly:Feature flags
Different installation methods include different feature sets:| Feature | npm | Homebrew | Install Script | Cargo (default) | Cargo (full) |
|---|---|---|---|---|---|
| Simulator | ✅ | ✅ | ✅ | ✅ | ✅ |
| Contract Testing | ✅ | ✅ | ✅ | ✅ | ✅ |
| TUI | ✅ | ✅ | ✅ | ✅ | ✅ |
| WebUI | ✅ | ✅ | ✅ | ✅ | ✅ |
| GraphQL | ✅ | ✅ | ✅ | ✅ | ✅ |
| IoT Digital Twins | ✅ | ✅ | ✅ | ✅ | ✅ |
| MCP | ❌ | ✅ | ✅ | ❌ | ✅ |
| GUI | ❌ | ❌ | ❌ | ❌ | ✅ |
| Scripting | ❌ | ❌ | ❌ | ❌ | ✅ |
Next steps
Quick start
Create your first mock API
CLI reference
Explore all commands
Run diagnostics
Use the doctor command to check your setup
Troubleshooting
Fix common installation issues