AutoViral Setup Guide

Complete installation instructions for Windows and Linux systems

Windows Installation Guide

1

Open PowerShell as Administrator

Right-click on the Start button and select "Windows PowerShell (Admin)" or search for PowerShell, right-click, and choose "Run as administrator".

2

Install Node.js

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
3

Install Appium

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
4

Verify Installation

After running all commands, verify that everything is installed correctly:

PS> node -v
v18.18.2
PS> npm -v
9.8.1
PS> appium -v
2.0.0

✅ Installation Complete!

Linux Installation Guide

1

Open Terminal

Open your terminal application. You can usually do this by pressing Ctrl + Alt + T or searching for "Terminal" in your applications.

2

Install Node.js

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
3

Install Appium

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
4

Verify Installation

Verify that all components are installed correctly:

$ node -v
v18.18.2
$ npm -v
9.8.1
$ appium -v
2.0.0

✅ Installation Complete!

Troubleshooting

⚠️ Common Issues and Solutions

  • Permission Denied: Make sure you're running PowerShell/Terminal as administrator/with sudo
  • Command Not Found: Restart your terminal after installation to reload PATH variables
  • Network Errors: Check your internet connection and firewall settings

💡 Need Help?

If you encounter any issues during installation: