All pages
Powered by GitBook
1 of 1

Loading...

CLI Installation on Linux

How to install the Keeper Commander CLI on Linux

Supported Operating systems:

  • Ubuntu and variants (Current release and latest LTS release)

  • CentOS (Current)

  • RedHat, Rocky (Current)

Video Overview

Watch the video below to learn how to install and log in to Keeper Commander.

Instructions

Installing Python:

‌Based on your distribution, follow the instructions to install Python 3.x, typical installation commands are listed below.

OR

Also ensure the "Package installer for Python" is installed (you may need to run an apt-get update first):

OR

Next, upgrade pip3 to the latest version using the command:

Installation with Virtual Environment

Best practice is to set up a virtual environment to avoid system conflicts

Then login to the Keeper CLI using:


Installation without a Virtual Environment

To install on the system without a virtual environment:

Next, ensure Keeper is in the PATH so that the "keeper" binary is available. Adjust this as needed.


Logging In

To validate Keeper Commander is properly installed, login:

To quickly login to your account on the US data center, use the following command:

For detailed login and session management instructions, see the section.


Upgrading

We release updates weekly. You can update to the latest version of Commander by typing:

Logging In
sudo apt install python3
yum install -y python3
sudo apt install python3-pip
sudo yum install python3-pip
sudo pip3 install --upgrade pip
python3 -m venv keeper-env
source keeper-env/bin/activate
pip install keepercommander
keeper shell
pip3 install --user keepercommander
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
keeper shell
login [email protected]
pip3 install --upgrade keepercommander
Keeper Commander – Installing and Logging In