Tom, many thanks for your assistance. Creating a station works perfectly.
For reconfiguring a station, I noticed the option [--weewx-root=DIRECTORY], which probably could be used for a custom path.
However, I would like to come back to the issue re upgrading a station.
I tried all of these, none of which worked:
weectl station upgrade --what examples util /home/test
weectl station upgrade /home/test --what examples util
weectl station upgrade --examples-root=/home/test
weectl station upgrade --weewx-root=/home/test --what examples util
How is the correct syntax to upgade an existing station at a custom path?
Thank you.