From 0b6ab238f946f6e85117824d88a4aa1fcede2a4b Mon Sep 17 00:00:00 2001 From: Xingyao Wang Date: Wed, 24 Apr 2024 17:05:27 +0800 Subject: [PATCH] Update Development.md (#1330) --- Development.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Development.md b/Development.md index aa5f97b375..f98e3e437d 100644 --- a/Development.md +++ b/Development.md @@ -12,6 +12,20 @@ This guide is for people working on OpenDevin and editing the source code. Make sure you have all these dependencies installed before moving on to `make build`. +#### Develop without sudo access +If you want to develop without system admin/sudo access to upgrade/install `Python` and/or `NodeJs`, you can use `conda` or `mamba` to manage the packages for you: + +```bash +# Download and install Mamba (a faster version of conda) +curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" +bash Miniforge3-$(uname)-$(uname -m).sh + +# Install Python 3.11, nodejs, and poetry +mamba install python=3.11 +mamba install conda-forge::nodejs +mamba install conda-forge::poetry +``` + ### 2. Build and Setup The Environment - **Build the Project:** Begin by building the project, which includes setting up the environment and installing dependencies. This step ensures that OpenDevin is ready to run smoothly on your system.