Earlier versions of macOS don’t support this command, but there are third party apps, such as TRIM Enabler ($14.99), that can enable it. Before you enable TRIM on the freshly installed SSD, we highly recommend doing a manual backup with Time Machine (or the backup service of your preference). Making sure that TRIM is enabled on Windows 10, you only need to use a command using the Command Prompt with administrator privileges. Use the Windows key + X keyboard shortcut to open the Power. This is Trim Enabler by Oskar Groth. The software will patch Mac OS X 10.6.8 Snow Leopard to support the SATA TRIM command on non-Apple SSDs. When using an SSD, a TRIM-enabled system is highly recommended. The MacBook Pro Early 2011 was the first Mac to have a SATA-SSD BTO option. Trim Enabler lets you enable trim, monitor your disk health, optimize your performance, and benchmark your drive. Enable Trim - Flip the switch to enable trim safely and improve your data writing speeds and overall drive longevity. Monitor Health - The advanced health feature uses S.M.A.R.T technology to report drive status and remaining health. You shouldn’t need to worry about enabling TRIM yourself. But, if you want to double-check that Windows has enabled TRIM, you can. When TRIM is enabled, Windows will send an instruction to your solid-state drive every time you delete a file. The solid-state drive can then automatically erase that file’s contents.
This is Trim Enabler by Oskar Groth. The software will patch Mac OS X 10.6.8 Snow Leopard to support the SATA TRIM command on non-Apple SSDs.
When using an SSD, a TRIM-enabled system is highly recommended.
The MacBook Pro Early 2011 was the first Mac to have a SATA-SSD BTO option. It came with 10.6.6 pre-installed, which lacks TRIM support entirely. Apple subsequently included TRIM support with the Mac OS X 10.6.7 update, enabling everyone running Snow Leopard to have TRIM commands automatically used with Apple-approved SATA SSDs, prolonging the life of its flash memory cells. It was also included in the 10.7.2 update for Lion.
While other operating systems provide support for TRIM when a device reports this capability, Apple decided to activate TRIM only on tested SSDs. Only by hacking the kexts it is possible to force the drivers to use TRIM also on non-Apple-approved devices.
Like the trimforce command, which was included in OS X 10.10 Yosemite and newer, this comes without any warranty, as some SATA SSDs are not 100% compliant to the SATA TRIM standard or simply fail to implement it correctly. Back in 2011 some devices had been tested bad in this regard, resulting in system instability or even data loss with TRIM, which is why Apple enabled it only for its own SSD options. Modern SATA SSDs generally do support the TRIM command very well, which is why it should be force-enabled.
Trim Enabler 2.2 is preserved here because it is no longer available for download. At times it is possible to get it though the Internet Archives WaybackMachine. Its use was free, asking for a donation, so please do consider donating. Be aware that if you purchase a Trim Enabler 4 license you should also get versions 2.2 and 3.2.6 along with it.
TRIM must be supported by certain drivers (kexts, short for kernel extensions), like I/O block access, file systems, etc. Apple first included this support in Mac OS X/Intel 10.6.7, specifically for the 2011 MacBook Pro, as well as in Mac OS X 10.7.2 Lion.
For Mac OS X 10.6.7 and 10.6.8 use Trim Enabler 2.2.
Lion and newer
TRIM support is not present before Mac OS X 10.7.2. For Lion and up use Trim Enabler 3.2.6, the last Trim Enabler 3 version available. It also works in OS X 10.8 Mountain Lion and 10.9 Mavericks. Like the previous version, Trim Enabler 3 was donationware.
Yosemite and newer
Trim Enabler is no longer required in OS X 10.10 Yosemite or newer, which provides the trimforce shell command. By running 'sudo trimforce enable' in Terminal.app, TRIM can be enabled for untested SSDs without warranty. However, Trim Enabler Version 4 is available for Yosemite and later.
As you may or may not know, TRIM support is not enabled by default on macOS on any SSD not provided by Apple directly.
This is done because not all manufacturers follow the standards, and often just test for compatibility with Windows. Fortunately though, enabling TRIM support is easy enough, so long as you're ok saying yes to a scary sounding message. My guess is that if you're running a Hackintosh, you're probably used to dealing with scary sounding messages. And, so long as you keep a proper backup, in the worst case scenario of your particular SSD not supporting TRIM properly, you can revert back easily.
Do note though, that it will be good for you to check online first to see if anyone else has used the SSD you have with TRIM enabled. While it can be ok to be a bit brave, if an SSD is known to not support TRIM support (or not well), it's probably best to avoid enabling it.
To check what the current status is of TRIM support, head on over to System Report (Apple menu » About This Mac » System Report...) and head for the SATA/SATA Express or NVMExpress section, depending on what kind of drive you have installed. Select your SSD and look through its details until you find TRIM Support.
Note that in this context, 'support' does not mean whether or not your drive actually supports it. It simply refers to whether or not macOS currently has TRIM support enabled for this particular drive.
Enabling TRIM support is just one single command. Once run, this will enable TRIM support on all SSD drives installed. From what I can tell you cannot pick and choose which drives you want to enable support for, though you might be able to achieve that if you desire by temporarily unplugging whichever SSD you don't want to enable TRIM support for before running the command. But I have not tested this, so please do let me know if this is even possible if that's something you end up trying.
To enable trim support, simply open up a Terminal, and type in the following command. Make sure you are ready for your machine to immediately want to reboot after this command.
y to the question, and hit enter.
After your computer has rebooted you can confirm TRIM support is fully enabled by checking System Report again.
Some recommended you reboot into safe mode after enabling TRIM support, and running a drive health check, as that supposedly honors TRIM support and tells the drive to start doing its thing for previously deleted files right away. If you have been noticing your drive feeling particularly slow these days, you might want to give this a try to see if it helps.