To record a rap at home, you need to consider several factors for a good recording.

Dedicated recording software (DAW)
Basic recording equipment (Microphone, sound card)
Lyrics and backing track
Basic knowledge of mixing and mastering

What program is needed to record a rap?

You can use any program you know, as long as you understand it.
Professional paid programs are used in recording studios, but now there are many companies on the market that are not inferior in functionality and are available in free mode.
These programs are ideal for recording rap at home:

Cubase (paid)
Logic for Mac os users (free)
Reaper (free)
Studio One (free)

The well-known Adobe Audition program is also suitable for everyone, but only the above-mentioned programs are suitable for further recording.
How to choose equipment for recording rap at home?

This question certainly deserves a separate article, but we will show you the minimum budget set.

Microphone selectable USB (based on your budget)
Sound card will fit M-audio or Focusrite saffire
Professional monitors can replace high-quality monitor headphones

How to record rap correctly?

For high-quality recording of rap, special techniques are used for the dense sound of the voice.

Tips from the author:

Record your voice in parts (2-4 lines), rather than one track for the entire track
Record 2-3 double tracks for density
Write air backs between lines
For the chorus, record a minimum of 4 doubles for wide stereo sound of your vocals in the mix