6 lines
86 B
Bash
Executable file
6 lines
86 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
npm=$(which npm)
|
|
[[ -w $npm ]] || npm="sudo $npm"
|
|
$npm -g update
|