apt update
apt upgrade
apt install make unrar-free autoconf automake libtool gcc g++ gperf \
flex bison texinfo gawk ncurses-dev libexpat-dev python-dev python python-serial \
sed git unzip bash help2man wget bzip2 libtool-bin gcc-multilib g++-multilib
adduser esp8266sdk
su - esp8266sdk
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
cd esp-open-sdk
make STANDALONE=y
export PATH=/home/esp8266sdk/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
export XTGCCPATH=/home/esp8266sdk/esp-open-sdk/xtensa-lx106-elf/bin/
git clone https://github.com/MitchBradley/cforth
cd cforth/build/esp8266
make