Why not start with installing Git and syncing your dotfiles? Install what you want through the APT package management system known from Debian and Ubuntu GNU/Linux. Access API endpoints with curl and use rsync to store backups of your contact list on a remote server.
Take your pick between Bash, fish or Zsh and nano, Emacs or Vim. Termux combines standard packages with accurate terminal emulation in a beautiful open source solution. Access remote servers using the ssh client from OpenSSH.