Skip to content

Instantly share code, notes, and snippets.

@andypiper
Last active February 4, 2024 18:27
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save andypiper/463ff260fcdf5a3c9a07b961b0155403 to your computer and use it in GitHub Desktop.
Save andypiper/463ff260fcdf5a3c9a07b961b0155403 to your computer and use it in GitHub Desktop.
Setup iSH / Alpine Linux on iPad
# edit the login message
vi /etc/motd
# switch to usable repos - iSH defaults often failed with EOF errors
echo https://dl-cdn.alpinelinux.org/alpine/v3.13/main > /etc/apk/repositories
echo https://dl-cdn.alpinelinux.org/alpine/v3.13/community >> /etc/apk/repositories
# install some basics
apk add zsh bash
apk add sed attr dialog dialog-doc bash bash-doc bash-completion grep grep-doc
apk add util-linux util-linux-doc pciutils usbutils binutils findutils readline
apk add lsof lsof-doc less less-doc nano nano-doc curl curl-doc
# add utilities
apk add git bat jq mosquitto-clients
# install Ruby (NB ruby-json req'd for some gems)
apk add ruby ruby-dev build-base ruby-json
# refresh
apk upgrade
# install and setup twurl
gem install twurl
# (copy in a usable .twurlrc)
twurl -j "/1.1/users/show.json?screen_name=andypiper" | jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment