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

How can I set an installed version to system version? #1108

Closed
fadeaway1680 opened this issue Apr 9, 2024 · 2 comments
Closed

How can I set an installed version to system version? #1108

fadeaway1680 opened this issue Apr 9, 2024 · 2 comments

Comments

@fadeaway1680
Copy link

fadeaway1680 commented Apr 9, 2024

How did you install fnm?

  • Manually using a release binary (Windows)

What happened?

  1. I didn't have any node versions before.
  2. After installing fnm and installing some versions of node, I run node -v and it works.
  3. But when I run fnm use system, node -v didn't works.

It seems like it's because I didn't install node beside fnm. Should I have to?

What did you expect to happen?

  • I was wondering if it's possible to set the node version that installed by fnm to the systemnode version.
  • Better through the command line.
@cow1337killer3
Copy link

cow1337killer3 commented May 23, 2024

Wondering this too... I uninstalled my previous Node version because this thing is supposed to be managing all of them, just wasted like 3 hours trying to figure out why my npm packages weren't being discovered... why would I want a manager that can't manage the main installation?

@Schniz
Copy link
Owner

Schniz commented May 23, 2024

fnm use system is not "an fnm-installed version as the system version", but it is basically "bypass fnm so I use whatever is already installed on the system". I personally never use it. The "main installation" is the default fnm version: fnm default 20 for instance.

@Schniz Schniz closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants