Skip to content

Commit fd0a097

Browse files
authored
Added homebrew installation instructions to the docs (#721)
1 parent 3b87ed9 commit fd0a097

4 files changed

Lines changed: 44 additions & 5 deletions

File tree

apps/web/src/app/(docs)/docs/cli/page.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ E2B CLI is a command line tool that allows you to list, kill running sandboxes,
44

55
## Installation
66

7+
**Using Homebrew (on macOS)**
8+
9+
<CodeGroup isTerminalCommand>
10+
```bash
11+
brew install e2b
12+
```
13+
</CodeGroup>
14+
15+
**Using NPM**
16+
717
You can install E2B CLI using the following command:
818

919
<CodeGroup isTerminalCommand>
@@ -14,7 +24,7 @@ npm i -g @e2b/cli
1424

1525
### Beta CLI
1626

17-
The latest beta version of the CLI can be installed using the following command:
27+
The latest beta version of the CLI can be installed from NPM using the following command:
1828

1929
<CodeGroup isTerminalCommand>
2030
```bash

apps/web/src/app/(docs)/docs/quickstart/install-custom-packages/page.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,17 @@ Custom sandbox template is a Docker image that we automatically convert to a san
2121

2222

2323
### 1. Install E2B CLI
24-
Install the [E2B CLI](https://npmjs.com/package/@e2b/cli) globally on your machine with NPM.
24+
25+
**Using Homebrew (on macOS)**
26+
27+
<CodeGroup isTerminalCommand>
28+
```bash
29+
brew install e2b
30+
```
31+
</CodeGroup>
32+
33+
**Using NPM**
34+
2535
<CodeGroup isTerminalCommand>
2636
```bash
2737
npm i -g @e2b/cli

apps/web/src/app/(docs)/docs/sandbox-template/page.mdx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,20 @@ You can then use this template ID to create a new sandbox with the SDK based on
1717

1818

1919
### 1. Install E2B CLI
20-
Install E2B CLI with npm:
20+
21+
**Using Homebrew (on macOS)**
22+
23+
<CodeGroup isTerminalCommand>
24+
```bash
25+
brew install e2b
26+
```
27+
</CodeGroup>
28+
29+
**Using NPM**
30+
2131
<CodeGroup isTerminalCommand>
2232
```bash
23-
npm i @e2b/cli
33+
npm i -g @e2b/cli
2434
```
2535
</CodeGroup>
2636

packages/cli/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ This CLI tool allows you to build manager your running E2B sandbox and sandbox t
88

99
### 1. Install the CLI
1010

11+
**Using Homebrew (on macOS)**
12+
13+
```bash
14+
brew install e2b
15+
```
16+
17+
**Using NPM**
18+
1119
```bash
1220
npm install -g @e2b/cli
1321
```
@@ -18,7 +26,7 @@ npm install -g @e2b/cli
1826
e2b auth login
1927
```
2028

21-
> [!NOTE]
29+
> [!NOTE]
2230
> To authenticate without the ability to open the browser, provide
2331
> `E2B_ACCESS_TOKEN` as an environment variable. Get your `E2B_ACCESS_TOKEN`
2432
> from the Personal tab at [e2b.dev/dashboard](https://e2b.dev/dashboard). Then use the CLI like this:
@@ -28,4 +36,5 @@ e2b auth login
2836
> Note the distinction between `E2B_ACCESS_TOKEN` and `E2B_API_KEY`.
2937
3038
### 3. Check out docs
39+
3140
Visit our [CLI documentation](https://e2b.dev/docs) to learn more.

0 commit comments

Comments
 (0)