Install this version:
emerge -a =sys-process/pm2-7.0.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-process/pm2-7.0.1
Or alternatively:
emerge --autounmask-write -a =sys-process/pm2-7.0.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 7.0.1 | 8 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit nodejs-mod systemd
DESCRIPTION="Process manager for Node.js applications with a built-in load balancer"
HOMEPAGE="https://pm2.keymetrics.io/"
SRC_URI="
https://github.com/Unitech/pm2/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://www.inode64.com/dist/${P}-node_modules.tar.xz
"
LICENSE="AGPL-3 Apache-2.0 BSD-2 ISC MIT public-domain"
SLOT="0"
KEYWORDS=""
NODEJS_EXTRA_FILES="bin constants.js index.js paths.js"
RDEPEND="net-libs/nodejs"
src_install() {
nodejs-mod_src_install
doinitd "${FILESDIR}"/${PN}
systemd_dounit "${FILESDIR}/${PN}.service"
}
net-libs/nodejs
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | pm2-7.0.1-node_modules.tar.xz | 3718456 bytes | https://www.inode64.com/dist/pm2-7.0.1-node_modules.tar.xz |
| DIST | pm2-7.0.1.tar.gz | 2169671 bytes | https://github.com/Unitech/pm2/archive/v7.0.1.tar.gz |