Skip to content

update

Update fns-cli to the latest released version.

Usage

fns-cli update
fns-cli self-update

Aliases

self-update

Flags

FlagDescription
-h, --helpShow help

How it works

  1. Checks the latest available version against the current one.
  2. If already up to date, prints a confirmation and exits.
  3. If a newer version is found, downloads and replaces the current binary in-place.

Tips

  • If you are running a development build (0.0.0-dev), you will be warned and asked to confirm before overwriting it with a release binary.
  • The update is performed via the GitHub Releases API from the afonsodemori/fns-cli repository.
  • After updating, verify the new version with fns-cli version.