Translations:Wikibase/Installation/Advanced configuration/86/en

If it's installed elsewhere, you can set the $1 environment variable to the path of your MediaWiki installation and the scripts will use it.