Use a box or jump up to the bar so you can hang with your chin above the bar. Hands should be about shoulder width apart, knuckles on top of the bar.
Keep your whole body tight, to give you more control and prevent swinging.
Do this by keeping legs together, toes pointed, & slightly in front of the body, this helps engage the core. Hold for time.