Depending on the type of system, batteries can be installed both inside and outside of the property.
An average storage system will require approximately 1 – 2m² of wall space.
You can find out more here:https://www.moleenergy.com/homeowners/tesla-powerwall-2-0/
And here:https://www.moleenergy.com/homeowners/battery-storage-solar-edge/