Hello! We are running our annual fundraising. Please consider making a donation if you value this freely available service or want to support people around the world working towards liberatory social change - https://riseup.net/donate
5. Make the installation persistent (*Install every time*) following step 3. at https://tails.boum.org/doc/persistent_storage/additional_software/#index4h2
5. If more than one signal-cli-* is installed, we need to update-alternatives for signal-cli to run signal-cli-jre executing `sudo update-alternatives --install /usr/bin/signal-cli signal-cli /usr/bin/signal-cli-jre 0`
## General use of signal-cli
## General use of signal-cli on Tails
1. Start your Tails unlocking your persistent storage
2. Choose Applications ▸ System Tools ▸ Terminal
2. Run the script for adding signal-cli signing keys to apt: `Persistent/apt-keys.sh`
_Wait until additional software has been installed successfully_
3. Choose Applications ▸ System Tools ▸ Terminal
4. signal-cli-jre runs via Java runtime environment (jre). We need to tell jre to use torsocks' SOCKS proxy exporting the following value executing: `export JAVA_TOOL_OPTIONS="-Djava.net.preferIPv4Stack=true`
5. Start a shell with torsocks by executing: `torsocks --shell`
6. Now you can run any `signal-cli-jre` command, refer to [man page](https://github.com/AsamK/signal-cli/blob/master/man/signal-cli.1.adoc) for help
## Registration
1. Follow steps 1 through 5 at section [General use of signal-cli on Tails](#General-use-of-signal-cli-on-Tails)
2. Follow the steps on https://github.com/AsamK/signal-cli/wiki/Registration-with-captcha