You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flux2/install
stefanprodan 7739d84fa7 Add CLI install instruction and script 5 years ago
..
README.md Add CLI install instruction and script 5 years ago
tk.sh Add CLI install instruction and script 5 years ago

README.md

TK CLI Installation

Binaries for macOS and Linux AMD64 are available for download on the release page.

To install the latest release run:

curl -s https://raw.githubusercontent.com/fluxcd/toolkit/master/install/tk.sh | sudo bash

The install script does the following:

  • attempts to detect your OS
  • downloads and unpacks the release tar file in a temporary directory
  • copies the tk binary to /usr/local/bin
  • removes the temporary directory

Build from source

Clone the repository:

git clone https://github.com/fluxcd/toolkit
cd toolkit

Build the tk binary (requires go >= 1.14):

make build

Run the binary:

./bin/tk -h