version check for platform
Checks to see if you have the latest version of nushell.
Command Type
built-in
Signature
> version check {flags}
Input/output types:
| input | output |
|---|---|
| nothing | record |
Examples
Check if you have the latest version of nushell
> version checkNotes
If you're running nushell nightly, version check will check to see if you are running the latest nightly version. If you are running the nushell release, version check will check to see if you're running the latest release version.
If GITHUB_TOKEN (or GH_TOKEN) is set in the environment, it will be used to authenticate the check against the GitHub API. When both are set, GH_TOKEN takes precedence, as with the gh CLI.