Install git on Amazon EC2 Installing CLI gems will be through yum, so for the case of the git it will be: sudo yum install git