UNPKG

240 Bapplication/x-shView Raw
1#!/bin/sh
2
3# should already be in 8.x with 10.0, but to be safe
4sudo rm -r /etc/apt/sources.list.d/nodesource.list
5curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
6# force update to node >= 8.3
7sudo apt-get install -y nodejs