Back to Open Interpreter

Setup

docs/getting-started/setup.mdx

0.4.22.4 KB
Original Source
<iframe width="560" height="315" src="https://www.youtube.com/embed/5sk3t8ilDR8" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen ></iframe>

Installation from pip

If you are familiar with Python, we recommend installing Open Interpreter via pip

bash
pip install open-interpreter
<Info> You'll need Python [3.10](https://www.python.org/downloads/release/python-3100/) or [3.11](https://www.python.org/downloads/release/python-3110/). Run `python --version` to check yours.

It is recommended to install Open Interpreter in a virtual environment.

</Info>

Install optional dependencies from pip

Open Interpreter has optional dependencies for different capabilities

Local Mode dependencies

bash
pip install open-interpreter[local]

OS Mode dependencies

bash
pip install open-interpreter[os]

Safe Mode dependencies

bash
pip install open-interpreter[safe]

Server dependencies

bash
pip install open-interpreter[server]

Experimental one-line installers

To try our experimental installers, open your Terminal with admin privileges (click here to learn how), then paste the following commands:

<CodeGroup>
bash
curl -sL https://raw.githubusercontent.com/openinterpreter/open-interpreter/main/installers/oi-mac-installer.sh | bash
powershell
iex "& {$(irm https://raw.githubusercontent.com/openinterpreter/open-interpreter/main/installers/oi-windows-installer-conda.ps1)}"
bash
curl -sL https://raw.githubusercontent.com/openinterpreter/open-interpreter/main/installers/oi-linux-installer.sh | bash
</CodeGroup>

These installers will attempt to download Python, set up an environment, and install Open Interpreter for you.

No Installation

If configuring your computer environment is challenging, you can press the , key on the GitHub page 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.