Skip to content

Instantly share code, notes, and snippets.

@5shekel
Last active April 27, 2024 15:22
Show Gist options
  • Save 5shekel/e523c7df210b44c6e8b18e82f13d162e to your computer and use it in GitHub Desktop.
Save 5shekel/e523c7df210b44c6e8b18e82f13d162e to your computer and use it in GitHub Desktop.
install openDevin on WSL

install openDevin on windows wsl

all this inside your WSL ubuntu shell.

have python (3.11+)

check

python --version

get node (using nvm)

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install node
nvm use node

install docker inside wsl

full docker on wsl guide here, or do the docker-desktop thing from windows host.

sudo apt install --no-install-recommends apt-transport-https ca-certificates curl gnupg2 make
. /etc/os-release
curl -fsSL https://download.docker.com/linux/${ID}/gpg | sudo tee /etc/apt/trusted.gpg.d/docker.asc
echo "deb [arch=amd64] https://download.docker.com/linux/${ID} ${VERSION_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt update && sudo apt install docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker $USER
sudo dockerd
docker run --rm hello-world

clone and build

git clone https://github.com/OpenDevin/OpenDevin.git
code OpenDevin/
make build
# you will get an error after poetry install that it cant find it. 
source ~/.profile && poetry --version
#run make build again
make build
make setup-config

run

cd OpenDevin
mkdir ./workspace
make run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment