Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,410 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.