It’s installed with the Algorand software, which also installs goal.
See Examples for python in algov2 - #6 by fabrice
but please adapt to the new endpoints of algoexplorer, that is using https://node.algoexplorerapi.io or equivalent.
See https://algoexplorer.io/api-dev/v2