install

command
v0.0.198 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command install fat-bundles both SPAs agent-pro embeds, then installs the agent-pro binary. Destination is LookPath or ~/.local/bin (see gotool/localbin/install). Honor INSTALL_TO_DIR to stage a copy, and INSTALL_GOOS / INSTALL_GOARCH (else GOOS / GOARCH) for the product build so `go run` of this script can stay host-native while cross-compiling.

Usage:

go run ./script/agent-pro/install
INSTALL_TO_DIR=/tmp/out INSTALL_GOOS=linux INSTALL_GOARCH=amd64 go run ./script/agent-pro/install

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL