Skip to content

Commit 66af3a8

Browse files
authored
Add a proper README.md
1 parent aee61c0 commit 66af3a8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Prebuilt libnode binaries
2+
This project automatically monitors Node.js for new releases and compiles the latest versions into shared libraries using GitHub Actions. You can conveniently access these binaries in the release section of this repository.
3+
4+
## Supported platforms:
5+
- Linux x64
6+
- Linux ARM64
7+
- MacOS x64
8+
- MacOS ARM64 (M series)
9+
- Windows x64
10+
11+
## Possible Future Support:
12+
- Windows ARM64 (The Windows ARM64 support is dependent on solving [https://github.com/nodejs/node/issues/52664](https://github.com/nodejs/node/issues/52664))
13+
14+
## Usage:
15+
Download your suitable release and place the binaries into your Operating System's shared library location. On Linux for example, you'd do:
16+
```bash
17+
# Replace <version> with the version you're willing to download, e.g. `v22.1.0`.
18+
# Replace <arch> with your CPU architecture. e.g. `amd64` or `arm64`.
19+
wget https://github.com/devraymondsh/libnode/releases/download/<version>/libnode-<arch>-linux.tar.xz
20+
# Extract the archive.
21+
tar xvf libnode-<arch>-linux.tar.xz
22+
# Move the binaries to `/usr/lib`
23+
sudo mv libnode.so libnode.so.127 /usr/lib/
24+
# Ideally, move the node executable to `/usr/bin/`
25+
sudo mv node /usr/bin/
26+
```
27+
28+
## License:
29+
This project is licensed under the MIT License.

0 commit comments

Comments
 (0)