You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/polykey-cli/installation.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,18 +103,25 @@ We will be working on other distribution methods.
103
103
104
104
:::info
105
105
106
-
ARM-64 builds don't work on MacOS as of **20-12-23.**
107
-
However, building polykey yourself on MacOS resolves in a working binary.
106
+
ARM-64 builds are not currently supported on MacOS as of **26-03-24.**
107
+
However, building Polykey yourself on MacOS resolves in a working binary. Follow this guide below to manually build and install Polykey on macOS.
108
108
109
109
:::
110
110
111
-
Builds for MacOS are released on GitHub: https://github.com/MatrixAI/Polykey-CLI/releases.
111
+
### Manually
112
+
113
+
1. Download the Polykey CLI for macOS from the [GitHub releases page](https://github.com/MatrixAI/Polykey-CLI/releases). Look for the file named `polykey-cli-V.V.V-darwin-universal`, where `V.V.V` is the version number. For Mac, you want to download the file with the `darwin-universal` file extension.
114
+
115
+
2. Rename the downloaded file to `polykey` for easier access. In your terminal, make sure to navigate to the directory where the file is located (usually the Downloads directory) and run the following command:
112
116
113
-
Download the executable named `...-polykey-cli-V.V.V-darwin-universal`, and rename it to `polykey`.
117
+
```sh
118
+
mv polykey-cli-V.V.V-darwin-universal polykey
119
+
```
114
120
115
121
:::tip
116
122
117
-
Make sure to cd into the directory where your Polykey CLI executable is located first. Typically this would be your Downloads directory.
123
+
- Replace `V.V.V.` with the actual version number of the file you downloaded.
124
+
- Navigate into the directory where the file is saved to execute commands.
118
125
119
126
:::
120
127
@@ -123,7 +130,7 @@ Make the Executable Runnable:
123
130
Before you can run the Polykey CLI, you need to make it executable. Use the chmod command to add executable permissions to the file. Replace polykey-cli-0.2.6-darwin-universal with the actual name of the file if it's different:
124
131
125
132
```sh
126
-
chmod +x polykey-cli-V.V.V-darwin-universal
133
+
chmod +x polykey
127
134
```
128
135
129
136
MacOS requires additional steps for the binary to be allowed to execute,
0 commit comments