specify a prettier config file in prettier cli code example Example: run prettier npx prettier --write path/to/my/file.html