To install tslint run command
npm install -g tslint
Tslint is configured via file tslint.json. To initialize default configuration run command
tslint.json
tslint --init
To check file for possible errors in file run command
tslint filename.ts