Macを高速化するための秘密のコマンド ベスト10を紹介します。これらのコマンドはターミナルで実行することで、Macの動作を改善できます。
1. アニメーション効果の無効化
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
ウィンドウを開閉する際のアニメーションを無効にし、応答性を向上させます[4]。
2. Dockの自動非表示を高速化
defaults write com.apple.Dock autohide-delay -float 0
Dockを隠す際の遅延をなくし、より素早く表示/非表示を切り替えられるようになります[4]。
3. Mission Controlのアニメーションを高速化
defaults write com.apple.dock expose-animation-duration -float 0.1
Mission Controlの動作をよりスムーズにします[4]。
4. Finderのアニメーションを無効化
defaults write com.apple.finder DisableAllAnimations -bool true
Finderの動作が軽快になります[4]。
5. Quick Lookのアニメーションを無効化
defaults write -g QLPanelAnimationDuration -float 0
Quick Lookウィンドウをより素早く表示できるようになります[4]。
6. ウィンドウリサイズの高速化
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
ウィンドウサイズの変更がより迅速になります[4]。
7. キーボードの反応速度を上げる
defaults write NSGlobalDomain KeyRepeat -int 0
キーボードの反応が素早くなります[4]。
8. Safariのレンダリング遅延を短縮
defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.25
Webページの表示が若干速くなる可能性があります[4]。
9. RAMのクリア
sudo purge
使用されていないRAMをクリアし、システムのパフォーマンスを向上させます[6]。
10. Spotlightの再インデックス
sudo mdutil -E /
Spotlightのインデックスを再構築し、検索パフォーマンスを改善します[3]。
これらのコマンドを実行する際は注意が必要です。システムに影響を与える可能性があるため、重要なデータのバックアップを取ってから実行することをお勧めします。また、一部のコマンドはMacOSのバージョンによって効果が異なる場合があります。
情報源 [1] Speed up your Mac via hidden prefs – The Robservatory https://robservatory.com/speed-up-your-mac-via-hidden-prefs/ [2] 5x speed increase on MacBook Pro with a terminal command … https://www.reddit.com/r/eero/comments/aom1ut/5x_speed_increase_on_macbook_pro_with_a_terminal/ [3] GitHub – sickcodes/osx-optimizer https://github.com/sickcodes/osx-optimizer [4] 10 terminal commands to speed up macOS Sierra on your Mac https://www.defaults-write.com/10-terminal-commands-to-speed-up-macos-sierra-on-your-mac/ [5] How to speed up MacBook — 15 quick tips – MacPaw https://macpaw.com/how-to/speed-up-mac [6] How to clean up your Mac to make it run faster | Zapier https://zapier.com/blog/how-to-clean-up-mac/ [7] 8 tips to speed up your Mac’s performance; yes, really | Fox News https://www.foxnews.com/tech/8-tips-to-speed-up-your-macs-performance-yes-really [8] 4 tips and hidden settings that will speed up macOS – Popular Science https://www.popsci.com/macos-tweaks-improve-performance/ [9] How to Clean Up and Optimize Your Mac | Crucial.com https://www.crucial.com/articles/mac-users/how-to-clean-and-optimize-mac [10] 10-terminal-commands-to-speed-up-macos-sierra-on-your-mac.sh https://gist.github.com/kidpixo/78b9a40ab58e026cf9a432573e27ced5 [11] Optimize Your Mac: Top Settings to Change Right Now! – YouTube https://www.youtube.com/watch?v=8Fnp64Ma9fQ [12] Mac keyboard shortcuts – Apple Support (AU) https://support.apple.com/en-au/102650 [13] How do I improve the performance on my iMac? – Apple Communities https://discussions.apple.com/thread/255518599 [14] 6 Ways to Speed Up Your Mac – Kingston Technology https://www.kingston.com/en/blog/pc-performance/tips-to-speed-up-mac [15] 12 Ways to Speed Up Your Mac for Free | Trend Micro News https://news.trendmicro.com/2015/04/16/how-to-speed-up-your-mac-without-spending-a-cent/ [16] Keyboard shortcut to play at faster speed? – Apple Communities https://discussions.apple.com/thread/251398732 [17] 8 Hidden Settings to Make your Mac Faster! – YouTube https://www.youtube.com/watch?v=_0xuN0cWF8k [18] Mac Running Slow? 15 Proven Solutions to Speed Up Your Mac https://www.avast.com/c-how-to-speed-up-mac [19] What are your secret codes, tricks on Mac OS on daily use? – Reddit https://www.reddit.com/r/MacOS/comments/gmdi59/what_are_your_secret_codes_tricks_on_mac_os_on/ [20] Use Terminal to Speed Up Your Mac – Lifewire https://www.lifewire.com/terminal-tricks-to-speed-up-your-mac-4120954