官术网_书友最值得收藏!

Installing Appium

Appium requires macOS X 10.7 or a higher version; we would recommend 10.10 (Yosemite) or a later version. To work with Appium, we need both the Appium GUI app (installed via the .dmg file) and the Appium server (installed via Homebrew), as explained here:

  1. Install Xcode and the Xcode command-line tool.
  2. Download the appium.dmg file from https://bitbucket.org/appium/appium.app/downloads/.
  3. Install Homebrew (http://brew.sh/) on your machine. This will need Ruby to be installed on your machine. Run the below command to install Homebrew:
Homebrew is a package manager for Mac OS. It installs packages to their own directories and then symlinks their files into /usr/local.
  /usr/bin/ruby -e "$(curl -fsSL       
https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Post the install run command to ensure that Homebrew is up to date:
      brew update
  1. To install node on your machine, run this command:
      brew install node
  1. Once the preceding commands are executed and don't throw up any errors, we can run one final command to check the successful Node and npm install. Run the below command to check the successful installation (of Node and npm) and this should successfully install grunt-cli:
Node.js is an open source, cross-platform JavaScript runtime environment for developing a diverse variety of tools and applications.
npm is the default package manager for the JavaScript runtime environment Node.js.
  1. To install Appium server and Appium doctor using node, we can run the given command:
      npm install -g appium
npm install -g appium-doctor
  1. Once Appium doctor is installed, we can run the appium-doctor command in the terminal and see the following output:
  1. Once done, we can run the appium command in the terminal and see this output:

So, the preceding section completes the Appium setup on both the app and the server. However, we can also install Appium server from source.

主站蜘蛛池模板: 浮山县| 浦县| 贡山| 东港市| 靖边县| 永吉县| 枝江市| 商河县| 凤凰县| 封开县| 天门市| 甘谷县| 姜堰市| 鹰潭市| 龙陵县| 东乡县| 齐河县| 油尖旺区| 平舆县| 扶沟县| 郎溪县| 文水县| 双桥区| 华容县| 金堂县| 余庆县| 简阳市| 呼玛县| 南皮县| 无极县| 小金县| 招远市| 隆尧县| 邵东县| 桓仁| 海南省| 梅州市| 应用必备| 盐边县| 通州区| 巴里|