update readme

This commit is contained in:
Bartal Læarsson
2025-03-02 21:32:16 +00:00
parent 8f9c475cfd
commit f4bb0329bc
2 changed files with 14 additions and 1 deletions
+4
View File
@@ -37,6 +37,10 @@ The CLI tool provides a user-friendly interface for managing your environments:
# Install CLI tool # Install CLI tool
./cli/install.sh ./cli/install.sh
# The installer adds the binary to ~/.local/bin
# Make sure this is in your PATH
export PATH="$PATH:$HOME/.local/bin"
# Run the tool # Run the tool
provision provision
``` ```
+10 -1
View File
@@ -10,18 +10,27 @@ A user-friendly CLI tool for provisioning and managing infrastructure components
```bash ```bash
./install.sh ./install.sh
# Make sure ~/.local/bin is in your PATH
export PATH="$PATH:$HOME/.local/bin"
``` ```
This installs the CLI tool to `~/.local/bin` and provides PATH configuration instructions if needed. This installs the CLI tool to `~/.local/bin`. You may need to add this directory to your PATH if it's not already there. To make this change permanent, add the export line to your `~/.bashrc` or `~/.profile`.
### Manual Install ### Manual Install
Find the appropriate binary for your platform in the `bin` directory: Find the appropriate binary for your platform in the `bin` directory:
```bash ```bash
# Create ~/.local/bin directory if it doesn't exist
mkdir -p ~/.local/bin
# Example for Linux/AMD64 # Example for Linux/AMD64
cp bin/linux_amd64/provision ~/.local/bin/ cp bin/linux_amd64/provision ~/.local/bin/
chmod +x ~/.local/bin/provision chmod +x ~/.local/bin/provision
# Add to PATH if needed
export PATH="$PATH:$HOME/.local/bin"
``` ```
Available binaries: Available binaries: