Installing LogCraft CLI
To install LogCraft CLI, prefer using pre-built stable releases.
If you want to contribute to the development of LogCraft CLI, prefer building lgc
from the sources
Downloading LogCraft CLI
To download the latest stable version of LogCraft CLI, simply go to the release page on the project's GitHub and pick the latest available version for your architecture.
Once downloaded, add the lgc
binary to your PATH
, for example in /usr/local/bin
bash
~$ tar xf lgc-x86_64-unknown-linux-gnu.tar.xz
~$ sudo cp lgc-x86_64-unknown-linux-gnu/lgc /usr/local/bin/
Finally, ensure lgc
is correctly installed
bash
~$ cd
~$ lgc --version
LogCraft CLI v0.1.0
~$
Congratulation, LogCraft CLI is installed and working 🎉
Building from sources
bash
git clone git@github.com:LogCraftIO/logcraft-cli.git
cd logcraft-cli
cargo build --release
The resulting binary will be available at ./target/release/lgc
Once built, add the lgc
binary to your PATH
, for example in /usr/local/bin
bash
sudo cp target/release/lgc /usr/local/bin/
Finally, ensure lgc
is correctly installed
bash
~$ cd
~$ lgc --version
LogCraft CLI v0.1.0
~$
Congratulation, LogCraft CLI is installed and working 🎉