Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing the Treehouse VM on Mac

Installing On terminal

When installing such as vagrant onto my computer I type in vagrant -v which provides me with the information of too wether or not vagrant is installed but how do I get more information as to in which directory and more of a particular install through the command line??

Tabatha Trahan
Tabatha Trahan
21,422 Points

-v will show you the version if you have it installed, and if you use the 'which' command followed by the file or directory you are looking for, the path will be returned.

Brandon McClelland
Brandon McClelland
4,645 Points

Using the 'whereis' command will show you all the paths that contain that command. The 'which' command will tell you which of the paths the OS will actually use if you type that command at the prompt. Both are useful in figuring out which versions are installed and which version will actually be used since you could have multiple versions installed.