diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b86115c5f..2ef5c2ad1 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -53,6 +53,16 @@ builds: - cmd: sh -c 'go run main.go completion bash > ./dist/completions/stackit.bash' - cmd: sh -c 'go run main.go completion fish > ./dist/completions/stackit.fish' + - id: freebsd-builds + env: + - CGO_ENABLED=0 + goos: + - freebsd + goarch: + - arm64 + - amd64 + binary: "stackit" + archives: - id: windows-archives ids: @@ -61,6 +71,7 @@ archives: - ids: - linux-builds - macos-builds + - freebsd-builds formats: [ 'tar.gz' ] files: - src: ./dist/completions/* diff --git a/INSTALLATION.md b/INSTALLATION.md index c2e7bf751..14976fe69 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -215,6 +215,24 @@ You can also get the STACKIT CLI by compiling it from source or downloading a pr go run . ``` +### FreeBSD + +The STACKIT CLI can be installed through the [FreeBSD ports or packages](https://docs.freebsd.org/en/books/handbook/ports/). + +To install the port: + +```shell +cd /usr/ports/sysutils/stackit/ && make install clean +``` + +To add the package, run one of these commands: + +```shell +pkg install sysutils/stackit +# OR +pkg install stackit +``` + ### Pre-compiled binary 1. Download the binary corresponding to your operating system and CPU architecture from our [Releases](https://github.com/stackitcloud/stackit-cli/releases) page