Beware, though. The same goats who will gladly attack the out of control blackberry bushes you've been meaning to trim back for years, will also take delight in your flowers and vegetables, not to mention your shoes or toys left laying around.
As with any kind of livestock you want to raise in the city, the first step is checking with your city ordinances to see what, if any, restrictions are put on raising goats.
Things to Consider BEFORE You Get Started
If goats are allowed where you live and you're ready to become a goat owner, here are the basic things to consider when starting out:
First, find out if your city (and HOA if you're in one) allow goats. Although goats haven't gained as much fame as chickens in urban backyards, more and more cities are allowing them. Make sure you're bringing home an animal that's allowed where you live.
Next, decide what are you going to use your goat for. Will it be a family pet or do you want milk or meat from your goat? There are several miniature breeds of goats that work well for city dwellers. Which kind you get would depend on what you want it for.
Goats need a sheltered place to live--this should be at least 25 square feet per goat and can be a simple as a three sided lean-to, but must be draft free.
A good strong fence is imperative. This not only serves to keep the goats in, but also to keep unwanted (and potentially harmful) others out--like the neighbors large dog who would love fresh goat for dinner.
Because goats are herd animals, it's best to buy them in pairs (or more). Goats need one another to properly socialize and be happy.
For more information about raising goats:
What kind of Dwarf Goat do You Want?
Basic Information on Raising Goats
Here's a great goat book to get you started:
The Backyard Goat, An Introductory Guide