File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -55,3 +55,20 @@ Generate a static authentication token with the following command:
55
55
``` console
56
56
coder tokens create my-token
57
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 ` .
You can’t perform that action at this time.
0 commit comments