# Getting Started

{% embed url="<https://github.com/gensyn-ai/codeassist>" %}

{% hint style="warning" %}
CodeAssist has been sunset. Please see the [home page](https://docs.gensyn.ai/testnet/codeassist) for more information.
{% endhint %}

## Overview

This page helps you prepare your system and choose the correct installation path for CodeAssist.&#x20;

It provides a readiness checklist, supported platforms, and an overview of the setup process before you begin installing and running CodeAssist on your device.

<div data-with-frame="true"><figure><img src="https://1034405018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcazOdplbOmP4R0T7sG8%2Fuploads%2Ffus2lHjVF59ATZsxiNRa%2Fimage.png?alt=media&#x26;token=7803e486-e7c1-4bab-b223-3f451e96246e" alt=""><figcaption></figcaption></figure></div>

### Before you Begin

CodeAssist is available across several environments: [Windows (via WSL 2)](https://docs.gensyn.ai/testnet/codeassist/getting-started/windows-wsl-2), [Linux (Ubuntu 22.04+)](https://docs.gensyn.ai/testnet/codeassist/getting-started/linux), and [macOS (Intel and Apple Silicon).](https://docs.gensyn.ai/testnet/codeassist/getting-started/macos)

{% hint style="info" %}
A virtual private server (VPS) is **not** required to run CodeAssist.
{% endhint %}

Before you start, make sure you meet the basic requirements and have the necessary accounts.

#### System Requirements <a href="#system-requirements" id="system-requirements"></a>

* 8 GB RAM minimum (32 GB recommended)
* Stable internet connection
* At least 10 GB of available storage (for overhead)
* Modern multi-core CPU (Intel, AMD, or Apple Silicon)

#### Software Requirements

* [Docker](https://docs.docker.com/engine/install/)
* [Python 3.10+](https://www.python.org/downloads/)
* [Homebrew](https://app.gitbook.com/u/d4yrITUISyacwKieX5GLAdXoqmp1) (if installing on [macOS](https://docs.gensyn.ai/testnet/codeassist/getting-started/macos))
* [Git](https://git-scm.com/install) (for cloning the repo)

#### Accounts & Access

* **Hugging Face account:** You’ll need a Write-access API token to upload your model after training. See the [Hugging Face Guide](https://docs.gensyn.ai/testnet/codeassist/hugging-face-guide) for instructions.
* **Gensyn Testnet account:** Automatically created when you first log in through your browser during setup.

{% hint style="info" %}
When logging in, different types of External Object Identifiers (EOA) are assigned based on the authentication method used.&#x20;

Google authentication typically assigns an EOA linked to the user's Google account. On the other hand, logging in via OTP (One-Time Password) often results in an EOA tied to the mobile number or email address used for the OTP process.
{% endhint %}

#### Quickstart

You can find the quickstart commands for cloning the repository and installing dependencies below. If you take this route, it's recommended to use an IDE like Cursor in case you experience any initial issues.&#x20;

1. Run this sequence of commands in your terminal:

```bash
git clone https://github.com/gensyn-ai/codeassist
cd codeassist
uv run run.py
```

2. Open CodeAssist, load a LeetCode problem, and check that the container starts successfully.
3. You can also use the following commands to verify you've installed all the required dependencies correctly:

```bash
docker --version
python3 --version
uv --version
```

If you encounter any errors, head over to the [Troubleshooting](https://docs.gensyn.ai/testnet/rl-swarm/troubleshooting) page.

### Supported Platforms & Installation Paths

See platform-specific installation instructions below.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Windows (WSL 2)</strong> </td><td>Install, run, and train models in a Linux-based Windows environment. </td><td><a href="getting-started/windows-wsl-2">windows-wsl-2</a></td></tr><tr><td><strong>Linux (Ubuntu 22.04+)</strong></td><td>Install CodeAssist natively on Ubuntu or a compatible distribution for the most stable experience.</td><td><a href="getting-started/linux">linux</a></td></tr><tr><td><strong>macOS (Intel &#x26; Apple Silicon)</strong></td><td>Install and run CodeAssist on macOS devices using <code>brew</code> or <code>curl</code> for dependency management. Both Intel and M-Series CPUs are supported. </td><td><a href="getting-started/macos">macos</a></td></tr></tbody></table>
