By default Hivemind will connect to the mainnet [https://api.hive.blog](https://api.hive.blog) but if required you can change this to connect to a testnet. To do this set the environment variable as described below.
By default Hivemind will connect to the mainnet [https://api.hive.blog](https://api.hive.blog) but if required you can change this to connect to a testnet. To do this set the environment variable as described below.
```bash
```bash
$ export HIVED_URL=http://127.0.0.1:8091
# Note as of 2021-03-30, hivemind still internally uses the environment variable called STEEMD_URL for this.