: Appium 2.x requires Node.js 14 or higher. Appium 1.x is deprecated. 3. Primary Download Methods 3.1. Using npm (Recommended for CI/CD and Advanced Users) The most common and flexible method:
# Install Appium globally npm install -g appium appium --version
# Example GitHub Actions step - name: Install Appium (npm) run: | npm install -g appium appium driver install uiautomator2 Cache ~/.appium directory to avoid re-downloading drivers each run. After download, run a quick sanity test using any WebDriver client (Python example):
: Running appium after download from npm on a system with Appium 1.x will not automatically migrate. Use npm uninstall -g appium first. 7. Common Download Errors and Resolutions | Error Message | Likely Cause | Solution | |---------------|--------------|----------| | command not found: appium | npm global bin not in PATH | Add $(npm prefix -g)/bin to PATH | | Cannot find module 'webdriver' | Corrupted npm install | npm uninstall -g appium && npm cache clean --force | | Driver 'uiautomator2' not installed | Appium 2.x missing driver | appium driver install uiautomator2 | | EACCES: permission denied (Linux/macOS) | Permissions on global node_modules | Reinstall with sudo or correct npm user config | | Appium Desktop fails to start | Outdated Node runtime | Switch to npm-based Appium server | 8. Downloading Appium as Part of a Test Pipeline (CI/CD) For GitHub Actions, GitLab CI, or Jenkins: