# Installation
## Requirements
- Linux (amd64 or arm64)
- Network access to api.moniqo.dev
## Quick install
```bash
curl -s https://moniqo.sh/install | bash
```
## Manual install
1. Download the binary for your architecture from the [Downloads](/downloads) page
2. Place it in `/usr/local/bin/moniqo-agent`
3. Create the config file at `/etc/moniqo/agent.conf`:
```
api_endpoint=https://api.moniqo.dev
api_token=YOUR_TOKEN_HERE
```
4. Start the agent:
```bash
/usr/local/bin/moniqo-agent --config /etc/moniqo/agent.conf
```
## Systemd service
Create `/etc/systemd/system/moniqo-agent.service`:
```ini
[Unit]
Description=Moniqo Agent
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/moniqo-agent --config /etc/moniqo/agent.conf
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
```
Then enable and start:
```bash
systemctl enable moniqo-agent
systemctl start moniqo-agent
```