Hasura CLI: hasura update-cli
Update the CLI to latest or a specific version.
Synopsis
You can use this command to update the CLI to the latest version or a specific version. Each time you run a CLI command, if a new version is available, you will be prompted to update the CLI.
hasura update-cli [flags]
Examples
# Update CLI to latest version:
hasura update-cli
# To disable auto-update check on the CLI, set
# "show_update_notification": false
# in ~/.hasura/config.json
# Update CLI to a specific version (say v1.2.0-beta.1):
hasura update-cli --version v1.2.0-beta.1
Options
-h, --help help for update-cli
--version string a specific version to install
Options inherited from parent commands
--envfile string .env filename to load ENV vars from (default ".env")
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
--no-color do not colorize output (default: false)
--project string directory where commands are executed (default: current dir)
--skip-update-check skip automatic update check on command execution
SEE ALSO
- hasura - Hasura GraphQL Engine command line tool
Auto generated by spf13/cobra