We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3706fa9 commit ac842eaCopy full SHA for ac842ea
cli/installation.md
@@ -55,3 +55,20 @@ Generate a static authentication token with the following command:
55
```console
56
coder tokens create my-token
57
```
58
+
59
+## Update
60
61
+To update the CLI to the version corresponding to your current Coder deployment,
62
+run (you will be asked to confirm all changes before they're performed):
63
64
+```console
65
+coder update
66
+```
67
68
+The `coder update` command accepts the following arguments:
69
70
+- `--coder`: specify the Coder instance the CLI should use to query the version
71
+- `--version`: specify the version that the CLI should download and upgrade to
72
+- `--force`: omit prompts asking for change confirmations
73
74
+**Note:** Coder CLI will not update if it is located under `/var/tmp/coder` or `C:\Windows`.
0 commit comments