Uninstalling intellij idea on ubuntu 18.04

I know this question has already asked
but i really want step by step commands to uninstall it by terminal
so please write correct commands and write it step by step because i want to copy and paste them in terminal
thank you for your help!