An electric bicycle includes: an electric motor; a storage unit in which control software for controlling the electric motor is stored; a control unit configured to run the control software stored in the storage unit; and a communication interface unit to which a piece of hardware is removably and communicably connected. The control unit is configured to run an other piece of software different from the control software to control the piece of hardware which is communicably connected to the communication interface unit. The other piece of software is installed in the storage unit. Each of the control software and the other piece of software communicates using a distributed-communication protocol.