Appearance
Install
Apify CLI
The CLI is the primary local development tool. It scaffolds Actors, runs them locally, and pushes to the Apify cloud.
macOS / Linux (recommended - standalone binary via Bun, no Node.js required):
bash
curl -fsSL https://apify.com/install-cli.sh | bashWindows (PowerShell):
powershell
irm https://apify.com/install-cli.ps1 | iexHomebrew (macOS):
bash
brew install apify-clinpm (requires Node.js 22+):
bash
npm install -g apify-cliAfter installation, verify with:
bash
apify --versionUpgrade any time with:
bash
apify upgradeApify SDK (JavaScript / TypeScript)
For building Actors in Node.js or TypeScript:
bash
npm install apifyApify SDK (Python)
For building Actors in Python:
bash
pip install apify-sdkApify API Client
For calling the Apify REST API directly from application code (not needed if you use the SDK):
JavaScript:
bash
npm install apify-clientPython:
bash
pip install apify-clientPrerequisites
- npm install path: Node.js v22 or higher
- Script install path: No Node.js required (uses Bun internally)
- Python SDK: Python 3.8+
Actor Templates (Starter Boilerplate)
Apify publishes official Actor templates on GitHub:
Template repository: https://github.com/apify/actor-templates
The apify create CLI command interactively scaffolds a new Actor from these templates. Available templates include JavaScript web scraper, Python scraper, TypeScript Actor, and Crawlee-based crawlers.
Browse all published templates at: https://apify.com/templates