| sidebar_label | Troubleshooting |
|---|---|
| title | Troubleshooting |
If you receive a permission error, read npm's official guide on installing packages globally.
The best practice is to use a Node.js version manager to install Node.js 22+. It prevents permission issues from happening in the first place. We recommend:
Once you have the correct version of Node.js on your machine, install the Apify CLI with the following command:
npm install -g apify-cliYou can find the differences and migration info in migration guidelines.
To see all CLI commands simply run:
apify helpTo get information about a specific command run:
apify help COMMANDFor general support, reach out to us at apify.com/contact. You can also join Apify Discord, if you have a question. If you believe you are encountering a bug, file it on GitHub.