Last active
August 18, 2023 22:27
-
-
Save matteocrippa/596b9d6c3524309244aacb3b8ae53544 to your computer and use it in GitHub Desktop.
iPad iSH + NVM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo nameserver 1.1.1.1 > /etc/resolv.conf | |
apk add --no-cache alpine-sdk bash libstdc++ libc6-compat npm libx11-dev libxkbfile-dev libsecret-dev zsh curl | |
vi /etc/passwd # replace ash with zsh for root | |
#wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash | |
#echo "nameserver 1.1.1.1 > /etc/resolv.conf" >> .zshrc | |
#echo "export NVM_NODEJS_ORG_MIRROR=https://unofficial-builds.nodejs.org/download/release" >> .zshrc | |
#echo "export NVM_IOJS_ORG_MIRROR=https://example.com" >> .zshrc | |
#echo "nvm_get_arch() { nvm_echo \"x64-musl\"; }" >> .zshrc | |
#source .zshrc | |
#exit | |
#nvm install 16 | |
#echo "16.20.2" > .nvmrc | |
#curl -fsSL https://code-server.dev/install.sh | sh | |
npm install -g --cache /tmp/npm-cache --unsafe-perm code-server && rm -r /tmp/npm-cache | |
echo https://dl-cdn.alpinelinux.org/alpine/v3.16/main >> /etc/apk/repositories | |
echo https://dl-cdn.alpinelinux.org/alpine/v3.16/community >> /etc/apk/repositories | |
sed -i -e '/http:\/\/apk.ish.app/d' /etc/apk/repositories |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment