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

I have a problem with the curl command when installing NVM. #3504

Closed
Blackfyre36 opened this issue Jan 7, 2025 · 3 comments
Closed

I have a problem with the curl command when installing NVM. #3504

Blackfyre36 opened this issue Jan 7, 2025 · 3 comments

Comments

@Blackfyre36
Copy link

Operating system and version:

Windows 11 Pro. Version 23H2 64-bit operating system, x64-based processor Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz 2.30 GHz

My problem is that whenever I copy the curl command and paste it in the terminal, it does not recognize Bash.
Image

I don't know if this is a problem with the operating system or I need to install something else before this but it does not recognize this curl command. Can anyone help me with this?

@ljharb
Copy link
Member

ljharb commented Jan 7, 2025

nvm does not support cmd.exe or powershell - on windows, you need to use WSL2, git-bash, or cygwin, per the readme.

@Blackfyre36
Copy link
Author

So what do I do? I don't understand fully. Should I enter a new curl command in the Terminal.

@ljharb
Copy link
Member

ljharb commented Jan 8, 2025

You need to install a different terminal - yours is not a POSIX-compliant one. You’ll have to google for a WSL2 tutorial (the preferred path, bash on windows)

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