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: README.md
+47
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,53 @@ cd moxin
54
54
cargo run
55
55
```
56
56
57
+
## Windows (Windows 10 or higher)
58
+
1. Download and install the LLVM v17.0.6 release for Windows: [Here is a direct link to LLVM-17.0.6-win64.exe](https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/LLVM-17.0.6-win64.exe), 333MB in size.
59
+
> [!IMPORTANT]
60
+
> During the setup procedure, make sure to select `Add LLVM to the system PATH for all users` or `for the current user`.
61
+
2. Restart your PC, or log out and log back in, which allows the LLVM path to be properly
62
+
* Alternatively you can add the LLVM path `C:\Program Files\LLVM\bin` to your system PATH.
63
+
3. Download the [WasmEdge-0.14.0-windows.zip](https://github.com/WasmEdge/WasmEdge/releases/download/0.14.0/WasmEdge-0.14.0-windows.zip) file from [the WasmEdge v0.14.0 release page](https://github.com/WasmEdge/WasmEdge/releases/tag/0.14.0),
64
+
and then extract it into a directory of your choice.
65
+
We recommend using your home directory (e.g., `C:\Users\<USERNAME>\`), represented by `$home` in powershell and `%homedrive%%homepath%` in batch-cmd.
66
+
67
+
Afterwards, you should see a directory called `WasmEdge-0.14.0-Windows` there.
68
+
69
+
To do this quickly in powershell:
70
+
```powershell
71
+
$ProgressPreference = 'SilentlyContinue' ## makes downloads much faster
4. Download the WasmEdge WASI-NN plugin here: [WasmEdge-plugin-wasi_nn-ggml-0.14.0-windows_x86_64.zip](https://github.com/WasmEdge/WasmEdge/releases/download/0.14.0/WasmEdge-plugin-wasi_nn-ggml-0.14.0-windows_x86_64.zip) (15.5MB) and extract it to the same directory as above, e.g., `C:\Users\<USERNAME>\WasmEdge-0.14.0-Windows`.
78
+
> [!IMPORTANT]
79
+
> You will be asked whether you want to replace the files that already exist; select `Replace the files in the destination` when doing so.
80
+
81
+
To do this quickly in powershell:
82
+
```powershell
83
+
$ProgressPreference = 'SilentlyContinue' ## makes downloads much faster
5. Set the `WASMEDGE_DIR` and `WASMEDGE_PLUGIN_PATH` environment variables to point to the `WasmEdge-0.14.0-Windows` directory that you extracted above, and then build Moxin.
0 commit comments