> For the complete documentation index, see [llms.txt](https://termux-wiki.zsxwz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://termux-wiki.zsxwz.com/nodejs.md).

# nodejs

安装：

```
apt install nodejs
```

npm换国内源：

<pre><code>npm config set registry http://registry.npmmirror.com
<strong>
</strong>#验证
npm config get registry
</code></pre>
