We'll use Python pip to install esptool CLI utility
Create a new virtual environment (this will set ownership of the new env directory to your personal user account, instead of root)
sudo python3 -m venv /opt/esptool && \
sudo chown -R $(whoami) /opt/esptool-test