Here is a list of Indian Prime Ministers from the year 1947 (independence) until my knowledge cutoff in May2023:
1. Jawaharlal Nehru (1947-1964)
2. Lal Bahadur Shastri (1964-1966)
3. Indira Gandhi (1966-1977)
4. Morarji Desai (1977-1979)
5. Charan Singh (1979-1980)
6. Indira Gandhi (1980-1984)
7. Rajiv Gandhi (1984-1989)
8. Vishwanath Pratap Singh (1989-1990)
9. Chandra Shekhar (1990-1991)
10. P.V. Narasimha Rao (1991-1996)
11. Atal Bihari Vajpayee (1996) - for a short period of 13 days
12. H.D. Deve Gowda (1996-1997)
13. Inder Kumar Gujral (1997-1998)
14. Atal Bihari Vajpayee (1998-2004)
15. Manmohan Singh (2004-2014)
16. Narendra Modi (2014-2023)
Please note that this list is accurate up to May 2023, and there may have been changes in the Prime Minister's office after that.