diff --git a/install_node.sh b/install_node.sh new file mode 100644 index 00000000..b5a98b9f --- /dev/null +++ b/install_node.sh @@ -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/*