According to MacPorts' wiki/guide you need to have a working Port command but in my case the Port command isn't working.
How do I uninstall MacPorts?
I have tried Googling the solution but what I found is that someone said on some random discussion board that just skip Port command part and directly move onto the next one but some files will remain.
I have seen a lot of 'solutions' online but most of them ending with the user reinstalling MacPorts due to corrupted/failed installation. This isn't what I am looking for.
I don't want some files to remain, I want to clean it completely as I am not planning to reinstall MacPorts any time soon.
*By the way, I have HomeBrew installed, I hope the solution that you guys offers won't tamper with my HomeBrew installation.