Skip to content

NVM is slow (> 650ms) #1242

@mkscrg

Description

@mkscrg

I find myself running nvm unalias default after every nvm install, since it makes new shell creation so much faster. Here it is, with time source ~/.nvm/nvm.sh in ~/.bash_profile:

After nvm alias default node:
nvm_slow

After nvm unalias default:
nvm_fast

I spend enough time away from Node (and enough time in the shell) that remembering to nvm use is worth the hassle.

If an intrepid contributor wanted to make NVM faster, where might they start?

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceThis relates to anything regarding the speed of using nvm.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions