Indazole compounds of formula (I) as cyclin-dependent kinase (CDK) and cellproliferation inhibitors, and therapeutic uses and methods of preparation thereof, are disclosed. These compounds, and pharmaceutically acceptable salts, solvates, prodrugs, and pharmaceutical compositions thereof, are useful for treating diseases and disorders associated with activity of cyclin-dependent kinases, in particular CDK4/6, including but not limited to various cancers and inflammation-related diseases or conditions: