> For the complete documentation index, see [llms.txt](https://chadboyce.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chadboyce.gitbook.io/notes/ish.md).

# ish (iOS)

## Installing Alpine Linux `apk` Package Manager

```shell
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 && rmdir sbin 2> /dev/null
```

## Mounting Filesystem

```shell
mkdir mnt
mount -t ios . mnt 
```

select any location

## Mounting an iOS Files location into `ish`

The following example mounts the location you specify, in the iOS Files popup that happens after the conmand is run. It places that location in the `filez` directory as specified.

```shell
mount -t ios filez /mnt
```

## Using clipboard (when "paste" button isn't working)

This will put clipboard contents to `stdout`.

```shell
cat /dev/clipboard

# save clipboard to a file
cat /dev/clipboard > file.txt
```

## Using main `apk` repositories instead of `ish` repos

```bash
echo https://dl-cdn.alpinelinux.org/alpine/edge/main > /etc/apk/repositories
echo https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories
apk update
apk upgrade
```

Now you can add current version of `neovim` for example:

```bash
apk add neovim
```

## Changing Default Shell

```bash
apk add shadow
```

Now you can run `chsh` and type in the default shell
