# Install wasmvm

Create a directory for the library

```bash
mkdir ~/.empe-chain/lib
```

Download the library to the directory

```bash
wget https://github.com/CosmWasm/wasmvm/releases/download/v1.5.2/libwasmvm.x86_64.so -P ~/.empe-chain/lib
```

Add the library to the path

```bash
echo 'export LD_LIBRARY_PATH=/home/$USER/.empe-chain/lib:$LD_LIBRARY_PATH' >> ~/.profile
source ~/.profile
```

### Add wasmvm path to cosmovisor service

Add the following line to the cosmovisor service file under the `[Service]` section. Remember to change `user_path` to your actual path

```bash
Environment="LD_LIBRARY_PATH=/home/user_path/.empe-chain/lib:$LD_LIBRARY_PATH"
```

Restart the cosmovisor service

```bash
sudo systemctl daemon-reload
sudo systemctl restart cosmovisor
```
