Skip to content

Commit cdaf2f9

Browse files
committed
update setup page
1 parent 5508842 commit cdaf2f9

File tree

2 files changed

+23
-45
lines changed

2 files changed

+23
-45
lines changed

docs/getting-started/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ interpreter
4141
</Step>
4242
</Steps>
4343

44-
We've also developed [one-line installers](setup) that install Python and set up Open Interpreter.
44+
We've also developed [one-line installers](/getting-started/setup#experimental-one-line-installers) that install Python and set up Open Interpreter.

docs/getting-started/setup.mdx

Lines changed: 22 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,28 @@
22
title: Setup
33
---
44

5-
## Experimental one-line installers
6-
7-
To try our experimental installers, open your Terminal with admin privileges [(click here to learn how)](https://chat.openai.com/share/66672c0f-0935-4c16-ac96-75c1afe14fe3), then paste the following commands:
8-
9-
<CodeGroup>
10-
11-
```bash Mac
12-
curl -sL https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-mac-installer.sh | bash
13-
```
14-
15-
```powershell Windows
16-
iex "& {$(irm https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-windows-installer.ps1)}"
17-
```
18-
19-
```bash Linux
20-
curl -sL https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-linux-installer.sh | bash
21-
```
22-
23-
</CodeGroup>
24-
25-
These installers will attempt to download Python, set up an environment, and install Open Interpreter for you.
26-
275
## Installation from `pip`
286

29-
If you already use Python, we recommend installing Open Interpreter via `pip`:
7+
If you are familiar with Python, we recommend installing Open Interpreter via `pip`
308

319
```bash
3210
pip install open-interpreter
3311
```
3412

3513
<Info>
36-
**Note:** You'll need Python
14+
You'll need Python
3715
[3.10](https://www.python.org/downloads/release/python-3100/) or
3816
[3.11](https://www.python.org/downloads/release/python-3110/). Run `python
3917
--version` to check yours.
18+
19+
It is recommended to install Open Interpreter in a [virtual
20+
environment](https://docs.python.org/3/library/venv.html).
21+
4022
</Info>
4123

4224
## Install optional dependencies from `pip`
4325

44-
Open Interpreter has optional dependencies for different capabilities. The options are:
26+
Open Interpreter has optional dependencies for different capabilities
4527

4628
[Local Mode](/guides/running-locally) dependencies
4729

@@ -67,32 +49,28 @@ Server dependencies
6749
pip install open-interpreter[server]
6850
```
6951

70-
## No Installation
71-
72-
If configuring your computer environment is challenging, you can press the `,` key on the [GitHub page](https://github.com/OpenInterpreter/open-interpreter) to create a codespace. After a moment, you'll receive a cloud virtual machine environment pre-installed with open-interpreter. You can then start interacting with it directly and freely confirm its execution of system commands without worrying about damaging the system.
52+
## Experimental one-line installers
7353

74-
## Terminal usage
54+
To try our experimental installers, open your Terminal with admin privileges [(click here to learn how)](https://chat.openai.com/share/66672c0f-0935-4c16-ac96-75c1afe14fe3), then paste the following commands:
7555

76-
After installation, you can start an interactive chat in your terminal by running:
56+
<CodeGroup>
7757

78-
```bash
79-
interpreter
58+
```bash Mac
59+
curl -sL https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-mac-installer.sh | bash
8060
```
8161

82-
## Python usage
83-
84-
To start an interactive chat in Python, run the following:
85-
86-
```python
87-
from interpreter import interpreter
62+
```powershell Windows
63+
iex "& {$(irm https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-windows-installer.ps1)}"
64+
```
8865

89-
interpreter.chat()
66+
```bash Linux
67+
curl -sL https://raw.githubusercontent.com/KillianLucas/open-interpreter/main/installers/oi-linux-installer.sh | bash
9068
```
9169

92-
You can also pass messages to `interpreter` programmatically:
70+
</CodeGroup>
9371

94-
```python
95-
interpreter.chat("Get the last 5 BBC news headlines.")
96-
```
72+
These installers will attempt to download Python, set up an environment, and install Open Interpreter for you.
9773

98-
[Click here](/usage/python/streaming-response) to learn how to stream its response into your application.
74+
## No Installation
75+
76+
If configuring your computer environment is challenging, you can press the `,` key on the [GitHub page](https://github.com/OpenInterpreter/open-interpreter) to create a codespace. After a moment, you'll receive a cloud virtual machine environment pre-installed with open-interpreter. You can then start interacting with it directly and freely confirm its execution of system commands without worrying about damaging the system.

0 commit comments

Comments
 (0)