#!/bin/sh # Create the bin directory mkdir -p bin # Build the CLI echo "Building the CLI..." CGO_ENABLED=0 go build -ldflags "-s -w" -o ./bin/eon ./cmd/main.go # Install the CLI echo "Installing the CLI..." sudo install ./bin/eon /bin echo "eon installed successfully!"