$ ./nodebb setup --help Usage: setup [options] [config] Run the NodeBB setup script, or setup with an initial config Options: -h, --help output usage information

You want to pass JSON text as the config. You can read a config file into an environmental variable and pass that as the config parameter:

BASE_CONFIG=$(cat config.base.json) ./nodebb setup $BASE_CONFIG

I think that's right anyways