# Installing POCS

## Installation

We have created an install script that should install all the necessary components that can be run once you have finished [Installing OS](/build/software/installation/pocs-installation.md).

{% hint style="info" %}
If you are connected directly to the computer and using a desktop environment, open a Terminal from the Applications menu in order to enter the commands below.
{% endhint %}

Make sure you are connected to the internet first, then from a command line (see [Command Line & The Shell](/build/software/appendix/command-line-and-the-shell.md)) enter the following:

```shell
bash -c "$(wget -qO- https://install.projectpanoptes.org)"
```

{% hint style="info" %}
The characters in the command above are alphabets lowercase `q` (for “quiet”) and uppercase `O` (for “Output”), not small q and zero (`0`).
{% endhint %}

This will fetch and run the installation script.&#x20;

{% hint style="warning" %}
The installation script can take anywhere from 5 to 30 minutes to complete, depending on the speed of your internet connection, the exact model of Raspberry Pi you have, etc. If it has been more than an hour or so then something might have gone wrong and it's probably best to start completely from scratch with a fresh OS install (sorry!).
{% endhint %}

When the installation is complete the script will ask you to reboot. Once you have rebooted you should be able to control most aspects of your system!&#x20;

## Updating POCS

If you need to update the POCS software, you can run the following commands in a terminal:

```
cd ~/pocs
git pull
```

You should only need to do this when asked.


---

# 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://www.projectpanoptes.org/build/software/installation/installing-pocs.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.
