From cf0b49fc07a55639fb9696ed3b93f6ec878d15cc Mon Sep 17 00:00:00 2001 From: Jarli01 Date: Tue, 7 Mar 2017 07:31:55 -0500 Subject: [PATCH] Update xo_install.sh --- xo_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xo_install.sh b/xo_install.sh index 9b52ad3..dcbc442 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -4,7 +4,8 @@ cd /opt curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list -sudo apt-get install --yes nodejs +sudo apt-get update +sudo apt-get install --yes nodejs yarn curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n sudo chmod +x /usr/local/bin/n sudo n stable