How to do complete Appium Setup in Mac OS High Sierra (Version : 10.13.4)












-2















Please help me in configuring appium from the terminal. Please provide the complete steps to do it along with the software versions.










share|improve this question























  • go through this link :github.com/saikrishna321/VodQa_MobileAutomationWorkShop/wiki/…

    – Suraj Jogdand
    Jun 6 '18 at 12:14











  • How to uninstall something that is installed through sudo command?

    – Soubhagya Mishra
    Jun 6 '18 at 12:21











  • @SoubhagyaMishra which method did you use to install it? Normally tools that install things have uninstall commands as well. For npm it is: npm uninstall <name>

    – zypherman
    Jun 8 '18 at 19:41
















-2















Please help me in configuring appium from the terminal. Please provide the complete steps to do it along with the software versions.










share|improve this question























  • go through this link :github.com/saikrishna321/VodQa_MobileAutomationWorkShop/wiki/…

    – Suraj Jogdand
    Jun 6 '18 at 12:14











  • How to uninstall something that is installed through sudo command?

    – Soubhagya Mishra
    Jun 6 '18 at 12:21











  • @SoubhagyaMishra which method did you use to install it? Normally tools that install things have uninstall commands as well. For npm it is: npm uninstall <name>

    – zypherman
    Jun 8 '18 at 19:41














-2












-2








-2








Please help me in configuring appium from the terminal. Please provide the complete steps to do it along with the software versions.










share|improve this question














Please help me in configuring appium from the terminal. Please provide the complete steps to do it along with the software versions.







appium appium-ios appium-android appium-desktop






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 6 '18 at 11:59









Soubhagya MishraSoubhagya Mishra

6




6













  • go through this link :github.com/saikrishna321/VodQa_MobileAutomationWorkShop/wiki/…

    – Suraj Jogdand
    Jun 6 '18 at 12:14











  • How to uninstall something that is installed through sudo command?

    – Soubhagya Mishra
    Jun 6 '18 at 12:21











  • @SoubhagyaMishra which method did you use to install it? Normally tools that install things have uninstall commands as well. For npm it is: npm uninstall <name>

    – zypherman
    Jun 8 '18 at 19:41



















  • go through this link :github.com/saikrishna321/VodQa_MobileAutomationWorkShop/wiki/…

    – Suraj Jogdand
    Jun 6 '18 at 12:14











  • How to uninstall something that is installed through sudo command?

    – Soubhagya Mishra
    Jun 6 '18 at 12:21











  • @SoubhagyaMishra which method did you use to install it? Normally tools that install things have uninstall commands as well. For npm it is: npm uninstall <name>

    – zypherman
    Jun 8 '18 at 19:41

















go through this link :github.com/saikrishna321/VodQa_MobileAutomationWorkShop/wiki/…

– Suraj Jogdand
Jun 6 '18 at 12:14





go through this link :github.com/saikrishna321/VodQa_MobileAutomationWorkShop/wiki/…

– Suraj Jogdand
Jun 6 '18 at 12:14













How to uninstall something that is installed through sudo command?

– Soubhagya Mishra
Jun 6 '18 at 12:21





How to uninstall something that is installed through sudo command?

– Soubhagya Mishra
Jun 6 '18 at 12:21













@SoubhagyaMishra which method did you use to install it? Normally tools that install things have uninstall commands as well. For npm it is: npm uninstall <name>

– zypherman
Jun 8 '18 at 19:41





@SoubhagyaMishra which method did you use to install it? Normally tools that install things have uninstall commands as well. For npm it is: npm uninstall <name>

– zypherman
Jun 8 '18 at 19:41












1 Answer
1






active

oldest

votes


















0














This is a little guide I've created for setting up Appium on Mac, but I'm sure you can find a lot of tutorials on this just by googling it.



First, you will need to download Android Studio: https://developer.android.com/studio/



After that, set ANDROID_HOME path in your ".bash_profile" file:



Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed (if it's not listed create it with "touch .bash_profile"), add following lines to ".bash_profile" file:



Path to ANDROID_HOME



export ANDROID_HOME=/Users//Library/Android/sdk



export PATH=$ANDROID_HOME/platform-tools:$PATH



export PATH=$ANDROID_HOME/tools:$PATH



after saving file type "source .bash_profile" for changes to take effect.



Homebrew



HomeBrew is a command line package manager for OS X. It is not officially recognized, but it has become a standard de facto for the distributions of tons of useful tools. Install it by running following command from Terminal:



/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)". For more info about Homebrew visit: https://brew.sh/



Python 2.7



Python should be pre-installed on macOS. To check if Python is installed type "python --version" in Terminal, output should show currently installed version (e.g. "Python 2.7.10"). If Python is not installed for some reason, you can install latest version with command "brew install python"



Appium and Appium dependencies



Install Appium desktop application from here http://appium.io/ (e.g. "appium-desktop-1.2.6-mac.zip")



Install carthage which is an Appium dependency with command "brew install carthage --HEAD" (if you want to see where carthage is installed type "which carthage")



Install pip package manager with command "sudo easy_install pip"



Install Appium Python client (if you want Java, Ruby, C# client, just change it, instead of Python) with command "pip install Appium-Python-Client"



Install Node.js and NPM with command "brew install node" (to verify node and npm are installed type "node -v" and "npm -v" in terminal)



Install appium doctor with command "sudo npm install appium-doctor -g". Appium doctor will tell you if there are some missing dependencies, to use it type "appium-doctor" in terminal.



Run commands "sudo npm install -g authorize-ios" and "sudo authorize-ios"



Set JAVA_HOME path in your ".bash_profile" file:



Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed, edit ".bash_profile" with the next lines:



Path to Java



export JAVA_HOME=$(/usr/libexec/java_home)



export PATH=${JAVA_HOME}/bin:$PATH



after saving file type "source .bash_profile" for changes to take effect



If everything is set up correctly, when you run appium-doctor from Terminal you will see something like this:



username$ appium-doctor
info AppiumDoctor Appium Doctor v.1.4.3
info AppiumDoctor ### Diagnostic starting ###
info AppiumDoctor ✔ The Node.js binary was found at:
/usr/local/bin/node
info AppiumDoctor ✔ Node version is 8.9.0
info AppiumDoctor ✔ Xcode is installed at:
/Applications/Xcode.app/Contents/Developer
info AppiumDoctor ✔ Xcode Command Line Tools are installed.
info AppiumDoctor ✔ DevToolsSecurity is enabled.
info AppiumDoctor ✔ The Authorization DB is set up properly.
info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage
info AppiumDoctor ✔ HOME is set to: /Users/majdukovic
info AppiumDoctor ✔ ANDROID_HOME is set to:
/Users/majdukovic/Library/Android/sdk
info AppiumDoctor ✔ JAVA_HOME is set to:
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
info AppiumDoctor ✔ adb exists at:
/Users/majdukovic/Library/Android/sdk/platform-tools/adb
info AppiumDoctor ✔ android exists at:
/Users/majdukovic/Library/Android/sdk/tools/android
info AppiumDoctor ✔ emulator exists at:
/Users/majdukovic/Library/Android/sdk/tools/emulator
info AppiumDoctor ✔ Bin directory of $JAVA_HOME is set
info AppiumDoctor ### Diagnostic completed, no fix needed. ###
info AppiumDoctor
info AppiumDoctor Everything looks good, bye!
info AppiumDoctor
username$


enter image description here






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f50719886%2fhow-to-do-complete-appium-setup-in-mac-os-high-sierra-version-10-13-4%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    This is a little guide I've created for setting up Appium on Mac, but I'm sure you can find a lot of tutorials on this just by googling it.



    First, you will need to download Android Studio: https://developer.android.com/studio/



    After that, set ANDROID_HOME path in your ".bash_profile" file:



    Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed (if it's not listed create it with "touch .bash_profile"), add following lines to ".bash_profile" file:



    Path to ANDROID_HOME



    export ANDROID_HOME=/Users//Library/Android/sdk



    export PATH=$ANDROID_HOME/platform-tools:$PATH



    export PATH=$ANDROID_HOME/tools:$PATH



    after saving file type "source .bash_profile" for changes to take effect.



    Homebrew



    HomeBrew is a command line package manager for OS X. It is not officially recognized, but it has become a standard de facto for the distributions of tons of useful tools. Install it by running following command from Terminal:



    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)". For more info about Homebrew visit: https://brew.sh/



    Python 2.7



    Python should be pre-installed on macOS. To check if Python is installed type "python --version" in Terminal, output should show currently installed version (e.g. "Python 2.7.10"). If Python is not installed for some reason, you can install latest version with command "brew install python"



    Appium and Appium dependencies



    Install Appium desktop application from here http://appium.io/ (e.g. "appium-desktop-1.2.6-mac.zip")



    Install carthage which is an Appium dependency with command "brew install carthage --HEAD" (if you want to see where carthage is installed type "which carthage")



    Install pip package manager with command "sudo easy_install pip"



    Install Appium Python client (if you want Java, Ruby, C# client, just change it, instead of Python) with command "pip install Appium-Python-Client"



    Install Node.js and NPM with command "brew install node" (to verify node and npm are installed type "node -v" and "npm -v" in terminal)



    Install appium doctor with command "sudo npm install appium-doctor -g". Appium doctor will tell you if there are some missing dependencies, to use it type "appium-doctor" in terminal.



    Run commands "sudo npm install -g authorize-ios" and "sudo authorize-ios"



    Set JAVA_HOME path in your ".bash_profile" file:



    Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed, edit ".bash_profile" with the next lines:



    Path to Java



    export JAVA_HOME=$(/usr/libexec/java_home)



    export PATH=${JAVA_HOME}/bin:$PATH



    after saving file type "source .bash_profile" for changes to take effect



    If everything is set up correctly, when you run appium-doctor from Terminal you will see something like this:



    username$ appium-doctor
    info AppiumDoctor Appium Doctor v.1.4.3
    info AppiumDoctor ### Diagnostic starting ###
    info AppiumDoctor ✔ The Node.js binary was found at:
    /usr/local/bin/node
    info AppiumDoctor ✔ Node version is 8.9.0
    info AppiumDoctor ✔ Xcode is installed at:
    /Applications/Xcode.app/Contents/Developer
    info AppiumDoctor ✔ Xcode Command Line Tools are installed.
    info AppiumDoctor ✔ DevToolsSecurity is enabled.
    info AppiumDoctor ✔ The Authorization DB is set up properly.
    info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage
    info AppiumDoctor ✔ HOME is set to: /Users/majdukovic
    info AppiumDoctor ✔ ANDROID_HOME is set to:
    /Users/majdukovic/Library/Android/sdk
    info AppiumDoctor ✔ JAVA_HOME is set to:
    /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
    info AppiumDoctor ✔ adb exists at:
    /Users/majdukovic/Library/Android/sdk/platform-tools/adb
    info AppiumDoctor ✔ android exists at:
    /Users/majdukovic/Library/Android/sdk/tools/android
    info AppiumDoctor ✔ emulator exists at:
    /Users/majdukovic/Library/Android/sdk/tools/emulator
    info AppiumDoctor ✔ Bin directory of $JAVA_HOME is set
    info AppiumDoctor ### Diagnostic completed, no fix needed. ###
    info AppiumDoctor
    info AppiumDoctor Everything looks good, bye!
    info AppiumDoctor
    username$


    enter image description here






    share|improve this answer




























      0














      This is a little guide I've created for setting up Appium on Mac, but I'm sure you can find a lot of tutorials on this just by googling it.



      First, you will need to download Android Studio: https://developer.android.com/studio/



      After that, set ANDROID_HOME path in your ".bash_profile" file:



      Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed (if it's not listed create it with "touch .bash_profile"), add following lines to ".bash_profile" file:



      Path to ANDROID_HOME



      export ANDROID_HOME=/Users//Library/Android/sdk



      export PATH=$ANDROID_HOME/platform-tools:$PATH



      export PATH=$ANDROID_HOME/tools:$PATH



      after saving file type "source .bash_profile" for changes to take effect.



      Homebrew



      HomeBrew is a command line package manager for OS X. It is not officially recognized, but it has become a standard de facto for the distributions of tons of useful tools. Install it by running following command from Terminal:



      /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)". For more info about Homebrew visit: https://brew.sh/



      Python 2.7



      Python should be pre-installed on macOS. To check if Python is installed type "python --version" in Terminal, output should show currently installed version (e.g. "Python 2.7.10"). If Python is not installed for some reason, you can install latest version with command "brew install python"



      Appium and Appium dependencies



      Install Appium desktop application from here http://appium.io/ (e.g. "appium-desktop-1.2.6-mac.zip")



      Install carthage which is an Appium dependency with command "brew install carthage --HEAD" (if you want to see where carthage is installed type "which carthage")



      Install pip package manager with command "sudo easy_install pip"



      Install Appium Python client (if you want Java, Ruby, C# client, just change it, instead of Python) with command "pip install Appium-Python-Client"



      Install Node.js and NPM with command "brew install node" (to verify node and npm are installed type "node -v" and "npm -v" in terminal)



      Install appium doctor with command "sudo npm install appium-doctor -g". Appium doctor will tell you if there are some missing dependencies, to use it type "appium-doctor" in terminal.



      Run commands "sudo npm install -g authorize-ios" and "sudo authorize-ios"



      Set JAVA_HOME path in your ".bash_profile" file:



      Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed, edit ".bash_profile" with the next lines:



      Path to Java



      export JAVA_HOME=$(/usr/libexec/java_home)



      export PATH=${JAVA_HOME}/bin:$PATH



      after saving file type "source .bash_profile" for changes to take effect



      If everything is set up correctly, when you run appium-doctor from Terminal you will see something like this:



      username$ appium-doctor
      info AppiumDoctor Appium Doctor v.1.4.3
      info AppiumDoctor ### Diagnostic starting ###
      info AppiumDoctor ✔ The Node.js binary was found at:
      /usr/local/bin/node
      info AppiumDoctor ✔ Node version is 8.9.0
      info AppiumDoctor ✔ Xcode is installed at:
      /Applications/Xcode.app/Contents/Developer
      info AppiumDoctor ✔ Xcode Command Line Tools are installed.
      info AppiumDoctor ✔ DevToolsSecurity is enabled.
      info AppiumDoctor ✔ The Authorization DB is set up properly.
      info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage
      info AppiumDoctor ✔ HOME is set to: /Users/majdukovic
      info AppiumDoctor ✔ ANDROID_HOME is set to:
      /Users/majdukovic/Library/Android/sdk
      info AppiumDoctor ✔ JAVA_HOME is set to:
      /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
      info AppiumDoctor ✔ adb exists at:
      /Users/majdukovic/Library/Android/sdk/platform-tools/adb
      info AppiumDoctor ✔ android exists at:
      /Users/majdukovic/Library/Android/sdk/tools/android
      info AppiumDoctor ✔ emulator exists at:
      /Users/majdukovic/Library/Android/sdk/tools/emulator
      info AppiumDoctor ✔ Bin directory of $JAVA_HOME is set
      info AppiumDoctor ### Diagnostic completed, no fix needed. ###
      info AppiumDoctor
      info AppiumDoctor Everything looks good, bye!
      info AppiumDoctor
      username$


      enter image description here






      share|improve this answer


























        0












        0








        0







        This is a little guide I've created for setting up Appium on Mac, but I'm sure you can find a lot of tutorials on this just by googling it.



        First, you will need to download Android Studio: https://developer.android.com/studio/



        After that, set ANDROID_HOME path in your ".bash_profile" file:



        Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed (if it's not listed create it with "touch .bash_profile"), add following lines to ".bash_profile" file:



        Path to ANDROID_HOME



        export ANDROID_HOME=/Users//Library/Android/sdk



        export PATH=$ANDROID_HOME/platform-tools:$PATH



        export PATH=$ANDROID_HOME/tools:$PATH



        after saving file type "source .bash_profile" for changes to take effect.



        Homebrew



        HomeBrew is a command line package manager for OS X. It is not officially recognized, but it has become a standard de facto for the distributions of tons of useful tools. Install it by running following command from Terminal:



        /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)". For more info about Homebrew visit: https://brew.sh/



        Python 2.7



        Python should be pre-installed on macOS. To check if Python is installed type "python --version" in Terminal, output should show currently installed version (e.g. "Python 2.7.10"). If Python is not installed for some reason, you can install latest version with command "brew install python"



        Appium and Appium dependencies



        Install Appium desktop application from here http://appium.io/ (e.g. "appium-desktop-1.2.6-mac.zip")



        Install carthage which is an Appium dependency with command "brew install carthage --HEAD" (if you want to see where carthage is installed type "which carthage")



        Install pip package manager with command "sudo easy_install pip"



        Install Appium Python client (if you want Java, Ruby, C# client, just change it, instead of Python) with command "pip install Appium-Python-Client"



        Install Node.js and NPM with command "brew install node" (to verify node and npm are installed type "node -v" and "npm -v" in terminal)



        Install appium doctor with command "sudo npm install appium-doctor -g". Appium doctor will tell you if there are some missing dependencies, to use it type "appium-doctor" in terminal.



        Run commands "sudo npm install -g authorize-ios" and "sudo authorize-ios"



        Set JAVA_HOME path in your ".bash_profile" file:



        Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed, edit ".bash_profile" with the next lines:



        Path to Java



        export JAVA_HOME=$(/usr/libexec/java_home)



        export PATH=${JAVA_HOME}/bin:$PATH



        after saving file type "source .bash_profile" for changes to take effect



        If everything is set up correctly, when you run appium-doctor from Terminal you will see something like this:



        username$ appium-doctor
        info AppiumDoctor Appium Doctor v.1.4.3
        info AppiumDoctor ### Diagnostic starting ###
        info AppiumDoctor ✔ The Node.js binary was found at:
        /usr/local/bin/node
        info AppiumDoctor ✔ Node version is 8.9.0
        info AppiumDoctor ✔ Xcode is installed at:
        /Applications/Xcode.app/Contents/Developer
        info AppiumDoctor ✔ Xcode Command Line Tools are installed.
        info AppiumDoctor ✔ DevToolsSecurity is enabled.
        info AppiumDoctor ✔ The Authorization DB is set up properly.
        info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage
        info AppiumDoctor ✔ HOME is set to: /Users/majdukovic
        info AppiumDoctor ✔ ANDROID_HOME is set to:
        /Users/majdukovic/Library/Android/sdk
        info AppiumDoctor ✔ JAVA_HOME is set to:
        /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
        info AppiumDoctor ✔ adb exists at:
        /Users/majdukovic/Library/Android/sdk/platform-tools/adb
        info AppiumDoctor ✔ android exists at:
        /Users/majdukovic/Library/Android/sdk/tools/android
        info AppiumDoctor ✔ emulator exists at:
        /Users/majdukovic/Library/Android/sdk/tools/emulator
        info AppiumDoctor ✔ Bin directory of $JAVA_HOME is set
        info AppiumDoctor ### Diagnostic completed, no fix needed. ###
        info AppiumDoctor
        info AppiumDoctor Everything looks good, bye!
        info AppiumDoctor
        username$


        enter image description here






        share|improve this answer













        This is a little guide I've created for setting up Appium on Mac, but I'm sure you can find a lot of tutorials on this just by googling it.



        First, you will need to download Android Studio: https://developer.android.com/studio/



        After that, set ANDROID_HOME path in your ".bash_profile" file:



        Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed (if it's not listed create it with "touch .bash_profile"), add following lines to ".bash_profile" file:



        Path to ANDROID_HOME



        export ANDROID_HOME=/Users//Library/Android/sdk



        export PATH=$ANDROID_HOME/platform-tools:$PATH



        export PATH=$ANDROID_HOME/tools:$PATH



        after saving file type "source .bash_profile" for changes to take effect.



        Homebrew



        HomeBrew is a command line package manager for OS X. It is not officially recognized, but it has become a standard de facto for the distributions of tons of useful tools. Install it by running following command from Terminal:



        /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)". For more info about Homebrew visit: https://brew.sh/



        Python 2.7



        Python should be pre-installed on macOS. To check if Python is installed type "python --version" in Terminal, output should show currently installed version (e.g. "Python 2.7.10"). If Python is not installed for some reason, you can install latest version with command "brew install python"



        Appium and Appium dependencies



        Install Appium desktop application from here http://appium.io/ (e.g. "appium-desktop-1.2.6-mac.zip")



        Install carthage which is an Appium dependency with command "brew install carthage --HEAD" (if you want to see where carthage is installed type "which carthage")



        Install pip package manager with command "sudo easy_install pip"



        Install Appium Python client (if you want Java, Ruby, C# client, just change it, instead of Python) with command "pip install Appium-Python-Client"



        Install Node.js and NPM with command "brew install node" (to verify node and npm are installed type "node -v" and "npm -v" in terminal)



        Install appium doctor with command "sudo npm install appium-doctor -g". Appium doctor will tell you if there are some missing dependencies, to use it type "appium-doctor" in terminal.



        Run commands "sudo npm install -g authorize-ios" and "sudo authorize-ios"



        Set JAVA_HOME path in your ".bash_profile" file:



        Navigate to home directory (type "cd" anywhere in terminal to go to home directory), type "ls -a" to list all files, ".bash_profile" file should be listed, edit ".bash_profile" with the next lines:



        Path to Java



        export JAVA_HOME=$(/usr/libexec/java_home)



        export PATH=${JAVA_HOME}/bin:$PATH



        after saving file type "source .bash_profile" for changes to take effect



        If everything is set up correctly, when you run appium-doctor from Terminal you will see something like this:



        username$ appium-doctor
        info AppiumDoctor Appium Doctor v.1.4.3
        info AppiumDoctor ### Diagnostic starting ###
        info AppiumDoctor ✔ The Node.js binary was found at:
        /usr/local/bin/node
        info AppiumDoctor ✔ Node version is 8.9.0
        info AppiumDoctor ✔ Xcode is installed at:
        /Applications/Xcode.app/Contents/Developer
        info AppiumDoctor ✔ Xcode Command Line Tools are installed.
        info AppiumDoctor ✔ DevToolsSecurity is enabled.
        info AppiumDoctor ✔ The Authorization DB is set up properly.
        info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage
        info AppiumDoctor ✔ HOME is set to: /Users/majdukovic
        info AppiumDoctor ✔ ANDROID_HOME is set to:
        /Users/majdukovic/Library/Android/sdk
        info AppiumDoctor ✔ JAVA_HOME is set to:
        /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
        info AppiumDoctor ✔ adb exists at:
        /Users/majdukovic/Library/Android/sdk/platform-tools/adb
        info AppiumDoctor ✔ android exists at:
        /Users/majdukovic/Library/Android/sdk/tools/android
        info AppiumDoctor ✔ emulator exists at:
        /Users/majdukovic/Library/Android/sdk/tools/emulator
        info AppiumDoctor ✔ Bin directory of $JAVA_HOME is set
        info AppiumDoctor ### Diagnostic completed, no fix needed. ###
        info AppiumDoctor
        info AppiumDoctor Everything looks good, bye!
        info AppiumDoctor
        username$


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 7 '18 at 16:03









        edvard_munchedvard_munch

        837




        837






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f50719886%2fhow-to-do-complete-appium-setup-in-mac-os-high-sierra-version-10-13-4%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Costa Masnaga

            Fotorealismo

            Sidney Franklin