Reinstall BitNinja with a new license key

You are here:
Estimated reading time: < 1 min
Since BitNinja version 3.11.6, you can re-activate BitNinja with a new license key without the need for a complete reinstallation using the command:
bitninjacli --reinstall-license-key=YourNewLicenseKeyHere

If you are using an older version of BitNinja, you must follow these steps to reinstall our agent and manually remove the old license keys to be able to activate a new license.

For uninstallation, please use one of the following commands depending on your server’s OS.


apt-get purge 'bitninja*'
Or
yum remove 'bitninja*'

Use all of the below commands in the given order to delete the directories mentioned below, so BitNinja will use the new license.


rm -f /var/lib/bitninja/token*
rm -rf /var/lib/bitninja/
rm -rf /etc/bitninja/


Then reinstall BitNinja using the one-liner installation code and your new license key.
curl https://get.bitninja.io/install.sh | sudo /bin/bash -s - --license_key=YourLicenseKeyHere --updateChannel=frequent

Keys purchased from our resellers are single-use at a time. This means that any server created with a reseller key must be fully deleted — including from your dashboard — before the key can be reused.
Was this article helpful?
It was not helpful
Views: 17