Get Pre-built Packages
You can download pre-built packages from either of the following sources:
- GitHub Releases
- Dist source — a self-hosted Node.js dist source compatible with nodejs.org/dist.
Usage
1. Manual install
Extract the tarball and add the bin directory to PATH:
tar -zxf node-v24.2.0-openharmony-arm64.tar.gz
export PATH=$PATH:$(realpath node-v24.2.0-openharmony-arm64/bin)
# You can now use the 'node' command.
2. Install via nvm / fnm (under adaptation, coming soon)
Support is under adaptation — a few patches are still needed before nvm / fnm can install from the dist source.
The intended usage:
# nvm
NVM_NODEJS_ORG_MIRROR=https://ohos-node.com/dist nvm install v24.2.0
# or persist it:
nvm set node_mirror https://ohos-node.com/dist
# fnm
FNM_NODE_DIST_MIRROR=https://ohos-node.com/dist fnm install 24