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

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.

主站蜘蛛池模板: 东阳市| 蓝山县| 敖汉旗| 高碑店市| 金坛市| 财经| 从化市| 贺兰县| 贵港市| 广饶县| 离岛区| 叙永县| 宁安市| 顺平县| 麻栗坡县| 保靖县| 安新县| 宜春市| 昭通市| 丽水市| 江口县| 昌黎县| 潮州市| 合水县| 左权县| 南通市| 达拉特旗| 寿阳县| 镇坪县| 武威市| 平乐县| 湘乡市| 舒城县| 修武县| 封丘县| 崇明县| 彰化市| 色达县| 临澧县| 永春县| 临西县|