(U.S. native speaker) I've never heard it as slang. A ratchet is a mechanical device that allows something to be turned in only one direction. It makes a clicking sound.
Colloquially, I have frequently heard the expression "to ratchet something up."
For example, "they keep ratcheting up the amount of overtime we have to work."
It means that something is raised but never lowered. It carries the idea that each new level becomes normal, and can't be reduced again--but can be raised.
Each new level--each click of the ratchet--is called a "notch."
"West is ready to ratchet up sanctions against Russia, says Hammond"--headline
"11 Better Practices That Can Ratchet Up Performance"
"Seattle teachers ratchet up movement against high-stakes tests"