How delete an application that is bundled with macOS?
Apple's apps in /Applications and /Applications/Utilities as well as some other usually invisible system files and folders are protected by System Integrity Protection in El Capitan and later. You have to disable SIP temporarily to remove apps fallen into disgrace.


How do I disable System Integrity Protection (SIP) AKA “rootless” on OS X 10.11, El Capitan?
Reboot to your main system and remove the app with sudo rm -rf /Applications/TextEdit.app.
Enable SIP again by booting to Recovery Mode gain but entering csrutil enable in Terminal.app.




After a system update or upgrade TextEdit may reappear because it was updated.