A command line tool to interact with Phabricator/Phorge.
A summary of the currently supported features:
- Passphrase - Get specified secret
- Diffusion - List repositories, get branches, clone URIs, add repositories, manage URIs
- Paste - List, get, and add pastes
- User - Get information about the logged-in user
- Maniphest - Add comments, show task details, create tasks from templates
For complete documentation, see Read the Docs.
uv is a fast Python package installer (10-100x faster than pip):
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install phabfive
uv tool install phabfive
# Or install in a virtual environment
uv venv
uv pip install phabfiveInstall the latest development version:
# Install from git to get unreleased features and fixes
uv tool install git+https://github.com/dynamist/phabfive@masterGrab a Phabricator/Phorge token at https://<yourserver.com>/settings/panel/apitokens/
Environment variables:
export PHAB_TOKEN=cli-ABC123
export PHAB_URL=https://yourserver.com/api/Or use a configuration file:
# Linux/XDG
echo "PHAB_TOKEN: cli-ABC123" > ~/.config/phabfive.yaml
echo "PHAB_URL: https://yourserver.com/api/" >> ~/.config/phabfive.yaml
# macOS
echo "PHAB_TOKEN: cli-ABC123" > ~/Library/Application\ Support/phabfive.yaml
echo "PHAB_URL: https://yourserver.com/api/" >> ~/Library/Application\ Support/phabfive.yaml
# Windows - create at: %LOCALAPPDATA%\phabfive\phabfive.yamlNote: On macOS, you can use ~/.config by setting export XDG_CONFIG_HOME=~/.config
phabfive passphrase K123
phabfive paste list
phabfive maniphest search myproject- Full CLI Reference - Complete command documentation
- Development Guide - Set up dev environment, run tests, local Phorge/Phabricator setup
- Release Process - How to build and publish releases
See docs/development.md for instructions on setting up your development environment.
Copyright (c) 2017-2025 Dynamist AB
See the LICENSE file provided with the source distribution for full details.