Installation
Osaurus is available as a native macOS application for Apple Silicon. Choose your preferred installation method.
System Requirements
- macOS 15.5 or later
- Apple Silicon (M1, M2, M3, or newer)
- 2-20GB free space per model
Note: Apple Foundation Models are only available on macOS 15 (Sequoia) or later when provided by the system. Osaurus automatically detects and enables this feature when available.
Homebrew Installation
The recommended installation method is through Homebrew:
brew install --cask osaurus
This installation includes:
- Osaurus.app in your Applications folder
- Command-line interface via
osauruscommand - Automatic updates through
brew upgrade
CLI Configuration
The CLI is embedded within the application bundle. If the osaurus command isn't available after installation:
Quick Setup:
ln -sf "/Applications/Osaurus.app/Contents/MacOS/osaurus" "$(brew --prefix)/bin/osaurus" || \
ln -sf "$HOME/Applications/Osaurus.app/Contents/MacOS/osaurus" "$(brew --prefix)/bin/osaurus"
Using the Helper Script:
# Download and run the setup script
curl -fsSL https://raw.githubusercontent.com/dinoki-ai/osaurus/main/scripts/setup-cli.sh | bash
# Or manually:
/Applications/Osaurus.app/Contents/MacOS/setup-cli.sh
The script automatically:
- Detects your shell configuration
- Creates the appropriate symlink
- Updates your PATH if needed
Updating via Homebrew
# Update Homebrew formulae
brew update
# Upgrade Osaurus
brew upgrade osaurus
# Or upgrade all casks
brew upgrade --cask
Direct Download
Download the latest signed build directly from GitHub:
- Visit GitHub Releases
- Download the latest DMG file (e.g., Osaurus.dmg)
- Open the DMG file
- Drag Osaurus to your Applications folder
- Eject the DMG
First Launch
When launching Osaurus for the first time:
- Right-click Osaurus.app and select Open
- Click Open in the security dialog
- Grant necessary permissions when prompted
This step is only required once. Osaurus is properly signed but not notarized.
Manual CLI Setup
After installing the app, set up the CLI:
# Create symlink to CLI
sudo ln -sf /Applications/Osaurus.app/Contents/MacOS/osaurus /usr/local/bin/osaurus
# Verify installation
osaurus --version
Building from Source
For development or customization, build Osaurus from source.
Prerequisites
- Xcode 16.4 or later
- Command Line Tools
- Git
Build Process
# Clone the repository
git clone https://github.com/dinoki-ai/osaurus.git
cd osaurus
# Install dependencies
npm install
# Build the application
npm run build
# The built app will be in: build/Release/Osaurus.app
Development Mode
# Run in development mode
npm run dev
# Run tests
npm test
# Lint code
npm run lint
Installation Verification
Verify your installation:
# Check CLI version
osaurus --version
# Test server startup
osaurus serve --port 1337
# Check server status
osaurus status
# Stop server
osaurus stop
GUI Verification
- Launch Osaurus from Applications or Spotlight
- Look for the menu bar icon
- Click the icon and select About
- Verify the version number
Permissions
Osaurus requires minimal permissions:
- Network Access — For serving the local API
- File System Access — For model storage
No administrator privileges are required for normal operation.
Troubleshooting
"Cannot be opened" Error
If macOS prevents opening Osaurus:
- Go to System Settings → Privacy & Security
- Find Osaurus in the security section
- Click Open Anyway
CLI Not Found
If the osaurus command isn't recognized:
# Check if app exists
ls /Applications/Osaurus.app/Contents/MacOS/osaurus
# Add to PATH manually
echo 'export PATH="/Applications/Osaurus.app/Contents/MacOS:$PATH"' >> ~/.zshrc
source ~/.zshrc
Permission Denied
If you get permission errors:
# Make CLI executable
chmod +x /Applications/Osaurus.app/Contents/MacOS/osaurus
# Use without sudo for user-level operations
osaurus serve # Correct
sudo osaurus serve # Not recommended
Uninstallation
Via Homebrew
brew uninstall --cask osaurus
Manual Uninstallation
- Quit Osaurus from the menu bar
- Delete from Applications:
rm -rf /Applications/Osaurus.app - Remove CLI symlink:
rm /usr/local/bin/osaurus - Optional - Remove application data:
rm -rf ~/Library/Containers/ai.dinoki.osaurus
Next Steps
Once installed, proceed to:
- Quickstart Guide — Get running in minutes
- Model Management — Download your first model
- Configuration — Customize settings
Need help? Visit our Discord community or check the GitHub issues.