Installation Option 2: Clone Repository
These steps are very similar to option 1.
Clone the repository:
git clone https://github.com/yourgithub/fluent_cli.git
Navigate to the FluentCLI directory:
cd fluent_cli
Build the application:
cargo build --release
Create the profile directory and copy the necessary files
mkdir ~/.fluent_cli
copy /path/to/your/fluent_cli/repo/fluent_cli/target/release/fluent ~/.fluent_cli
copy /path/to/your/fluent_cli/repo/fluent_cli/config.json ~/.fluent_cli
copy /path/to/your/fluent_cli/repo/fluent_cli/fluent_cli_autocomplete.sh ~/.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