Skip to content

Instantly share code, notes, and snippets.

@pylover
Created August 2, 2021 19:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 git@github.com: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