different versions of eb cli if running under super user

54 Views Asked by At

If I run in the shell (Ubuntu):

sudo eb --version

I get

EB CLI 3.4.5 (Python 2.7.6) 

However, if I run

eb --version

I get

AWS Elastic Beanstalk Command Line Interface v2.6.3

I wonder why it happens?

0

There are 0 best solutions below