Skip to content

Instantly share code, notes, and snippets.

@pylover
Created August 2, 2021 19:24
Show Gist options
  • Save pylover/e93fcc8d76d4dd031473b87c6a23d525 to your computer and use it in GitHub Desktop.
Save pylover/e93fcc8d76d4dd031473b87c6a23d525 to your computer and use it in GitHub Desktop.
Install nodejs from source on FreeBsd
#! /usr/bin/env bash
# Prerequicites
pkg install gcc openssl-devel
# Clone the source
git clone [email protected]:nodejs/node.git -b v16.x --depth 1
# Configure and Build
cd node
./configure
make
# Install
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment