Skip to content

foam update

Check whether a newer version of foam-cli is available.

foam update

The command compares your installed version against the latest release on npm and prints the install command if a newer version exists. It does not install anything for you.

If the npm registry can’t be reached, the command falls back to printing the install command without a version comparison.

OptionDescription
--helpShow this help

Check for updates:

Terminal window
foam update
# Current version: 0.41.0
# Latest version: 0.42.0
#
# To update, run:
# npm install -g foam-cli@latest

When already up to date:

Terminal window
foam update
# Current version: 0.42.0
# You are already on the latest version.
Published with Foam