Xcode: Command not found

Viewed 5433

I have installed Xcode on my MacBook.

I checked that I have the XCode command line tool also installed as shown below:

enter image description here

I need to use Xcode command to install some dependencies, so I opened my terminal and run the command:

enter image description here

But I get Xcode: Command not found error. Why? How to get rid of this issue?

1 Answers

Okk, if you're trying to install the AWS ELastic beanstalk CLI (you're coming from EB CLI Installer on Github here)

then the line Xcode openssl zlib readline refers to all the packages that are prerequisites to the installation and not a command that you should run.

In short use:

brew install openssl
brew install zlib
brew install readline

And make sure Xcode is installed through which g++ if you get /usr/bin/g++ you're all set and you can proceed to the following steps

Related