[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fyddgiawwqy89":3},{"type":4,"solution":5},"solution",{"slug":6,"platform":7,"title":8,"description":9,"risk":10,"categorySlug":11,"tags":12,"verifiedAt":19,"updatedAt":19,"categoryName":20,"command":21,"undoCommand":22,"directAnswer":23,"explanation":24,"warning":22,"seoTitle":25,"seoDescription":26,"requirements":22,"macosSupport":27,"sources":28,"related":35},"prevent-sleep-temporarily","macos","Prevent your Mac from sleeping for one hour","Temporarily stop macOS from sleeping without changing Energy settings.","low","system",[13,16],{"slug":14,"name":15},"power","Power & Sleep",{"slug":17,"name":18},"terminal","Terminal","2025-11-12T00:00:00.000Z","System & Settings","caffeinate -t 3600",null,"Run the command below. Your Mac stays awake for 3600 seconds (1 hour) and sleeps normally afterwards. Press Ctrl+C to stop early.","caffeinate creates a temporary power assertion that keeps macOS awake while it runs — the same mechanism used by long installs and Time Machine. The display may still dim per your settings; only system sleep is prevented. Change 3600 to any number of seconds you need.","Keep Mac Awake Temporarily — caffeinate Command","Stop macOS from sleeping for a set time with the built-in caffeinate command. No settings changes, easy to cancel.","macOS 10.8 Mountain Lion – 15 Sequoia",[29],{"url":30,"title":31,"publisher":32,"sourceType":33,"evidence":34,"retrievedAt":19},"https:\u002F\u002Fss64.com\u002Fmac\u002Fcaffeinate.html","caffeinate — prevent the system from sleeping","SS64","technical","caffeinate -t \u003Cseconds> creates assertions preventing sleep for the given duration.",[36,51,62],{"slug":37,"platform":7,"title":38,"description":39,"risk":40,"categorySlug":41,"tags":42,"verifiedAt":50,"updatedAt":50},"flush-dns-cache","Flush the DNS cache on Mac","Clear cached DNS lookups when a site resolves to a stale IP address.","medium","network",[43,46,49],{"slug":44,"name":45},"dns","DNS",{"slug":47,"name":48},"diagnostics","Diagnostics",{"slug":17,"name":18},"2025-11-18T00:00:00.000Z",{"slug":52,"platform":7,"title":53,"description":54,"risk":10,"categorySlug":55,"tags":56,"verifiedAt":61,"updatedAt":61},"install-xcode-command-line-tools","Install Xcode Command Line Tools on Mac","Get git, clang and other dev tools without installing full Xcode.","developer",[57,60],{"slug":58,"name":59},"xcode","Xcode",{"slug":17,"name":18},"2025-11-14T00:00:00.000Z",{"slug":63,"platform":7,"title":64,"description":65,"risk":10,"categorySlug":66,"tags":67,"verifiedAt":74,"updatedAt":74},"compress-folder-zip","Zip a folder on Mac from Terminal","Create a clean zip archive of any folder, preserving macOS metadata.","files",[68,71,72],{"slug":69,"name":70},"zip","Zip & Archives",{"slug":17,"name":18},{"slug":66,"name":73},"Files","2025-11-08T00:00:00.000Z"]