0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools/upgrade-npm.sh
2014-09-24 17:15:10 -07:00

8 lines
128 B
Bash
Executable File

#!/bin/bash
set -xe
rm -rf deps/npm
(cd deps && curl https://registry.npmjs.org/npm/-/npm-$1.tgz | tar xz && mv package npm)