Welcome to mirror list, hosted at ThFree Co, Russian Federation.

install.sh « scripts - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 279dda21565e8c9154fa87dd10123042c0bc65b1 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
r=$RANDOM
mkdir npm-$r \
  && cd npm-$r \
  && curl -L http://github.com/isaacs/npm/tarball/master | tar xzf - --strip-components=1 \
  && make uninstall install \
  && cd .. \
  && rm -rf npm-$r \
  && echo "It worked"