# Install Home Assistant in Proxmox via script

### Deploy Home Assistant

### [Github Script](https://github.com/whiskerz007)

* To install [VM](https://github.com/whiskerz007/proxmox_hassos_install) version - use this
* To install [LXC](https://github.com/whiskerz007/proxmox_hassio_lxc) container version - user this

### Unable to install Home Assistant via script in Proxmox

Look like with HA 6.0, they have some files zipped up. If you want to install right now, download that install.sh script:

```bash
wget https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh
```

install the unzip program:

```bash
apt install unzip
```

edit the install file:

```bash
sed '/*"gz") gunzip -f $FILE;;/a\ \ *"zip") unzip -o $FILE;;' install.sh > temp.sh

mv temp.sh install.sh

chmod 755 install.sh
```

Now you can run install.sh:

```bash
./install.sh
```
