Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to get the ec2 command-line api work on my OS X 10.7.4 without much success. The commands are complaining about curl but it looks like curl is installed and is available. See below:

[$:local] ec2din
sanity-check:  Problems accessing AWS.  Is curl installed?
[$:local] curl
curl: try 'curl --help' or 'curl --manual' for more information
[$:local] which curl
curl is /opt/local/bin/curl
curl is /usr/bin/curl
curl is /opt/local/bin/curl
[$:local] ec2din --debug
--debug: mispelled meta parameter?
[$:local] ec2din -debug
-e: mispelled meta parameter?
[$:local] ec2dim --debug
--debug: mispelled meta parameter?

Any help is appreciated.

PS: I am using iTerm2.

share|improve this question
Do you have the environment variables EC2_CERT, EC2_PRIVATE_KEY and EC2_HOME defined? – Ian C. Oct 4 '12 at 21:18
yes, they are all defined. I have a similar setup working on a ubuntu machine. Just not working on my mac laptop. – Ketan Oct 5 '12 at 1:19
Can you add the output of ec2din --debug to your question? – Ian C. Oct 5 '12 at 13:23
Ok, added some debug commands to the question. Not sure if they'll help. – Ketan Oct 5 '12 at 15:31
Yea, not helpful. :) Where'd you get the ec2 commands from? Homebrew? Are you running the latest version? brew info ec2-api-tools will show you what you have and what the latest is if you installed with Homebrew. – Ian C. Oct 5 '12 at 15:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.