Transverse-momentum-dependent distributions (TMDs) are central in high-energy physics from both theoretical and phenomenological points of view. In this manual we introduce the library, TMDlib, of fits and parameterisations for transverse-momentum-dependent parton distribution functions (TMD PDFs) and fragmentation functions (TMD FFs) together with an online plotting tool, TMDplotter. We provide a description of the program components and of the different physical frameworks the user can access via the available parameterisations.