Page MenuHomec4science

Arcanist
Updated 1,491 Days AgoPublic

Arcanist is the command-line tool for Phabricator. It allows you to interact with Phabricator installs to send code for review, download patches, transfer files, view status, make API calls, and various other things.

https://secure.phabricator.com/book/phabricator/article/arcanist/

Using repositories (less preferred)

# Debian Testing / Ubuntu / WSL
apt-get install arcanist

# OSX using Homebrew
brew install arcanist

Using GIT (preferred)

Install dependencies

# Debian stable using git
apt-get install git php5-cli php5-curl
# CentOS/RedHat
yum install git php-cli php-curl
# Fedora
yum install git php-cli php-json

Instructions for Windows and Mac OSX.

Install libphutil and arcanist using git

cd 
git clone -b stable https://secure.phabricator.com/source/libphutil.git
git clone -b stable https://secure.phabricator.com/diffusion/ARC/arcanist.git
sudo ln -s ~/arcanist/bin/arc /usr/local/bin/arc

Authenticate arcanist to phabricator

arc install-certificate https://c4science.ch/

Go to https://c4science.ch/conduit/login/ on your browser and copy the API Token

arc set-config default https://c4science.ch/

Check it's working properly

arc tasks

Activate auto-completion

echo "source /path/to/arcanist/resources/shell/bash-completion" >> ~/.bashrc
Last Author
aubort
Last Edited
Mar 19 2020, 13:58

Document Hierarchy

Event Timeline

admin moved this document from Restricted Phriction Wiki DocumentFeb 20 2016, 13:46
admin edited the content of this document. (Show Details)Mar 9 2016, 12:45
aubort changed the visibility from "All Users" to "Public (No Login Required)".Jun 7 2016, 12:46
aubort edited the content of this document. (Show Details)Sep 22 2016, 13:28
aubort changed the edit policy from "c4science (Project)" to "Restricted Project (Project)".Dec 16 2016, 16:51
aubort edited the content of this document. (Show Details)Apr 4 2017, 17:17
aubort edited the content of this document. (Show Details)Apr 4 2017, 17:32
aubort edited the content of this document. (Show Details)Sep 26 2017, 14:09
aubort edited the content of this document. (Show Details)Sep 26 2017, 23:38
aubort edited the content of this document. (Show Details)Dec 2 2018, 14:36
aubort added a project: c4science.
aubort edited the content of this document. (Show Details)Dec 2 2018, 15:04
aubort edited the content of this document. (Show Details)Mar 19 2020, 13:50
aubort edited the content of this document. (Show Details)Mar 19 2020, 13:58