The reader is assumed to be familiar with general categorical notions, some basic commutative algebra and some advanced homological algebra (derived categories, simplicial methods). Apart from these general prerequisites, the text is as self-contained as possible. One novel feature of the book - compared with Faltings' earlier treatment - is the systematic exploitation of the cotangent complex, especially for the study of deformations of almost algebras.