Skip to content

Instantly share code, notes, and snippets.

@aBoredDev
aBoredDev / install_mineos-node
Last active March 9, 2020 18:02 — forked from hexparrot/install_mineos-node
Downloads, installs and configures components required for the MineOS Web User Interface on apt-get based systems.
#!/bin/sh
# checks for root or exits gracefully - thanks @manuee
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
# update repositories
curl -sL https://deb.nodesource.com/setup_10.x | bash -