# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chadboyce.gitbook.io/notes/ish.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
