Skip to content

flowforge version

flowforge version prints the version string compiled into the FlowForge Go binary. It performs no network or filesystem I/O — the value is embedded at build time and reported back as-is.

Terminal window
flowforge version

The command takes no arguments and no flags.

The binary carries a default version of 1.0.0. The version string can be overridden at build time by linker flags, which is how release builds tag themselves with the official semver:

Terminal window
go build -ldflags "-X main.Version=1.1.0" ./cmd/flowforge/

Use flowforge version to confirm which build of the binary is on PATH, especially when multiple versions are installed in parallel (for example, a release build in /usr/local/bin and a development build in a project-local directory).

The slash-command surface has its own equivalent: /flowforge:version:check reports the FlowForge framework version and changelog. The two surfaces report different versions: this subcommand reports the Go binary version, while the slash command reports the framework version captured in .flowforge/.

None.

None.

None.

Print the embedded version:

Terminal window
$ flowforge version
flowforge 1.0.0

Build a binary with a custom version and verify:

Terminal window
go build -ldflags "-X main.Version=1.0.0-rc.2" -o /tmp/ff ./cmd/flowforge/
/tmp/ff version
# flowforge 1.0.0-rc.2

Confirm the binary on PATH:

Terminal window
which flowforge && flowforge version
CodeMeaning
0Always. The command has no failure mode beyond Go runtime errors that would prevent any Cobra command from running.