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/metaphori

Using curl

curl -sSL https://install.metaphori.dev | bash

The 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 | iex

Run 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 | bash

Manual 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/metaphori

Docker Installation

Pull the Image

docker pull metaphori/cli:latest

Run Interactively

docker run -it metaphori/cli:latest

Run with Local Files

docker run -it -v $(pwd):/workspace metaphori/cli:latest compress /workspace/document.txt

The Docker image includes all dependencies and is updated with each release.

Verify Installation

After installation, verify that Metaphori is correctly installed:

metaphori --version

You should see output similar to:

Metaphori CLI v1.2.0

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