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/getting-started.mdx

40 lines
1.3 KiB

---
title: "Getting Started"
description: "Preparing your machine"
---
## Prerequisites
There are a few packages that need to be installed in order to run 01OS on your computer
```bash
# Install poetry
curl -sSL https://install.python-poetry.org | python3 -
```
```bash
# MacOS
brew install portaudio ffmpeg cmake
# Ubuntu (wayland not supported, only ubuntu 20.04 and below)
sudo apt-get install portaudio19-dev ffmpeg cmake
# 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.
- [Microsoft C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools):
- Choose [**Download Build Tools**](https://visualstudio.microsoft.com/visual-cpp-build-tools/).
- Run the downloaded file **vs_BuildTools.exe**.
- In the installer, select **Workloads** > **Desktop & Mobile** > **Desktop Development with C++**.
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
```