@@ -15,49 +15,83 @@ manual building steps can be found in xref:#building-from-source[this] section.
15
15
Linux::
16
16
+
17
17
--
18
- Download the `stackablectl-x86_64-unknown-linux-gnu` binary file from the link:{latest-release}[latest release], then
19
- rename the file to `stackablectl`. You can also use the following command:
18
+ Download the appropriate binary file for your architecture, `stackablectl-x86_64-unknown-linux-gnu` for Intel-based devices or
19
+ `stackablectl-aarch64-unknown-linux-gnu` for ARM-based devices from the link:{latest-release}[latest release],
20
+ then rename the file to `stackablectl`. You can also use the following command:
21
+
22
+ *x86_64* (amd64):
20
23
21
24
[source,console]
22
25
----
23
26
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-24.7.0/stackablectl-x86_64-unknown-linux-gnu
24
- # or
27
+ ----
28
+
29
+ **aarch64** (arm64):
30
+
31
+ [source,console]
32
+ ----
25
33
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-24.7.0/stackablectl-aarch64-unknown-linux-gnu
26
34
----
27
35
28
- Mark the binary as executable:
36
+ Install the binary into a directory in the `$PATH`, and make it executable:
37
+
38
+ NOTE: If you have a directory in your `$HOME` for user binaries, you can remove `sudo`, and change the directory to that.
29
39
30
40
[source,console]
31
41
----
32
- $ chmod +x stackablectl
42
+ $ sudo install -m 755 -t /usr/local/bin stackablectl
33
43
----
34
44
35
- Then, make sure it is present in your `$PATH`, like `/usr/local/bin`.
45
+ Test that it works:
46
+
47
+ [source,console]
48
+ ----
49
+ $ stackablectl --version
50
+ ----
36
51
--
37
52
38
53
macOS::
39
54
+
40
55
--
41
- Download the `stackablectl-x86_64-apple-darwin` binary file for Intel-based devices or the
42
- `stackablectl-aarch64-apple-darwin` binary file for ARM-based devices from the link:{latest-release}[latest release],
56
+ Download the appropriate binary file for your architecture, `stackablectl-x86_64-apple-darwin` for Intel-based devices or
57
+ `stackablectl-aarch64-apple-darwin` for ARM-based devices from the link:{latest-release}[latest release],
43
58
then rename the file to `stackablectl`. You can also use the following command:
44
59
60
+ *x86_64* (amd64):
61
+
45
62
[source,console]
46
63
----
47
64
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-24.7.0/stackablectl-x86_64-apple-darwin
48
- # or
65
+ ----
66
+
67
+ **aarch64** (arm64):
68
+
69
+ [source,console]
70
+ ----
49
71
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-24.7.0/stackablectl-aarch64-apple-darwin
50
72
----
51
73
52
- Mark the binary as executable:
74
+ Install the binary into a directory in the `$PATH`, and make it executable:
75
+
76
+ NOTE: If you have a directory in your `$HOME` for user binaries, you can remove `sudo`, and change the directory to that.
77
+
78
+ [source,console]
79
+ ----
80
+ $ sudo install -m 755 -t /usr/local/bin stackablectl
81
+ ----
82
+
83
+ Test that it works:
53
84
54
85
[source,console]
55
86
----
56
- $ chmod +x stackablectl
87
+ $ stackablectl --version
57
88
----
58
89
90
+ [TIP]
91
+ ====
59
92
If macOS denies the execution of `stackablectl` go to Settings -> Security & Privacy -> General. Here you will see a pop
60
93
up asking if you want to allow access for `stackablectl`. You must allow access.
94
+ ====
61
95
--
62
96
63
97
Windows::
@@ -93,6 +127,13 @@ access it from anywhere if you like:
93
127
$ cp target/release/stackablectl /usr/local/bin
94
128
----
95
129
130
+ Test that it works:
131
+
132
+ [source,console]
133
+ ----
134
+ $ stackablectl --version
135
+ ----
136
+
96
137
[#shell-comps]
97
138
== Shell Completions
98
139
0 commit comments