Installation
Get started with the Metaphori CLI in just a few seconds. Choose your platform below.
Mac Installation
Using Homebrew (Recommended)
brew install metaphori-ai/metaphori/metaphoriUsing curl
curl -sSL https://install.metaphori.dev | bashThe installer will automatically detect your system architecture (Intel or Apple Silicon) and install the appropriate binary.
Windows Installation
Using PowerShell
iwr -useb https://install.metaphori.dev/windows | iexRun this command in PowerShell as Administrator. The installer will add Metaphori to your PATH automatically.
Linux Installation
Using curl
curl -sSL https://install.metaphori.dev | bashManual Installation
Download the appropriate binary for your architecture:
# For x86_64 wget https://github.com/metaphori-ai/metaphori-cli/releases/latest/download/metaphori-linux-amd64 chmod +x metaphori-linux-amd64 sudo mv metaphori-linux-amd64 /usr/local/bin/metaphori# For ARM64 wget https://github.com/metaphori-ai/metaphori-cli/releases/latest/download/metaphori-linux-arm64 chmod +x metaphori-linux-arm64 sudo mv metaphori-linux-arm64 /usr/local/bin/metaphoriDocker Installation
Pull the Image
docker pull metaphori/cli:latestRun Interactively
docker run -it metaphori/cli:latestRun with Local Files
docker run -it -v $(pwd):/workspace metaphori/cli:latest compress /workspace/document.txtThe Docker image includes all dependencies and is updated with each release.
Verify Installation
After installation, verify that Metaphori is correctly installed:
metaphori --versionYou should see output similar to:
Next Steps
Ready to compress your first document?
Now that you have Metaphori installed, you'll need to authenticate to start using it.
Continue to Authentication →Troubleshooting
Command not found
If you get a "command not found" error, ensure that /usr/local/bin is in your PATH.
Permission denied
On Unix systems, you may need to make the binary executable: chmod +x /usr/local/bin/metaphori
Homebrew issues on Mac
If Homebrew installation fails, try updating Homebrew first: brew update