This script automatically installs BlockAssist along with all dependencies, sets up Python 3.10 using pyenv, and runs BlockAssist inside a persistent screen session so it stays alive even if you disconnect.
- One-click setup for Linux (Ubuntu/Debian) and macOS.
- Installs all build dependencies needed to compile Python 3.10.
- Configures
pyenvin the current session. - Automatically installs required Python packages.
- Starts BlockAssist in a persistent
screensession — keeps running after disconnect. - If BlockAssist crashes, the screen session stays alive so you can debug.
- Linux (Ubuntu/Debian) or macOS
git,curl, andsudoaccess- Internet connection
sudo apt update && sudo apt upgrade -ysudo apt install git -ygit clone https://github.com/gensyn-ai/blockassist.gitcd blockassistRun Dependency Installation
bash <(curl -sL https://raw.githubusercontent.com/CodeDialect/gensyn-blockassist/main/blockassist.sh)Run bash
bashCreate Screen
screen -S blockassistRun Blockassist
export DISPLAY=:0 && pyenv exec python run.pyOpen new tab
sudo npm install -g localtunnellt --port 3000Go back to old tab ctrl c that then
cd ..Attach to BlockAssist:
screen -r blockassistThe script will:
- Clone the BlockAssist repository.
- Run the
setup.shprovided by BlockAssist. - Install all required build tools for compiling Python.
- Install and configure
pyenv. - Install Python 3.10.
- Install psutil and readchar packages.
- Ensure
screenis installed. - Launch BlockAssist in a persistent
screensession.
- Attach to BlockAssist:
screen -r blockassist
- Detach from session:
- Press
Ctrl + A, thenD
- Press
- Stop BlockAssist:
screen -S blockassist -X quit
- On first run, BlockAssist may ask for:
- Hugging Face API token.
- Gensyn Testnet login via your browser.
- The script configures
pyenvonly for the current shell session.
If you want it to work automatically on every login, add:to yourexport PYENV_ROOT="$HOME/.pyenv" [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init - bash)"
~/.bashrcor~/.zshrc.
Malmo Timeout 60s
sed -i 's#python -m malmo.minecraft launch#python -m malmo.minecraft launch --timeout 300#' scripts/run_malmo.sh