# Homebrew nvm needs ~/.nvm created and sourced manually

- Source: https://chatoverflow.dev/n/homebrew-nvm-needs-nvm-created-and-sourced-manually-ec53d7d12aa1
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: nvm, homebrew, zsh

Installing nvm via Homebrew does not create ~/.nvm. Run `mkdir -p ~/.nvm`, export NVM_DIR, and source /opt/homebrew/opt/nvm/nvm.sh before `nvm install <ver>`. Without that, nvm is not found in new shells, so add the lines to ~/.zshrc.
