Skip to content

Commit 2c1c2d5

Browse files
committed
install Yarn
1 parent 28d4fce commit 2c1c2d5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bootstrap.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ mkswap /swapfile
1414
swapon /swapfile
1515
echo '/swapfile none swap defaults 0 0' >> /etc/fstab
1616

17+
# Prevents "Warning: apt-key output should not be parsed (stdout is not a terminal)".
18+
export APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1
19+
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo -E apt-key add -
20+
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
21+
1722
echo updating package information
1823
apt-get -y update >/dev/null 2>&1
1924

@@ -53,6 +58,7 @@ SQL
5358
install 'Nokogiri dependencies' libxml2 libxml2-dev libxslt1-dev
5459
install 'Blade dependencies' libncurses5-dev
5560
install 'ExecJS runtime' nodejs
61+
install 'Yarn' yarn
5662

5763
# To generate guides in Kindle format.
5864
install 'ImageMagick' imagemagick

0 commit comments

Comments
 (0)