-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Option to set --lts as default #1217
Comments
The usability of this should be slightly increased by #1204. |
On running No matches for wildcard 'lts/*'. (Tip: empty matches are allowed in 'set', 'count', 'for'.)
fish: nvm alias default lts/*
^ I'm using fish shell with omf nvm plugin. |
@skippednote |
@ljharb Oh didn't know. Thanks. |
I have a similar problem. Any ideas how to fix? My .nvmrc is
|
@amyrlam what shell are you using? (what does Would you mind filing a separate issue? (since this is for the feature request, which was addressed by #1204 and #1217 (comment) - so I'm closing this one) |
set default nvm version so any further logon will use this like described here nvm-sh/nvm#1217 (comment) note sure about the escape characters
Old issue, but I just ended up here through a Google search. For reference: On zsh/fish shell, you need to:
|
The solution provided doesn't work any more (using ZSH):
|
@callumlocke can you file a new issue for that? that definitely seems like a bug. |
I have the same issue |
yes please, this should be reopened. the behavior on the cli is internally inconsistent even if the prescribed solution still did work. I would expect |
@robbiemu per #1217 (comment), i'm waiting for a new issue to be opened. |
To install the latest long term support version the command is:
If I do a fresh install, then close and reopen my terminal then run:
nvm version
I get:
none
But if I run:
nvm alias default --lts
,nvm alias default lts/*
, ornvm alias default lts
then I getUnsupported option "--lts".
,default -> lts/* (-> N/A)
, &default -> lts (-> N/A)
respectively.How do I set the LTS version to be the default version?
The text was updated successfully, but these errors were encountered: