nvm
nvm copied to clipboard
I use `nvm set-colors cgYmW` set color. when I open iterm2 next. color reset to default
Operating system and version:
nvm debug output:
nvm ls output:
How did you install nvm?
What steps did you perform?
What happened?
What did you expect to happen?
Is there anything in any of your profile files that modifies the PATH?
If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?
nvm set-colors sets an environment variable, so if you want it to persist you need to add it into your shell profile file.
Hi @m5ultra, as @ljharb mentioned, try adding the colors to your computer's shell profile file. For example, if you are using a mac and it uses zsh, in the .zshrc file, you can add the following line:
export NVM_COLORS='cgYmW'
Save the change, and when you open a new iTerm2 window and run nvm ls, it should output with the colors you set