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/getting-started/install-open-libra-cli/install-open-libra-cli-binaries.md
+80-25Lines changed: 80 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,52 +158,107 @@ The pre-built binaries require Ubuntu 24.04. For older versions:
158
158
:::
159
159
160
160
</TabItem>
161
+
162
+
163
+
161
164
<TabItemvalue="windows"label="Windows">
162
165
163
-
### Native Windows
166
+
> **Assumption:** You have downloaded **`libra-windows-x64.exe`** into **`C:\Users\<you>\Downloads`**.
167
+
168
+
### TL;DR — One‑liner
169
+
170
+
You can set up `libra` in one step. Paste the following commands into the `PowerShell` application, press Enter, and wait for the version output to confirm success:
|`"command not found"`| Binary location is not in your `PATH`| Ensure the binary location is in your `PATH`|
257
+
|`"Permission denied"`| File is not marked as executable | Run `chmod +x libra` to make the file executable |
258
+
|`"cannot execute binary file"`| Downloaded binary does not match your system architecture | Check your system architecture and download the correct binary |
259
+
|`OpenSSL errors`| OpenSSL is missing or not properly installed | Install or update OpenSSL for your platform |
260
+
|`"bad CPU type"` (macOS) | Binary was built for the wrong CPU architecture | Download the correct architecture (x64 vs. arm64) |
261
+
|`libra : The term 'libra' is not recognized…`| Current PowerShell session has not picked up the updated `PATH`| Open a new PowerShell window, or run step 4 to refresh `PATH` in the current session |
262
+
| Path appears as `C:\Users\win\Downloads\%HOMEPATH%\bin`|`%HOMEPATH%` was used instead of `$HOME` or `%USERPROFILE%` (lacks drive letter) | Re-run steps 1–3 using `$HOME` (PowerShell) or `%USERPROFILE%` (cmd) |
263
+
| Need to type `.\libra.exe` instead of `libra`| Windows does not execute files from the current directory by default | Ensure `$HOME\bin` is in your `PATH`; then running `libra` will work without `.\`|
0 commit comments