2016-11-28 01:36:46 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
sudo apt-get update -qq
|
2020-02-04 03:31:57 +08:00
|
|
|
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
|
2016-11-28 01:36:46 +08:00
|
|
|
sudo apt-get install -qq nodejs
|
2017-02-19 13:19:56 +08:00
|
|
|
node --version
|