Skip to content

Commit dbfa96a

Browse files
patrikbraborecTC-MOvladfrangu
authored
docs: Improve installation documentation (#903)
Co-authored-by: Michał Olender <92638966+TC-MO@users.noreply.github.com> Co-authored-by: Vlad Frangu <me@vladfrangu.dev>
1 parent 4c5d874 commit dbfa96a

File tree

2 files changed

+38
-14
lines changed

2 files changed

+38
-14
lines changed

docs/installation.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ Learn how to install Apify CLI using installation scripts, Homebrew, or NPM.
77

88
---
99

10-
The recommended way to install Apify CLI is by using our installation scripts. This means you don't need to install Node.js to use the CLI, which is useful for Python users or anyone who doesn't want to manage Node.js dependencies.
10+
## Installation scripts
1111

12-
## Preferred methods
13-
14-
### MacOS / Unix
12+
### MacOS / Linux
1513

1614
```bash
1715
curl -fsSL https://apify.com/install-cli.sh | bash
@@ -23,15 +21,29 @@ curl -fsSL https://apify.com/install-cli.sh | bash
2321
irm https://apify.com/install-cli.ps1 | iex
2422
```
2523

26-
## Other methods
24+
:::tip No need for Node.js
25+
26+
If you install Apify CLI using our installation scripts, you don't need Node.js. The scripts use [Bun](https://bun.sh/) to create a standalone executable file.
27+
28+
This approach eliminates Node.js dependency management, which is useful for Python developers or users working in non-Node.js environments.
29+
30+
:::
2731

28-
### Homebrew
32+
## Homebrew
2933

3034
```bash
3135
brew install apify-cli
3236
```
3337

34-
### NPM
38+
:::tip Homebrew and Node.js dependency
39+
40+
When you install Apify CLI using Homebrew, it automatically installs Node.js as a dependency. If you already have Node.js installed through another method (e.g., `nvm`), this may create version conflicts.
41+
42+
If you experience Node.js version conflicts, modify your `PATH` environment variable to prioritize your preferred Node.js installation over Homebrew's version.
43+
44+
:::
45+
46+
## NPM
3547

3648
First, make sure you have [Node.js](https://nodejs.org) version 22 or higher with NPM installed on your computer:
3749

website/versioned_docs/version-1.1.0/installation.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ Learn how to install Apify CLI using installation scripts, Homebrew, or NPM.
77

88
---
99

10-
The recommended way to install Apify CLI is by using our installation scripts. This means you don't need to install Node.js to use the CLI, which is useful for Python users or anyone who doesn't want to manage Node.js dependencies.
10+
## Installation scripts
1111

12-
## Preferred methods
13-
14-
### MacOS / Unix
12+
### MacOS / Linux
1513

1614
```bash
1715
curl -fsSL https://apify.com/install-cli.sh | bash
@@ -23,15 +21,29 @@ curl -fsSL https://apify.com/install-cli.sh | bash
2321
irm https://apify.com/install-cli.ps1 | iex
2422
```
2523

26-
## Other methods
24+
:::tip No need for Node.js
25+
26+
If you install Apify CLI using our installation scripts, you don't need Node.js. The scripts use [Bun](https://bun.sh/) to create a standalone executable file.
27+
28+
This approach eliminates Node.js dependency management, which is useful for Python developers or users working in non-Node.js environments.
29+
30+
:::
2731

28-
### Homebrew
32+
## Homebrew
2933

3034
```bash
3135
brew install apify-cli
3236
```
3337

34-
### NPM
38+
:::tip Homebrew and Node.js dependency
39+
40+
When you install Apify CLI using Homebrew, it automatically installs Node.js as a dependency. If you already have Node.js installed through another method (e.g., `nvm`), this may create version conflicts.
41+
42+
If you experience Node.js version conflicts, modify your `PATH` environment variable to prioritize your preferred Node.js installation over Homebrew's version.
43+
44+
:::
45+
46+
## NPM
3547

3648
First, make sure you have [Node.js](https://nodejs.org) version 22 or higher with NPM installed on your computer:
3749

0 commit comments

Comments
 (0)