Run the following in your command-line:
$ brew tap luizalabs/homebrew-teresa-cli
$ brew install teresa
To be able to login, first you need to configure to use a cluster, eg:
$ teresa config set-cluster aws_staging --server staging.mydomain.com --current
$ teresa --help