Spaces:
Runtime error
Runtime error
Download install_node.sh from sanjay920/rubra-v0.1-function-calling: direct link, hf CLI and curl.
- Browser
- Download file 547 Bytes
-
https://huggingface.co/spaces/sanjay920/rubra-v0.1-function-calling/resolve/main/install_node.sh
- Command line
-
hf download hf://spaces/sanjay920/rubra-v0.1-function-calling/install_node.sh
-
curl -L -o install_node.sh https://huggingface.co/spaces/sanjay920/rubra-v0.1-function-calling/resolve/main/install_node.sh
547 Bytes
| # installs nvm (Node Version Manager) | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | |
| source ~/.nvm/nvm.sh | |
| # download and install Node.js (you may need to restart the terminal) | |
| nvm install 20 | |
| # verifies the right Node.js version is in the environment | |
| ~/.nvm/versions/node/v20.15.0/bin/node -v # should print `v20.15.0` | |
| # verifies the right NPM version is in the environment | |
| ~/.nvm/versions/node/v20.15.0/bin/npm -v # should print `10.7.0` | |
| ~/.nvm/versions/node/v20.15.0/bin/npm install jsonrepair -g |