Disclosed are a class of compounds as a caspase inhibitor, and in particular the compound as shown in formula (I) or a pharmaceutically acceptable salt thereof, and the use of the compound in treating caspase-related diseases.本申請公開了一類作為caspase抑制劑的化合物,具體公開了式(I)所示化合物或其藥學上可接受的鹽,以及該化合物在治療caspase相關病症方面的用途。