# Standalone Installation

## Requirements

Recommended hardware requirements most likely will be capped from beneath by the requirements of your execution and consensus clients. However, if you install the PowerAgent on a separate machine than the blockchain node, it should have at least:

* 2-Core relatively modern CPU
* 8 GB RAM
* 20 GB SSD
* Linux-based OS (Debian or Ubuntu are a good choice)

{% hint style="info" %}
The package is not configured to work on MacOS.
{% endhint %}

## Standalone installation

1. Obtain a machine satisfying the requirements.
2. Install [Node.js](https://nodejs.org/en), npm, [Docker Engine](https://docs.docker.com/engine/) and [Docker Compose](https://docs.docker.com/compose/).
3. Start a terminal session.
4. Clone the repo into a separate folder:

```bash
git clone https://github.com/eitelvolkerts/sepolia-agent-standalone
```

5. Follow the instructions specified here: [powerpool-finance/powerpool-agent-v2-compose (github.com)](https://github.com/powerpool-finance/powerpool-agent-v2-compose) to obtain a keyfile. Here is the short version:

```bash
git clone https://github.com/powerpool-finance/powerpool-agent-v2-compose
cd powerpool-agent-v2-compose
npm i
node jsongen.js ${A} ${B}
```

where `${A}` is the private key of your worker, and `${B}` is the password you choose to encrypt the private key.

6. Move the keyfile to the `sepolia-agent-standalone/keys/` directory. Remove the placeholder key.
7. Open the file `sepolia-agent-standalone/config/main.yaml` and enter the values that are required there (see [chain-specific-configs](https://docs.powerpool.finance/powerpool-and-poweragent-network/power-agent/old-pages/installation-guide-old/chain-specific-configs "mention")). Keep the quotation marks (`""`) in the address field.
8. &#x20;

```bash
cd sepolia-agent-standalone
```

9. Launch the PowerAgent node:

```bash
docker compose up -d
```

10. This will create and launch the container. In order to remove it, execute the command:

```bash
docker compose down --rmi local 
```

in `sepolia-agent-standalone/` directory.
