apify-cli 0.21.10-beta.23 → 0.21.10-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -20
- package/dist/.tsbuildinfo +1 -1
- package/dist/actor.js +1 -1
- package/dist/apify.js +1 -1
- package/dist/{chunk-T5ULSWTR.js → chunk-NWAJV6EI.js} +112 -112
- package/dist/chunk-NWAJV6EI.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-T5ULSWTR.js.map +0 -1
package/README.md
CHANGED
|
@@ -21,6 +21,20 @@ However, we recommend using JavaScript / Node.js, for which we provide most libr
|
|
|
21
21
|
|
|
22
22
|
## Installation
|
|
23
23
|
|
|
24
|
+
### Via bundles
|
|
25
|
+
|
|
26
|
+
#### MacOS / Unix
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
curl -fsSL https://apify.com/install-cli.sh | bash
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
#### Windows
|
|
33
|
+
|
|
34
|
+
```powershell
|
|
35
|
+
irm https://apify.com/install-cli.ps1 | iex
|
|
36
|
+
```
|
|
37
|
+
|
|
24
38
|
### Via Homebrew
|
|
25
39
|
|
|
26
40
|
On macOS (or Linux), you can install the Apify CLI via the [Homebrew package manager](https://brew.sh).
|
|
@@ -31,7 +45,7 @@ brew install apify-cli
|
|
|
31
45
|
|
|
32
46
|
### Via NPM
|
|
33
47
|
|
|
34
|
-
First, make sure you have [Node.js](https://nodejs.org) version
|
|
48
|
+
First, make sure you have [Node.js](https://nodejs.org) version 22 or higher with NPM installed on your computer:
|
|
35
49
|
|
|
36
50
|
```bash
|
|
37
51
|
node --version
|
|
@@ -41,21 +55,15 @@ npm --version
|
|
|
41
55
|
Install or upgrade Apify CLI by running:
|
|
42
56
|
|
|
43
57
|
```bash
|
|
44
|
-
npm -g
|
|
58
|
+
npm install -g apify-cli
|
|
45
59
|
```
|
|
46
60
|
|
|
47
|
-
|
|
61
|
+
Alternatively, you can use [fnm (Fast Node Manager)](https://github.com/Schniz/fnm) and install Apify CLI only into a selected user-level Node version without requiring root privileges:
|
|
48
62
|
|
|
49
63
|
```bash
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
Alternatively, you can use [Node Version Manager (nvm)](https://github.com/nvm-sh/nvm) and install Apify CLI only into a selected user-level Node version without requiring root privileges:
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
nvm install 16
|
|
57
|
-
nvm use 16
|
|
58
|
-
npm -g install apify-cli
|
|
64
|
+
fnm install 22
|
|
65
|
+
fnm use 22
|
|
66
|
+
npm install -g apify-cli
|
|
59
67
|
```
|
|
60
68
|
|
|
61
69
|
Finally, verify that Apify CLI was installed correctly by running:
|
|
@@ -64,12 +72,6 @@ Finally, verify that Apify CLI was installed correctly by running:
|
|
|
64
72
|
apify --version
|
|
65
73
|
```
|
|
66
74
|
|
|
67
|
-
which should print something like:
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
apify-cli/0.10.0 darwin-x64 node-v16.14.2
|
|
71
|
-
```
|
|
72
|
-
|
|
73
75
|
> You can also skip the manual global installation altogether and use `npx apify-cli` with all the following commands instead.
|
|
74
76
|
|
|
75
77
|
## Basic usage
|
|
@@ -114,7 +116,7 @@ You can find more information about by running `apify help run`.
|
|
|
114
116
|
|
|
115
117
|
### Create a new Actor from Scrapy project
|
|
116
118
|
|
|
117
|
-
If you want to run a Scrapy project on Apify platform, follow the Scrapy integration guide
|
|
119
|
+
If you want to run a Scrapy project on Apify platform, follow the [Scrapy integration guide](https://docs.apify.com/cli/docs/integrating-scrapy).
|
|
118
120
|
|
|
119
121
|
### Run the Actor locally
|
|
120
122
|
|
|
@@ -278,4 +280,4 @@ or [contact us](https://www.apify.com/contact).
|
|
|
278
280
|
|
|
279
281
|
## Command reference
|
|
280
282
|
|
|
281
|
-
|
|
283
|
+
See a list of all our commands on the [reference page](https://docs.apify.com/cli/docs/reference)
|