Multiple AWS service teams have compiled binaries for NodeJS v18.x for Amazon Linux 2 to use in their services. These service teams include ElasticBeanstalk and Cloud9. You can find references to these binaries in the CloudWatch logs related to ElasticBeanstalk and Cloud9 resources.
While not officially supported by AWS, and only a specific version of NodeJS that has been compiled, you could borrow the NodeJS binary from the Cloud9 team and installon your Amazon Linux 2 based host.
```
### download the NodeJS binary (x86 only)
wget -nv https://d3rnber7ry90et.cloudfront.net/linux-x86_64/node-v18.17.1.tar.gz
mkdir /usr/local/lib/node
tar -xf node-v18.17.1.tar.gz
mv node-v18.17.1 /usr/local/lib/node/nodejs
### Unload NVM, use the new node in the path, then install some items globally.
echo "export NVM_DIR=''" >> /home/ec2-user/.bashrc
echo "export NODEJS_HOME=/usr/local/lib/node/nodejs" >> /home/ec2-user/.bashrc
echo "export PATH=\$NODEJS_HOME/bin:\$PATH" >> /home/ec2-user/.bashrc
### Reload environment
. /home/ec2-user/.bashrc
### Verify NodeJS v18.x is operating
node -e "console.log('Running Node.js ' + process.version)"
``` Answer from Tyler Lynch on repost.aws
Node.js
nodejs.org › en › blog › release › v18.12.0
Node.js — Node.js v18.12.0 (LTS)
October 25, 2022 - Windows 32-bit Installer: https://nodejs.org/dist/v18.12.0/node-v18.12.0-x86.msi Windows 64-bit Installer: https://nodejs.org/dist/v18.12.0/node-v18.12.0-x64.msi Windows 32-bit Binary: https://nodejs.org/dist/v18.12.0/win-x86/node.exe Windows 64-bit Binary: https://nodejs.org/dist/v18.12.0/win-x64/node.exe macOS 64-bit Installer: https://nodejs.org/dist/v18.12.0/node-v18.12.0.pkg macOS Apple Silicon 64-bit Binary: https://nodejs.org/dist/v18.12.0/node-v18.12.0-darwin-arm64.tar.gz macOS Intel 64-bit Binary: https://nodejs.org/dist/v18.12.0/node-v18.12.0-darwin-x64.tar.gz Linux 64-bit Binary: ht
Node.js
nodejs.org › download › release › v18.18.2
Index of /download/release/v18.18.2/
../ docs/ - - win-x64/ - - win-x86/ - - SHASUMS256.txt.asc 04-Nov-2024 17:30 3.9 KB SHASUMS256.txt.sig 04-Nov-2024 17:30 438 B SHASUMS256.txt 04-Nov-2024 17:30 3.2 KB node-v18.18.2-aix-ppc64.tar.gz 30-Oct-2024 18:06 57 MB node-v18.18.2-darwin-arm64.tar.gz 30-Oct-2024 18:06 41 MB node-v18.18.2-darwin-arm64.tar.xz 30-Oct-2024 18:06 21 MB node-v18.18.2-darwin-x64.tar.gz 30-Oct-2024 18:06 42 MB node-v18.18.2-darwin-x64.tar.xz 30-Oct-2024 18:06 22 MB node-v18.18.2-headers.tar.gz 30-Oct-2024 18:06 8.7 MB node-v18.18.2-headers.tar.xz 04-Nov-2024 17:30 479 KB node-v18.18.2-linux-arm64.tar.gz 30-Oct-20
Videos
03:53
How to Install Node.js on Windows 11 & Run Your First Program (2025) ...
04:43
How To Install Node JS on Windows in Under 5 Minutes! - YouTube
08:13
Install Node.js (versions 18, 20, 22) with NVM on Ubuntu 24.04 ...
02:54
How to Install Node.js on Window 11 (2025) - YouTube
03:49
How to install Node.js in Windows 10/11 [2025 Update] | Download ...
03:41
How to install Node.js 18 LTS on Windows 10/11 from zip archive ...
Node.js
nodejs.tech › en › download
Download | Node.jsnode js 学习 中文网
Latest LTS Version: 18.16.1 (includes npm 9.5.1) Download the Node.js source code or a pre-built installer for your platform, and start developing today. LTS · Recommended For Most Users · Current · Latest Features · Windows Installer · node-v18.16.1-x86.msi ·
Top answer 1 of 2
2
Multiple AWS service teams have compiled binaries for NodeJS v18.x for Amazon Linux 2 to use in their services. These service teams include ElasticBeanstalk and Cloud9. You can find references to these binaries in the CloudWatch logs related to ElasticBeanstalk and Cloud9 resources.
While not officially supported by AWS, and only a specific version of NodeJS that has been compiled, you could borrow the NodeJS binary from the Cloud9 team and installon your Amazon Linux 2 based host.
```
### download the NodeJS binary (x86 only)
wget -nv https://d3rnber7ry90et.cloudfront.net/linux-x86_64/node-v18.17.1.tar.gz
mkdir /usr/local/lib/node
tar -xf node-v18.17.1.tar.gz
mv node-v18.17.1 /usr/local/lib/node/nodejs
### Unload NVM, use the new node in the path, then install some items globally.
echo "export NVM_DIR=''" >> /home/ec2-user/.bashrc
echo "export NODEJS_HOME=/usr/local/lib/node/nodejs" >> /home/ec2-user/.bashrc
echo "export PATH=\$NODEJS_HOME/bin:\$PATH" >> /home/ec2-user/.bashrc
### Reload environment
. /home/ec2-user/.bashrc
### Verify NodeJS v18.x is operating
node -e "console.log('Running Node.js ' + process.version)"
```
2 of 2
0
Hello.
Unfortunately Amazon Linux2 does not support Nodejs18.
If you want to use it on Amazon Linux2, you need to use Docker containers etc.
I think you can use Amazon Linux 2023 as described in the document below.
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html
https://repost.aws/questions/QUrXOioL46RcCnFGyELJWKLw/glibc-2-27-on-amazon-linux-2
GitHub
github.com › nodejs › node
GitHub - nodejs/node: Node.js JavaScript runtime ✨🐢🚀✨
Binaries, installers, and source tarballs are available at https://nodejs.org/en/download/. ... The latest directory is an alias for the latest Current release. The latest-codename directory is an alias for the latest release from an LTS line.
Starred by 115K users
Forked by 34K users
Languages JavaScript 62.5% | C++ 23.1% | Python 10.1% | C 2.7% | HTML 0.6% | Shell 0.5%
Top answer 1 of 4
90
I recommend using Node Version Manager:
NB: Node Version Manager (nvm) allows you to install multiple node versions and choose between them depending on which software you want to support; that is, manage multiple node versions.
Installing Node Version Manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
Once you have Node Version Manager installed
- Confirm the available remote versions by running
nvm ls-remote - Run in your terminal
nvm install <version>for example,nvm install 18to install version 18 of Node - List installed versions with
nvm list - Run
nvm use 18to start using version 18 of Node - Note: you can be more explicit, for example:
nvm install 14.17.0
2 of 4
29
Install nodejs v20 on Debian and Ubuntu based distributions
step 1 : Download and import the Nodesource GPG key
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
step 2 : Create deb repository
NODE_MAJOR=20
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
optional: here we are installing nodejs v20 but if you want to install v18 change NODE_MAJOR=18 in above command. Similarly if you want to install nodejs v16 then change NODE_MAJOR=16.
step 3 : Run Update and Install
sudo apt-get update
sudo apt-get install nodejs -y
congratulations you just installed nodejs
To uninstall nodejs
sudo apt-get purge nodejs &&\
rm -r /etc/apt/sources.list.d/nodesource.list &&\
rm -r /etc/apt/keyrings/nodesource.gpg
GeeksforGeeks
geeksforgeeks.org › installation guide › install-node-js-on-windows
How to Install Node.js on Windows: Top 4 Methods - GeeksforGeeks
August 25, 2025 - Either you can run the downloaded installer manually and follow the on-screen instructions or run the following command in CMD or PowerShell: ... Note: You can also specify the node.js version by using "nvm install 14.17.6" or you can choose any installed version as a default by using "nvm use 14.17.3"
Node.js
nodejs.org › en › blog › release › v18.16.1
Node.js — Node.js v18.16.1 (LTS)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 9473b9a1224da16e376c3c8a7ee58cc1d0b76c7ec4caa98bf5fdc35bfe039935 node-v18.16.1-aix-ppc64.tar.gz 2ccb24e9211f4d17d8d8cfc0ea521198bb6a54e2f779f8feda952dbd3bb651ac node-v18.16.1-darwin-arm64.tar.gz fcdcc60732c0c9495ff3a156adec35107f69840fc664138318c5757704f2a8a9 node-v18.16.1-darwin-arm64.tar.xz 3040210287a0b8d05af49f57de191afa783e497abbb10c340bae9158cb51fdd4 node-v18.16.1-darwin-x64.tar.gz 4e2dba5746803c2f1bc32ffb9b0b671cc5efde641b45fae21044cae02418c7e1 node-v18.16.1-darwin-x64.tar.xz 8c72f0861237731a3e292a4be2b6a5b3c0f5114afe3a3a02b5fad35d7b3b2cc2
Node.js
nodejs.org › en › blog › release › v18.20.4
Node.js — Node.js v18.20.4 (LTS)
July 8, 2024 - Windows 32-bit Installer: https://nodejs.org/dist/v18.20.4/node-v18.20.4-x86.msi Windows 64-bit Installer: https://nodejs.org/dist/v18.20.4/node-v18.20.4-x64.msi Windows 32-bit Binary: https://nodejs.org/dist/v18.20.4/win-x86/node.exe Windows 64-bit Binary: https://nodejs.org/dist/v18.20.4/win-x64/node.exe macOS 64-bit Installer: https://nodejs.org/dist/v18.20.4/node-v18.20.4.pkg macOS Apple Silicon 64-bit Binary: https://nodejs.org/dist/v18.20.4/node-v18.20.4-darwin-arm64.tar.gz macOS Intel 64-bit Binary: https://nodejs.org/dist/v18.20.4/node-v18.20.4-darwin-x64.tar.gz Linux 64-bit Binary: ht
Node.js
nodejs.org › download › release › v18.20.8
Index of /download/release/latest-v18.x/
../ docs/ - - win-x64/ - - win-x86/ ...-linux-x64.tar.gz 27-Mar-2025 13:08 44 MB node-v18.20.8-linux-x64.tar.xz 27-Mar-2025 13:08 24 MB node-v18.20.8-win-x64.7z 27-Mar-2025 13:08 18 MB node-v18.20.8-win-x64.zip 27-Mar-2025 13:08 29 MB node-v18.20.8-win-x86.7z 27-Mar-2025 13:08 17 ...
Docker
hub.docker.com › _ › node
node - Official Image | Docker Hub
Node.js applications are written in JavaScript and can be run within the Node.js runtime on Mac OS X, Windows, and Linux without changes.
Node.js
nodejs.org › download › release › v20.18.0
Index of /download/release/v20.18.0/
../ docs/ - - win-arm64/ - - win-x64/ - - win-x86/ - - SHASUMS256.txt.asc 04-Nov-2024 17:34 4.7 KB SHASUMS256.txt.sig 04-Nov-2024 17:34 566 B SHASUMS256.txt 30-Oct-2024 18:06 3.8 KB node-v20.18.0-aix-ppc64.tar.gz 30-Oct-2024 18:06 60 MB node-v20.18.0-arm64.msi 30-Oct-2024 18:06 24 MB node-v20.18.0-darwin-arm64.tar.gz 30-Oct-2024 18:06 42 MB node-v20.18.0-darwin-arm64.tar.xz 30-Oct-2024 18:06 22 MB node-v20.18.0-darwin-x64.tar.gz 30-Oct-2024 18:06 44 MB node-v20.18.0-darwin-x64.tar.xz 30-Oct-2024 18:06 24 MB node-v20.18.0-headers.tar.gz 30-Oct-2024 18:06 8.8 MB node-v20.18.0-headers.tar.xz 30-O
Microsoft Learn
learn.microsoft.com › en-us › windows › dev-environment › javascript › nodejs-on-windows
Set up Node.js on native Windows | Microsoft Learn
Download Microsoft Edge More info about Internet Explorer and Microsoft Edge ... Access to this page requires authorization. You can try signing in or changing directories. Access to this page requires authorization. You can try changing directories. ... This guide will help you to install Node.js in a Windows development environment.
IBM
ibm.com › docs › en › z-chatops › 1.1.3
Installing Node.js
This step is required for native installation only. To install Node.js, you must download the installation binary, unpack it to your installation folder, set the system environment variable and make it effective.
endoflife.date
endoflife.date › nodejs
Node.js | endoflife.date
2 weeks ago - Major Node.js versions enter Current release status for six months, which gives library authors time to add support for them. After six months, odd-numbered releases (9, 11, etc.) become unsupported, and even-numbered releases (10, 12, etc.) move to Active LTS status and are ready for general use.