I'm a self-taught dev focused on websites and Python development.
My friends call me the "Data Genie".
When I get bored, I find tech to read about, write about and build things with.
I never really noticed that load time for NVM. The half a second it would take on my machine didn't bother me but I decided to look into it.
When you source nvm, you can add --no-use to it. no-use documentation
This will then prevent nvm from sourcing node until you run nvm use.
This should pretty much source the nvm script instantly now.
I'm a self-taught dev focused on websites and Python development.
My friends call me the "Data Genie".
When I get bored, I find tech to read about, write about and build things with.
Also you can lock an apt package version. Today I learned!
askubuntu.com/questions/18654/how-...
I never really noticed that load time for NVM. The half a second it would take on my machine didn't bother me but I decided to look into it.
When you source nvm, you can add
--no-useto it.no-use documentation
This will then prevent nvm from sourcing node until you run
nvm use.This should pretty much source the nvm script instantly now.
Thanks for sharing.
Works for me.