All the versions on $PATH with "which"
Snippet
Posted by kitt at 19:04 on 30 July 2021
Where is the program I'm running located? Right, use which
.
But to see all of the different versions, use -a
.
$ which -a rails /Users/kitt/.rvm/gems/ruby-2.7.2/bin/rails /usr/bin/rails
Add new comment