Beware, the name was not picked acccidentally. Trimforce forces TRIM activation on all 3rd party SSDs regardless of whether they support it or not, so use at your own discretion. Generally, it should be safe to use if your disk manufacturer recommends having TRIM turned on, but only your own testing will confirm that. As always, be sure you have full and regular backups of your disks in case of data corruption.
sudo — meaning you’ll need an admin password to do this:
sudo trimforce enable
The new command line utility doesn’t have a
--status option, so if you want to check the current TRIM status from the command line, you’ll need this command:
system_profiler SPSerialATADataType | grep 'TRIM'