Installation Option 1: Cargo Install

  1. Run cargo install

cargo install --git https://github.com/njfio/fluent_cli.git
  1. This will install the fluent executable to

~/.cargo/fluent
  1. 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
  1. Download the config.json file from the repository.

https://github.com/njfio/fluent_cli/blob/main/fluent_cli/config.json

  1. Copy that file to your fluent_cli profile path.

cp ~/Downloads/config.json ~/.fluent_cli
  1. 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

  1. 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