Skip to content

Commit

Permalink
node installer
Browse files Browse the repository at this point in the history
  • Loading branch information
subinps authored Jan 8, 2022
1 parent 54f7150 commit 9c40096
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install_node.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
echo "deb https://deb.nodesource.com/node_16.x buster main" > /etc/apt/sources.list.d/nodesource.list && \
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \
wget -qO- https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
apt-get update && \
apt-get install -yqq nodejs yarn && \
pip install -U pip && pip install pipenv && \
npm i -g npm@^7 && \
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python && ln -s /root/.poetry/bin/poetry /usr/local/bin && \
rm -rf /var/lib/apt/lists/*

0 comments on commit 9c40096

Please sign in to comment.