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.
The Heroku Toolbelt is a package of the Heroku CLI, Foreman, and Git — all the tools you need to get started using Heroku at the command line. The Toolbelt is available as a native installer for OS X, Windows, and Debian/Ubuntu Linux. The Toolbelt has been available since last fall as part of our polyglot platform.
Open Command Prompt by right-clicking the Start Menu, choose Run, enter cmd and click OK. Now type heroku and press enter. If you receive a help message, heroku-cli was installed successfully.
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'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With