b version
List all versions. If arguments are given, it shows the version of the specified binaries.
Alias
v
Usage
Examples
Show all versions
Run without arguments to see the version of b
and all binaries in your b.yaml
.
Show specific binary version
Pass a binary name to see its version.
Show multiple binary versions
Show only local versions
The --local
flag prevents b
from checking for new remote versions.
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.
Flags
Flag | Description |
---|---|
--check | Check if versions are up to date (exit code based) |
-h , --help | help for version |
--local | Only show local versions, no lookup for new versions |
Global Flags
Flag | Description |
---|---|
-c , --config string | Path to configuration file (current: /home/fentas/github/fentas/b/.bin/b.yaml ) |
--force | Force operations, overwriting existing binaries |
-q , --quiet | Quiet mode |
-v , --version | Print version information and quit |
Was this section helpful?