Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 1.5 KB

INSTALL.md

File metadata and controls

77 lines (50 loc) · 1.5 KB

forge-cli

Assemble, validate, and deploy markdown content across AI coding providers.

This file follows the install.md standard — structured instructions for AI agents to execute autonomously. Human readers: see README.md for conventional documentation.

I want you to install forge-cli for me. Execute all the steps below autonomously.

OBJECTIVE

Build the forge binary from source and make it available on PATH.

DONE WHEN

Running forge --help prints the CLI usage and exits successfully.

TODO

  • Ensure Rust toolchain is installed
  • Clone the repository
  • Build the release binary
  • Symlink to PATH
  • Verify the installation

Steps

Rust toolchain

You need the Rust toolchain. If cargo is not available, install it:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"

Clone

git clone https://github.com/N4M3Z/forge-cli.git
cd forge-cli

If already cloned, pull latest:

git pull

Build

cargo build --release

Symlink

mkdir -p ~/.local/bin
ln -sf "$(pwd)/target/release/forge" ~/.local/bin/forge

If ~/.local/bin is not on PATH:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Verify

You must confirm the binary is accessible:

forge --help

EXECUTE NOW: Complete the above TODO list to achieve: forge --help prints CLI usage and exits successfully.