Saturday, December 22, 2018

Tools Setup on Mac System

This post contains the setup details of tools installation on Mac which require at the time of automation (Web, Mobile or API) configuration. This post covers following tools -
  • Java Installation
  • HomeBrew Installation
  • Maven Installation
  • Ant Installation
  • Node Installation
  • Appium Server Installation
  • Few more.....

Java Installation
-----------------------------------------------------------------------------------------------
1) Download Java installer (latest dmg file) from the site (https://www.oracle.com/technetwork/java/javase/downloads/index.html).
2) Double click on the dmg file. Get the below screen 

3) Double click on the pkg icon

4) Click on the Continue button

5) Click on the Install button and complete the installation


6) Click on Close button

7) Now set the path of JAVA_HOME in ~/.bash_profile file

8) Verify the installation


HomeBrew Installation
-------------------------------------------------------------------------------------------------------
1) Java should install on the system and JAVA_HOME path should be set
2) Open the terminal and execute below command - 
 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"



Maven Installation
-------------------------------------------------------------------------------------------------------
1) Java should install on the system and JAVA_HOME path should be set.
2) HomeBrew should install on the system. See “HomeBrew Installation” section for more details
3) Open terminal and execute below command - brew install maven

4) Verify the installation


Ant Installation
---------------------------------------------------------------------------------------------------------
1) Java should install on the system and JAVA_HOME path should be set.
2) HomeBrew should install on the system. See “HomeBrew Installation” section for more details
3) Open terminal and execute below command - brew install ant

4)Verify the installation


Node Installation
--------------------------------------------------------------------------------------------------------
1) Java should install on the system and JAVA_HOME path should be set.
2) HomeBrew should install on the system. See “HomeBrew Installation” section for more details
3) Open terminal and execute below command - brew install node

4) Verify the installation


Appium Server Installation
--------------------------------------------------------------------------------------------------------
      1) Node should install on the system. See “Node Installation” section for more details
2) Open terminal and execute below command - npm install -g appium

3) Appium installation starts
4) Verify the installation



Few More Mac Specific tools
--------------------------------------------------------------------------------------------------------
Pre-requisites –
------------------------------------------------------------------------------------------------------
Java should install on the system and JAVA_HOME path should be set.
HomeBrew should install on the system. See the section “HomeBrew Installation” for more details
--------------------------------------------------------------------------------------------------------
1) Install MongoDB Comminity Edition
1.a Execute the command – brew tap mongodb/brew

1.b Execute the command -  brew install mongodb-community@4.2

2) Install ideviceinstaller (Command – brew install ideviceinstaller)

3) Install ios_webkit_debug_proxy  (Command – brew install ios-webkit-debug-proxy)

4) Ios-deploy installation (Command – brew install ios-deploy)

5) Carthage installation (Command - brew install carthage)

6) Install libimobiledevice (Command - brew install libimobiledevice)



2 comments:

  1. This blog gonna help lots of Mac user and the user like me who migrated to Mac from window.

    ReplyDelete
  2. Very clearly explained . Great work..

    ReplyDelete