Install this package:
emerge -a net-libs/nodejs
<pkgmetadata> <maintainer type="person" proxied="yes"> <email>web@inode64.com</email> <name>Fco. Javier Félix</name> </maintainer> <maintainer type="project" proxied="proxy"> <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> <longdescription lang="en"> Node.js slotted by major version, so several majors can be installed side by side. Each slot lives in /usr/lib*/node-MAJOR and provides nodeMAJOR, npmMAJOR and npxMAJOR in /usr/bin; the unversioned node, npm and npx follow the slot chosen with app-eselect/eselect-nodejs. Prepending /usr/lib*/node-MAJOR/bin to PATH runs a whole project, including its npm scripts, with that major. </longdescription> <use> <flag name="corepack">Enable the experimental corepack package management tool</flag> <flag name="inspector">Enable V8 inspector</flag> <flag name="npm">Enable NPM package manager</flag> <flag name="pax-kernel">Enable building under a PaX enabled kernel</flag> <flag name="snapshot">Enable snapshot creation for faster startup</flag> <flag name="system-icu">Use system <pkg>dev-libs/icu</pkg> instead of the bundled version</flag> <flag name="system-ssl">Use system OpenSSL instead of the bundled one</flag> <flag name="temporal">Enable the Temporal API for handling dates and times</flag> </use> <upstream> <remote-id type="github">nodejs/node</remote-id> <remote-id type="cpe">cpe:/a:nodejs:nodejs</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p net-libs/nodejs |
euse -E <flag> -p net-libs/nodejs |
euse -D <flag> -p net-libs/nodejs
| Flag | Description | 26.13.1 | 24.22.3 |
|---|---|---|---|
| corepack | Enable the experimental corepack package management tool | ✗ | ✓ |
| cpu_flags_x86_sse2 | ⚠️ | ✓ | ✓ |
| debug | Enable assertions to allow for easier debugging of programs that link to spidermonkey -- note this will often crash software on regular end-user systems ⚠️ | ✓ | ✓ |
| doc | Enable building of the PCP books ⚠️ | ✓ | ✓ |
| icu | ⚠️ | ⊕ | ⊕ |
| inspector | Enable V8 inspector | ⊕ | ⊕ |
| lto | Build with link-time optimization; with GCC the VM files that use global register variables are kept out of LTO ⚠️ | ✓ | ✓ |
| npm | Enable NPM package manager | ⊕ | ⊕ |
| pax-kernel | Enable building under a PaX enabled kernel | ✓ | ✓ |
| snapshot | Enable snapshot creation for faster startup | ⊕ | ⊕ |
| ssl | ⚠️ | ⊕ | ⊕ |
| system-icu | Use system <pkg>dev-libs/icu</pkg> instead of the bundled version | ✓ | ⊕ |
| system-ssl | Use system OpenSSL instead of the bundled one | ⊕ | ⊕ |
| temporal | Enable the Temporal API for handling dates and times | ✓ | ✗ |
| test | Perform rocblas-test to compare the result between rocBLAS and system BLAS ⚠️ | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | node-v24.22.3.tar.xz | 56764640 bytes | 24.22.3 |
| DIST | node-v26.13.1.tar.xz | 63411840 bytes | 26.13.1 |
| Type | File | Size |
|---|