instalace nvm
This commit is contained in:
@@ -3,8 +3,13 @@
|
|||||||
# https://github.com/nvm-sh/nvm
|
# https://github.com/nvm-sh/nvm
|
||||||
|
|
||||||
set -E -o errexit -o nounset -o pipefail
|
set -E -o errexit -o nounset -o pipefail
|
||||||
set -x
|
|
||||||
|
|
||||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
if ! can_run nvm; then
|
||||||
nvm install node
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
||||||
nvm use node
|
source "$LWS/rc/nvm.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! can_run node; then
|
||||||
|
nvm install node
|
||||||
|
nvm use node
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user