Complete installation instructions for Windows and Linux systems
Right-click on the Start button and select "Windows PowerShell (Admin)" or search for PowerShell, right-click, and choose "Run as administrator".
Install Node.js by running these commands in PowerShell:
# Set execution policy for this session
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
# Download and install Node.js
$nodeInstaller = "$env:TEMP\nodejs-lts.msi"
Invoke-WebRequest "https://nodejs.org/dist/v18.18.2/node-v18.18.2-x64.msi" -OutFile $nodeInstaller
Start-Process msiexec.exe -ArgumentList "/i $nodeInstaller /quiet /norestart" -Wait
Remove-Item $nodeInstaller
# Verify Node.js installation
node -v
npm -v
Install Appium and its drivers globally:
# Install Appium globally
npm install -g appium
# Verify Appium installation
appium -v
# Install Appium drivers
appium driver install uiautomator2
appium driver install xcuitest
After running all commands, verify that everything is installed correctly:
Open your terminal application. You can usually do this by pressing Ctrl + Alt + T or searching for "Terminal" in your applications.
Install Node.js using NodeSource repository:
# Update package index
sudo apt update
# Install curl if not already installed
sudo apt install -y curl
# Add NodeSource repository
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
# Install Node.js
sudo apt install -y nodejs
# Verify installation
node -v
npm -v
Install Appium and its drivers globally:
# Install Appium globally
sudo npm install -g appium
# Verify Appium installation
appium -v
# Install Appium drivers
appium driver install uiautomator2
appium driver install xcuitest
Verify that all components are installed correctly:
If you encounter any issues during installation: