Skip to main content
This command provides an easy way to ensure that NativeCLI is always kept up to date.
This command is only available in NativeCLI version 1.0.0-release.1 and later.

Command

Syntax:
nativecli self-update [VERSION]

Options

All options are only available since 1.0.1

-f, —format

By default, update status is output in text. For programmatic use, json is also a valid option:
nativecli self-update --format json

—check

Check for updates without updating.

Examples

Update to the latest stable version:
nativecli self-update
Update to a specific version:
nativecli self-update 1.0.0-beta.2