[root@f59e854f7b47 /]# cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
VERSION_ID=TEMPLATE_VERSION_ID
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

** Prerequisites **
[root@f59e854f7b47 /]# pacman -S nodejs npm

resolving dependencies...
looking for conflicting packages...

Package (5)            Old Version  New Version  Net Change  Download Size

community/node-gyp                  9.3.1-1        4.43 MiB       0.96 MiB
community/nodejs-nopt               7.0.0-1        0.03 MiB       0.01 MiB
community/semver                    7.3.8-1        0.11 MiB       0.04 MiB
community/nodejs       19.6.1-1     19.7.0-1      -0.18 MiB      13.09 MiB
community/npm                       8.19.2-1       6.49 MiB       1.42 MiB

Total Download Size:   15.51 MiB
Total Installed Size:  66.26 MiB
Net Upgrade Size:      10.89 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 nodejs-19.7.0-1-x86_64 downloading...
 npm-8.19.2-1-any downloading...
 node-gyp-9.3.1-1-any downloading...
 semver-7.3.8-1-any downloading...
 nodejs-nopt-7.0.0-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
upgrading nodejs...
installing nodejs-nopt...
installing semver...
installing node-gyp...
installing npm...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@f59e854f7b47 /]# node --version
v19.7.0

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny