Por pouco - By little
Depending on the context it’s the equivalent of “nearly”, “close call”, “by very little”, “barely”, and/or similar words.
ex. Eu passei o teste por pouco mas passei! - I barely passed the test, but I passed!
Por pouco que o caminhão não bateu no carro - The truck nearly hit the car/the truck missed the car by very little