how many years do you learn to be a pilot?
The shortest possible time it takes to train as an airline pilot is around 18 months, assuming the trainee has no previous flying experience and performs to a high standard throughout their training.