Giter Site home page Giter Site logo

nvm ls installed? about nvm HOT 11 CLOSED

 avatar commented on May 7, 2024
nvm ls installed?

from nvm.

Comments (11)

nevir avatar nevir commented on May 7, 2024

nvm ls shows you which versions are installed (they're highlighted as a different color, if you nvm sync'd and have a ton of versions)

from nvm.

 avatar commented on May 7, 2024

:-(... not getting any colors

$ nvm ls
v0.1.100 v0.1.14 v0.1.19 v0.1.24 v0.1.29 v0.1.90 v0.1.95 v0.2.0 v0.2.5 v0.3.3 v0.3.8 v0.4.11 v0.4.6 v0.5.0
v0.1.101 v0.1.15 v0.1.20 v0.1.25 v0.1.30 v0.1.91 v0.1.96 v0.2.1 v0.2.6 v0.3.4 v0.4 v0.4.2 v0.4.7 v0.5.1
v0.1.102 v0.1.16 v0.1.21 v0.1.26 v0.1.31 v0.1.92 v0.1.97 v0.2.2 v0.3.0 v0.3.5 v0.4.0 v0.4.3 v0.4.8 v0.5.2
v0.1.103 v0.1.17 v0.1.22 v0.1.27 v0.1.32 v0.1.93 v0.1.98 v0.2.3 v0.3.1 v0.3.6 v0.4.1 v0.4.4 v0.4.8-rc v0.5.3
v0.1.104 v0.1.18 v0.1.23 v0.1.28 v0.1.33 v0.1.94 v0.1.99 v0.2.4 v0.3.2 v0.3.7 v0.4.10 v0.4.5 v0.4.9 v0.5.4
stable: v0.4.11
latest: v0.5.4
current: v0.4.10

If it helps, I'm using Ubuntu Natty.

from nvm.

nevir avatar nevir commented on May 7, 2024

Ahh, so, nvm ls is just piping through colors from the shell's ls command. As a hack for now, try exporting export CLICOLOR=1 and see if that helps

from nvm.

nevir avatar nevir commented on May 7, 2024

Even better! Here's a patch that supports nvm ls installed: #63

from nvm.

 avatar commented on May 7, 2024

:-( doesn't look like export CLICOLOR=1 is working. My ls does show colors already though. Is it a Mac OS X thing?

from nvm.

nevir avatar nevir commented on May 7, 2024

If you want to try out my patch, give this a go (assuming you installed nvm to ~/.nvm):

cd ~/.nvm
git remote add nevir https://github.com/nevir/nvm/
git fetch nevir
git checkout features/ls-installed

Then, open up a new terminal and try out nvm ls installed

To switch back to the official version of nvm, just cd ~/.nvm && git checkout master

from nvm.

 avatar commented on May 7, 2024

hey thanks for that nevir, I was thinking of asking but didn't want to sound like a total n00b - will try later at home.

Chris

from nvm.

goatslacker avatar goatslacker commented on May 7, 2024

Here you go: http://kitara.nl/2011/06/12/test-your-console-if-it-can-display-256-colors-with-perl/

Check if your terminal supports colors.

from nvm.

 avatar commented on May 7, 2024

hi nevir, just tried it and it works great thanks :-)

Should the issue be kept open (i.e. colors) ?

from nvm.

nevir avatar nevir commented on May 7, 2024

I'd keep it open until @creationix decides whether my patch is the right way to go - there could be better ways of tackling it :)

from nvm.

ljharb avatar ljharb commented on May 7, 2024

Closing since #63 is closed.

from nvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.