photo-cli runs on macOS, Windows, and Linux across arm64, x64, and x86 architectures. You can install it as a self-contained executable, through Homebrew on macOS and Linux, as a .NET global tool on any platform, or in a container (Docker, Podman). Choose the method that fits your operating system below.Documentation Index
Fetch the complete documentation index at: https://photocli.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
photo-cli requires the .NET SDK 10 or later when installing as a .NET tool. Thedotnet command must be available on your PATH before you install photo-cli as a .NET tool.
You can install the .NET SDK in two ways:
- Download directly from https://dotnet.microsoft.com/en-us/download
- Install via Homebrew on macOS or Linux:
If you install photo-cli via Homebrew on macOS, the .NET SDK is bundled automatically and you do not need to install it separately.
Installation
- Homebrew
- Container
- .NET Tool
- Self-Contained Executable
Homebrew is the recommended installation method on macOS and Linux. It handles all dependencies, including the .NET runtime, and keeps photo-cli up to date automatically.
Add the photo-cli Homebrew tap
Register the photo-cli tap so Homebrew can find the package:The tap is hosted at https://github.com/photo-cli/homebrew-photo-cli.
Accessing the application
After installing photo-cli globally, thephoto-cli command is available in any terminal session:
Troubleshooting
Command not found
If your terminal reportsphoto-cli: command not found after installation, the .dotnet/tools directory is not on your PATH. Add it manually using the steps below for your shell.
macOS (zsh)
Add the following line to your ~/.zshenv file:
~/.profile file:
[your-account-name] with your actual system username, then open a new terminal session for the change to take effect.
Uninstallation
.NET Tool
MCP Server Setup
Themcp command is built into photo-cli and requires no additional installation. It starts an MCP stdio server on top of an existing archive folder (one previously created with photo-cli archive).
See the MCP command page for setup instructions for Claude Code, Claude Desktop, VS Code, and MCP Inspector.