Number of posts on homepage v archive pages

Is there any way that I can show say only 5 posts on the homepage of my website; but then show 10 or even more than that on the archive pages?

Hi @jdgmedia,

I hope you are well today and thank you for your question.

You can achieve this by developing custom code as described in the following pages.

Best Regards,