This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # NOTE: The commands here only applicable for Ubuntu 16.04 Xenial, do not use it for other distros | |
| # Update server to latest packages | |
| sudo apt update && sudo apt upgrade -y | |
| # Install latest NodeJS LTS | |
| curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - | |
| sudo apt install -y nodejs |