...
Note |
---|
You must have installed JDK before proceeding with this section. |
To install Ant, perform the following steps:
- Open Terminal.
At the command prompt, enter the command as shown in the following screenshot:
The script installs Homebrew. The installation might prompt you to press Enter to continue.
The installation might prompt you for a password. Enter your system login password and press Enter to continue.
...
Tip The cursor at the command prompt is not displayed when you type the password. Hence, ensure that you type the password correctly. If in doubt, press Delete several times and retype the password.
Once you provide the password, Homebrew is installed completely.After Homebrew installation is complete, enter the following command:
Code Block language bash $ brew update
Enter the following command:
Code Block language bash $ brew install ant
The Ant tool gets installed.To check the version of Ant installed, enter the following command:
Code Block language bash $ ant –version
The installed version of Ant is displayed.- Perform any of the following steps:
- To install software for creating hybrid iOS apps, continue with the Additional Installation for iOS Packaging section.
- To install software for creating hybrid Android apps, continue with the Additional Installation for Android Packaging section.
...