Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 863 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 863 Bytes

ei-node-build

ei-node-build provides Custom Build Definitions for Node.js 18+ binaries built on Amazon Linux2.

The Node.js 18+ pre-built binaries provided at nodejs.org are built on Red Hat Enterprise Linux (RHEL) 8 and are compatible with Linux distributions based on glibc 2.28 or later. So those binaries cannot be run on glibc 2.26 such as Amazon Linux2. This repository provides binaries for Node.js 18 or higher built on Amazon Linux2.

Installation

$ mkdir -p "$(nodenv root)"/plugins
$ git clone https://github.com/elastic-infra/ei-node-build.git "$(nodenv root)"/plugins/ei-node-build

Upgrading

$ git -C "$(nodenv root)"/plugins/ei-node-build pull

Usage

Basic Usage

$ nodenv install 18.0.0 # installs Node 18.0.0 to ~/.nodenv/versions