Skip to content

Instantly share code, notes, and snippets.

@claudioovp
Created July 28, 2021 12:15
Show Gist options
  • Save claudioovp/d6b019c86d61b945ca95b5be49ddcc2d to your computer and use it in GitHub Desktop.
Save claudioovp/d6b019c86d61b945ca95b5be49ddcc2d to your computer and use it in GitHub Desktop.
Volta to install and manage Node / Yarn / Npm versions

Volta

Para instalar node y manejar versiones, es crossplatform funciona en windows/linux/mac

(Getting started)[https://docs.volta.sh/guide/getting-started]

# Install latest LTS release
volta install node

# Install specific version
volta install node@12
volta install node@12.2.0

# NPM o Yarn
volta install npm
volta install yarn

# FETCH - fetch tool locally without setting it as default
volta fetch surge

Para cambiar y setear versiones especificas en un proyecto

volta pin node@12
volta pin node@12.2.0

https://docs.volta.sh/reference/

Uninstall previous Node installations

https://stackoverflow.com/questions/20711240/how-to-completely-remove-node-js-from-windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment