Question

First I'd like to ask for your mercy for my poor English, its not my first language.

I'm starting a new course on Coursera, and the first lecture is all about how to connect to some cloud services which we will be working on during class.

I have an AWS account (which I'm connected to on Cygwin when writing the following commands), heroku & github as well.

We are using Cygwin (for Win 7 OS) and I was asked to install these two packages using the following commands:

sudo apt-get install -y git-core
wget -qo- https://toolbelt.heroku.com/install-ubuntu.sh | sh

The first one installed smoothley, no problems along the way and when I wrote "which git" it returned a path.

When I wrote the second command it returned nothing... I tried many things and nothing worked.

What can I do in order to install the Heroku Toolbelt?

BTW: I have downloaded it by myself from the Heroku official site, but couldn't figure out how to relate it to my AWS so it will be aware for its existance on my computer.

Was it helpful?

Solution

tomedemuyt gave a real answer to this question in one of the comments, but building on that, just add this to your .bashrc file and it will work just the same:

alias heroku='heroku.bat'

OTHER TIPS

Hm, if you're in Windows, it might work better to just install the Heroku toolbelt for Windows. I believe it packages cygwin and msysgit.

You've got a typo in the -q option to wget. You've used a lowercase o and you need the digit 0. This causes wget not to output anything, so the pipe to sh is blank and nothing runs.

wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top