How To Install the ftm CLI
ftm is a command-line tool that helps you handle data in the FollowTheMoney format. This guide describes how to install the ftm CLI on your computer.
-
The ftm CLI is written in Python and in order to use it you need to have Python 3 installed on your computer. Please refer to the Python documentation for instructions on how to install Python.
-
The ftm CLI comes bundled with the FollowTheMoney Python package. Install the package using pip:
pip3 install followthemoney
-
Optional: One of the jobs of the ftm CLI is to transliterate text from various alphabets into the latin script to support the comparison of names. The normal tool used for this is prone to fail with certain alphabets, e.g. the Azeri language. For that reason, we recommend also installing ICU (International components for Unicode).
On a Debian-based Linux system, installing ICU is relatively simple:
apt install libicu-dev pip install pyicu
The macOS version of installing ICU is a bit more complicated, and requires you to have Homebrew installed:
brew install icu4c env CFLAGS=-I/usr/local/opt/icu4c/include env LDFLAGS=-L/usr/local/opt/icu4c/lib PATH=$PATH:/usr/local/opt/icu4c/bin pip install pyicu