upgrade
The proto upgrade
(or proto up
) command can be used to upgrade your current proto binary to the
latest version, or check if you're currently outdated.
$ proto upgrade
# Up/downgrade to a specific version
$ proto upgrade 0.39.0
info
The previous binary will be moved to ~/.proto/tools/proto/<version>
, while the new binary will be
installed to ~/.proto/bin
.
Arguments
<version>
- The version of proto to explicitly upgrade or downgrade to. v0.39.3
Options
--check
- Check if there's a new version without executing the upgrade.--json
- Print the upgrade information as JSON.