Installation Option 1: Cargo Install
Run
cargo install
cargo install --git https://github.com/njfio/fluent_cli.git
This will install the
fluent
executable to
~/.cargo/fluent
Create a fluent profile directory.
Creating this directory as a git repository allows your config.json and amber.yaml file to be versioned, protected, and used across any system you want to use
fluent
on.
mkdir ~/.fluent_cli
Download the config.json file from the repository.
https://github.com/njfio/fluent_cli/blob/main/fluent_cli/config.json
Copy that file to your fluent_cli profile path.
cp ~/Downloads/config.json ~/.fluent_cli
If you have not used amber, https://github.com/fpco/amber, you need to initialize the repository.
cd ~/.fluent_cli
amber init
MAKE SURE YOU SAVE THE RESULTING PRIVATE KEY IN A PASSWORD STORE
Create both the two necessary user
env
entries.
export AMBER_YAML=/path/to/your/user/profile/.fluent_cli/amber.yaml
export FLUENT_CLI_CONFIG_PATH=/path/to/your/user/profile/.fluent_cli/config.json
Last updated