How can I find my Phusion Passenger version? is there a command i can run from the terminal?
            Asked
            
        
        
            Active
            
        
            Viewed 2.3k times
        
    4 Answers
49
            
            
        You can use the following command to find out the current version:
passenger -v
        Matt
        
- 17,290
 - 7
 - 57
 - 71
 
- 
                    1You can find where your passenger command is stored, as it might not be in your path, by doing: `gem contents passenger | grep passenger$` – tadman Nov 17 '11 at 22:03
 - 
                    It says: `cannot load such file -- phusion_passenger`. I installed `passenger` from [official repository](https://oss-binaries.phusionpassenger.com/apt/passenger/). – x-yuri Aug 21 '14 at 15:29
 - 
                    Additional note, this command only works in the repository where you have installed passenger if passenger is not globally installed. – abhijeetps Feb 12 '20 at 06:23
 
25
            locate passenger-config
/path/to/passenger-config --version
Or try searching your system's package manager if Passenger was installed from a package
        k107
        
- 15,882
 - 11
 - 61
 - 59
 
- 
                    It says: `cannot load such file -- phusion_passenger`. I installed `passenger` from [official repository](https://oss-binaries.phusionpassenger.com/apt/passenger/). – x-yuri Aug 21 '14 at 15:29
 
9
            
            
        If installed from apt-get, you can't get passenger -v from a command line, however you could get from package manager:
dpkg -l | grep passenger
Which will return something like:
ii  libapache2-mod-passenger      3.0.13debian-1  amd64  Rails and Rack support for Apache2
You can than grab the version number from this with your favourite regex command.
        Yule
        
- 9,668
 - 3
 - 51
 - 72