Set home directory in code after install
Author: SoftologyProCreated Sep 17, 2026Updated Sep 17, 2026
How can I automate the install directory location other than the default C:\Pinokio once installed?
I have tried to create a config.json under C:\Users\MyUSerName\.pinokio once the install finishes.
I thought that Pinokio would read this at startup and use the json settings and use the directory I want.
ie.. this config.json
{
"access": {
"protocol": "http",
"host": "192.168.1.102",
"port": 42000,
"candidates": [
"192.168.1.102",
"100.64.100.6",
"192.168.56.1"
],
"updated_at": "2026-09-17T09:14:53.327Z"
},
"theme": "light",
"home": "D:\\my\\path\\here\\Pinokio",
"mode": "desktop",
"HTTP_PROXY": "",
"HTTPS_PROXY": "",
"NO_PROXY": "",
"version": "8.2.0"
}But instead when Pinokio starts it replaces that with this and then prompts for the home directory.
{
"access": {
"protocol": "http",
"host": "192.168.1.102",
"port": 42000,
"candidates": [
"192.168.1.102",
"100.64.100.6",
"192.168.56.1"
],
"updated_at": "2026-09-17T09:17:33.390Z"
}
}If I exit Pinokio, copy the first json file back again and start Pinokio it puts the second json back again?
How can I set the home directory after pinokio install finishes and before the first run? This is Windows if it makes a difference.
Source: pinokiocomputer/pinokio