instalace nvm

This commit is contained in:
lachtan
2026-06-03 15:56:57 +02:00
parent ecd84a2067
commit 44ee29aefc

View File

@@ -3,8 +3,13 @@
# https://github.com/nvm-sh/nvm
set -E -o errexit -o nounset -o pipefail
set -x
if ! can_run nvm; then
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source "$LWS/rc/nvm.sh"
fi
if ! can_run node; then
nvm install node
nvm use node
fi