If you are a California resident and you wish to drive on public roadways or use public parking facilities, you must obtain a California driver license.
You are considered a California resident if you vote in California elections; if you pay resident tuition at a California university or college; if you file for a homeowner's property tax exemption; or if you receive any benefits that are not normally given to non-residents.
If you are a new resident of California, you must apply for a California driver license within 10 days.
You can apply for a driver license at your local DMV office.
These tests can be taken at most DMV offices.
You will find all the requirements here: https://www.dmv.ca.gov/portal/dmv/detail/dl/dlapp_lnks