Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Silence nvm #141

jacobrask opened this Issue · 6 comments

5 participants


The fact that nvm outputs Now using Node <version> every time I start bash breaks things like using my server as a git remote. I get the error fatal: protocol error: bad line length character: Now.

Could there be a silent option somehow, or could nvm be silent by default?


It sounds like you're sourcing it from .bash_profile, which executes for non-interactive shells as well. Try moving it to .bashrc?

You could also try sending the output to /dev/null, with something like . ~/nvm/ > /dev/null


This seems closeable.

@ljharb ljharb closed this

Hi! I just installed nvm, then added nvm use default at the end of my ~/.zshrc, and it still echoes "Now using node ..." every time I open a new shell.

Is removing it manually is the only solution?



@k-bx You shouldn't need to add that yourself - please make sure you've installed the latest version of nvm, as ensures it silently uses the default whenever nvm is sourced. You can also create a .nvmrc file in your user dir.


@ljharb Ah, I got it. What I did wrong was probably misreading the docs.

At the end I had "nvm use default" at the end of my zshrc, but now I see if you have default it will be activated by itself and silently.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.