Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Americans pronounce compost as KAHM-pohst (/ˈkɑmˌpoʊst/). Stress falls on the first syllable — keep everything else short and quick. You'll hear it in sentences like "He uses compost to fertilize the garden naturally".
Record yourself saying "compost" and play it back. The mic stays on your device — nothing's uploaded.
2 syllables, 7 sounds. Tap a syllable to jump to its row, then explore each sound's mouth shape and how it's made.
Raise the back of your tongue to touch the soft palate (velum). Stop the air, then release.

Relax your lips and drop your jaw significantly. The tongue tip lightly touches behind the bottom front teeth and the back part of the tongue presses down a little to create more dark space in the back of the mouth.

Press your lips together. Air flows through your nose. Vocal cords vibrate.

Press your lips together to stop the air, then release. No vocal cord vibration.

Start with your mouth slightly open, then close your jaw slightly as your lips round. Shift your tongue back slightly, then stretch the back up.
Place your tongue tip near the roof of your mouth behind your top teeth. Push air through the narrow gap. No voicing.

Touch the tip or front edge of your tongue to the roof of your mouth just behind your teeth. Keep your jaw relaxed. Stop the air, then release with a puff.

The textbook way isn't wrong — it's just not how anyone actually says it.
Stress falls on the first syllable, not the others. Stretch KAHM — keep everything else short and quick.