Skip to main content

Command Palette

Search for a command to run...

Running Go Program on iOS and iPadOS with iSH

Published
1 min read
Running Go Program on iOS and iPadOS with iSH
Y

Yusuf Adeyemo is a DevOps Engineer from Nigeria. He loves helping startups deliver better software and provide more control over their environment and software development process with the help of modern tools and automation.

How about Debugging and running your Go Program with your iPhone? Huh, Why Not

In this guide, I will be showing you how to set up a Go Environment on your iOS and iPadOS with iSH.

iSH

image.png

iSH is a Linux-like shell on iOS. You can edit files with sed and cat, move them around, and more!

You can get it here https://apps.apple.com/us/app/ish-shell/id1436902243

Now that you have downloaded the App. Let’s do the magic.

Install the Alpine Linux package manager apk: Run

wget -qO- http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86/apk-tools-static-2.10.5-r1.apk | tar -xz sbin/apk.static && ./sbin/apk.static add apk-tools && rm sbin/apk.static

Fetching Alpine’s repository list: Run apk update

Installing Node.js: apk add --no-cache --virtual .build-deps bash gcc musl-dev openssl go

Test to make sure Go is installed by typing go version, you should see something along the lines of

go version go1.13.15 linux/386

More from this blog

DevOps with Yusadolat

37 posts