You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
01/docs/getting-started/setup.mdx

90 lines
2.2 KiB

10 months ago
---
title: 'Setup'
description: 'Get your 01 up and running'
10 months ago
---
## Captive portal
To connect your 01, you will use the captive portal.
1. Turn on your computer or laptop and connect to the '01 light' Wi-Fi network.
2. Enter your Wi-Fi/hotspot name and password in the captive portal page.
3. Enter the server URL generated on their computer and hit 'Connect'.
Now you're connected and ready to go!
# Local 01OS
## Prerequisites
There are a few packages that need to be installed in order to run 01OS on your computer
```bash
# MacOS
brew install portaudio ffmpeg cmake
# Ubuntu
sudo apt-get install portaudio19-dev ffmpeg cmake
# Install poetry
curl -sSL https://install.python-poetry.org | python3 -
```
#### Windows
On Windows you will need to install the following:
- [Git for Windows](https://git-scm.com/download/win).
- [virtualenv](https://virtualenv.pypa.io/en/latest/installation.html) or [MiniConda](https://docs.anaconda.com/free/miniconda/miniconda-install/) to manage virtual environments.
- [Chocolatey](https://chocolatey.org/install#individual) to install the required packages.
With these installed, you can run the following commands in a **PowerShell terminal as an administrator**:
```powershell
# Install the required packages
choco install -y ffmpeg cmake
```
## Install 01
To install the 01 CLI
```bash
# Clone the repo and navigate into the 01OS directory
git clone https://github.com/OpenInterpreter/01.git
```
## Run the 01
In order to run 01 on your computer, use [Poetry](https://python-poetry.org/docs/#installing-with-the-official-installer).
Navigate to the project's software directory:
```bash
cd software
```
Install your project along with its dependencies in a virtual environment managed by Poetry.
```bash
poetry install
```
Run your local version of 01 with:
```bash
poetry run 01
```
## Swap out service providers
You have the ability to set your <a href="/services/language-model">LLM</a>, <a href="/services/speech-to-text">STT</a>, and <a href="/services/text-to-speech">TTS</a> service providers
## Server setup
You are able to run just the <a href="/server/setup">server</a>.
## Client setup
You are able to run just the <a href="/client/setup">client</a>.