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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias support #29

Closed
Schniz opened this issue Feb 12, 2019 · 4 comments
Closed

Alias support #29

Schniz opened this issue Feb 12, 2019 · 4 comments

Comments

@Schniz
Copy link
Owner

Schniz commented Feb 12, 2019

fnm alias v8.11.3 my-name

fnm use my-name # like `fnm alias v8.11.3`

After that, we can make #6 happen (by having an alias of system to the system's node 馃槃)

@CWSpear
Copy link

CWSpear commented Feb 13, 2019

This is all inter-related. You can't fnm install node or fnm install lts/carbon, which is literally the only types of things I use nvm for. :) It appears to only support explicit versions at the moment (tho looks like this is all on the roadmap on the README).

@Schniz Schniz closed this as completed in 05e27c6 Feb 14, 2019
@Schniz
Copy link
Owner Author

Schniz commented Feb 14, 2019

@CWSpear, hey and sorry about that. Internally, fnm just looks at the directory listing of https://nodejs.org/dist - so if you want to keep your current workflow, just use the following names:

  • nvm install node => fnm install latest
  • nvm install lts/carbon => fnm install latest-carbon

both should work 馃槃

@CWSpear
Copy link

CWSpear commented Feb 14, 2019

We use lts/carbon in our .nvmrc. So it'll only work if it's latest-carbon? It's not something I can change cuz it's a large project.

@Schniz
Copy link
Owner Author

Schniz commented Feb 15, 2019

We use lts/carbon in our .nvmrc. So it'll only work if it's latest-carbon? It's not something I can change cuz it's a large project.

@CWSpear we can add a PR that formats lts/VERSION as latest-VERSION 馃槂

Sent with GitHawk

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

2 participants