Install
General requirements
First of all, you have to install git, Docker and Docker Compose (standalone version is prefered) on your computer.
Use the next commands to check if you have the right version installed: ni
# Any git version is fine
git --version
# A mimimum of 2.0.0 is required for docker-compose
docker-compose --version
You also could have the Docker Compose plugin but there is a bug when displaying logs, so we recommend you to use the standalone version.
# A mimimum of 2.0.0 is required
docker compose --version
Install Lenra CLI
using cargo
Simply install the latest package using the cargo CLI:
cargo install lenra_cli
For more installation instructions, you can directly check the CLI repository.
using the binary
Lenra for Linux
Lenra for Windows
Lenra for MacoS
Download the latest binary, save it where you want and update your $PATH environment variable to use it as
lenra
(orlenra.exe
for Windows).For unix based system users, you can use the next command to add it to your $PATH temporarily:
export PATH="/my/path/to/lenra_cli:$PATH"
For windows users, you can use the next command to add it to your $PATH temporarily:
set PATH="C:\my\path\to\lenra_cli;%PATH%"
Check your installation using the next command:
lenra --version