helm/dev/js/update

6 lines
86 B
Plaintext
Raw Normal View History

2017-04-03 19:04:35 -07:00
#!/usr/bin/env bash
npm=$(which npm)
[[ -w $npm ]] || npm="sudo $npm"
$npm -g update