VP of DevRel RapidAPI ❯ Award-winning Web Developer NodeCLI.com ❯ Google Dev Expert Web tech ❯ 2x GitHub Stars Award ❯ WordPress Core Dev ❯ TEDx Speaker ❯ "awesome example for devs" — Satya Nadella
Location
San Francisco Bay Area
Education
EE-CS Engineer turned Software Developer
Work
VP of DevRel (DX Eng., Content & Community) RapidAPI ❯ Google Dev Expert ❯ GitHub Star ❯ NodeCLI.com
I experimented with this a couple months back while I was doing a fresh install.
nvm will slow down zsh if you're using the nvm plugin, this is unfortunately true. . So will many other plugins if you let them run; you can bog down your shell real fast with plugins. You can also choose to still use nvm and drop zsh plugin support by modifying your .zshrc. Disabling the plugin will require you to manually set your node version upon changing directories though. So you will have to choose which convince you prefer. I still recommend using nvm though.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Let me reiterate that. When I said
Terminal
I said the shell environment that gets loaded via your Terminal app.I use Zsh, so if you do as well then you can put this at the top of your
.zshrc
fileand this at the very bottom of the same file.
Now when you reload your shell — Zsh will profile it's startup time.
And you'll end up on issues with hundreds of other developers talking about how slow
nvm
is and all the suggested solutions are just super hacky.github.com/creationix/nvm/issues/1277
github.com/creationix/nvm/issues/782
So, it's not about the OS, it's
nvm
.Peace! ✌️
I experimented with this a couple months back while I was doing a fresh install.
nvm will slow down zsh if you're using the nvm plugin, this is unfortunately true. . So will many other plugins if you let them run; you can bog down your shell real fast with plugins. You can also choose to still use nvm and drop zsh plugin support by modifying your
.zshrc
. Disabling the plugin will require you to manually set your node version upon changing directories though. So you will have to choose which convince you prefer. I still recommend using nvm though.