At the main harbor of Capri's Marina Grande, take a convertible taxi, minibus, or the funicular railway (the most practical) up to the main town of Capri.
The funicular railway is an impractical way to get to Capri's main town.