¿Cómo te va? is used to ask How's it going? when you’re talking to friends.
But what if you want to check in with your boss or professor? In more formal situations, use ¿Cómo le va? instead.