Skip to main content
Skip to main content

b version

List all versions. If arguments are given, it shows the version of the specified binaries.

Alias

  • v

Usage

b version [binary...] [flags]

Examples

Show all versions

Run without arguments to see the version of b and all binaries in your b.yaml.

b version

Show specific binary version

Pass a binary name to see its version.

b version jq

Show multiple binary versions

b version jq kubectl helm

Show only local versions

The --local flag prevents b from checking for new remote versions.

b version --local

Check if versions are up to date

The --check flag can be used in scripts to verify if binaries are up to date. It will exit with a non-zero status code if any binary is outdated.

# Check if all versions are up to date (exit code based)
b version --quiet --check

# Check specific binaries
b version jq kubectl --check

Flags

FlagDescription
--checkCheck if versions are up to date (exit code based)
-h, --helphelp for version
--localOnly show local versions, no lookup for new versions

Global Flags

FlagDescription
-c, --config stringPath to configuration file (current: /home/fentas/github/fentas/b/.bin/b.yaml)
--forceForce operations, overwriting existing binaries
-q, --quietQuiet mode
-v, --versionPrint version information and quit
Was this section helpful?