Skip to content

Instantly share code, notes, and snippets.

@pH-7
Last active January 25, 2025 06:16
Show Gist options
  • Save pH-7/d835db621b58bda5be6405ae5b193048 to your computer and use it in GitHub Desktop.
Save pH-7/d835db621b58bda5be6405ae5b193048 to your computer and use it in GitHub Desktop.
Add Volta in your Linux/Mac ~/.zshrc or ~/.bashrc file - (not maintained anymore) New updates are now happening in https://github.com/pH-7/dotfiles/
# To add in your ~/.zshrc or ~/.bashrc file
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
@pH-7
Copy link
Author

pH-7 commented May 30, 2023

Recently, I got an issue when onboarding a colleague where Volta didn't add automatically to the bash configuration file (.bashrc) during the installation. You can then add it manually in your ~/.zshrc (if you use Zsh) or in ~/.bashrc if you use the normal default bash.

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