https://wiki.archlinux.org/index.php/Dash
If early boot, minimal environment etc scripting duties. Training / testing
interactive use as in Busybox or real standalone?
https://askubuntu.com/questions/704688/line-editing-in-dash
a)
apt install busybox
/bin/busybox ash
b) or
git clone https://git.kernel.org/pub/scm/utils/dash/dash.git
cd dash
./autogen.sh
./configure --with-libedit
make
./src/dash -E
c) or
apt install rlwrap / port install rlwrap / ... (port install dash, if macOS < 10.15)
rlwrap -pred -AcmD2 dash