Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nvm slow down Msys2 #3425

Open
TLmaK0 opened this issue Sep 14, 2024 · 1 comment
Open

Nvm slow down Msys2 #3425

TLmaK0 opened this issue Sep 14, 2024 · 1 comment

Comments

@TLmaK0
Copy link

TLmaK0 commented Sep 14, 2024

After installing nvm in a Msys2 environment, msys takes more than 10 seconds to start. After remove nvm from .bash_profile, Msys works again as expected. Fnm works without problems.

How to reproduce:

Install Msys2 in windows https://www.msys2.org/wiki/MSYS2-installation/

Try to install nvm with curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

Use pacman -S to install required packages.

Try again to install nvm.

Close Msys2 and open again a Msys2 command line. It takes a lot of seconds now.
Remove nvm from ~/.bash_profile
Close Msys2 and open again. Now Msys works correctly.

@ljharb
Copy link
Member

ljharb commented Oct 11, 2024

I assume that if you nvm unalias default, it gets fast again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants