-
Notifications
You must be signed in to change notification settings - Fork 74
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
Listing installed node versions #103
Comments
I too would like to have the ability to just see installed versions when using nvm ls. I don't need to see every single version of node that's available. |
This works: ls ~/.config/nvm| awk /[0-9]/ We could also define ls $config_nvm | awk /[0-9]/ ...which you may consider a slight improvement. Why isn't there a formal way to do this with fish-nvm out of the box? Because fish-nvm doesn't have this notion of "installed" & "installable" versions. I just don't care what versions I've already downloaded. And that's why there's no I prefer the simple approach taken here, but I understand that there are cons to this approach, e.g., not everyone has a consistently fast internet connection. Does that make sense to you @rwwagner90 @JGJP? |
To me it feels like trying to reinvent something that's already established, I think I'm probably not the only one that came from regular nvm and had to change my mode of thinking. The regular expressions are quite tedious to type and I can't filter the results by LTS. Maybe you can create a flag that gives this full output? Across all CLIs |
And what's wrong with that? I built this for fun, and because I couldn't be bothered to learn the original nvm completely, so it shouldn't come as a surprise that nvm and fish-nvm work differently. I didn't intend feature parity and I still don't.
That wouldn't be hard to do, but it would be inconsistent with the project. fish-nvm doesn't have this notion of "installed" vs "installable" versions. Having said that, consider creating a fish abbreviation.
There isn't currently a way to filter the results to LTS releases only, but you can filter some of the output. Now, may I ask why you want to list the available LTS versions when you can just |
Your docs show that there is an lts for each named version of Node, some projects won't build on the current lts, and just picking a version number to install feels arbitrary. I'm ok with just accessing the regular nvm via another means that is not |
There’s 5 LTS streams currently, and a 6th comes out in October; “LTS” isn’t a single thing. |
Is there a way to list node versions? In normal nvm
nvm ls
typically lists the installed node versions and you are able to find and delete ones you no longer want. Is there an equivalent here?The text was updated successfully, but these errors were encountered: