Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install heroku toolbelt using Cygwin

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.

like image 222
Tm9hbQn Avatar asked Jun 27 '13 11:06

Tm9hbQn


People also ask

What is heroku toolbelt?

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.

How do you check if heroku CLI is installed?

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.


1 Answers

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'
like image 169
radix07 Avatar answered Sep 28 '22 16:09

radix07