---
title: "#macbook articles | Hashnode"
description: "Explore 122 articles tagged #macbook on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/macbook"
---

Tag

# #macbook

122 posts · 66 followers

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [3h ago](https://hashnode.com/posts/codex-from-phone-macbook-lid-closed/6afe931f2b0da381d8e3abae)

### [Can I use Codex from my phone with the MacBook lid closed?](https://keepmacawake.hashnode.dev/codex-from-phone-macbook-lid-closed?utm_source=hashnode&utm_medium=feed)

Codex remote access needs an awake Mac, and a closed lid sleeps it. Why Codex's own prevent-sleep options are not documented to cover the lid, and what does.

3 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/codex-from-phone-macbook-lid-closed?utm_source=hashnode&utm_medium=feed)

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [1d ago](https://hashnode.com/posts/mac-sleeps-lid-closed-why/6afd432d75b058ba59b099eb)

### [Why does my Mac sleep when the lid is closed? Read the reason with pmset](https://keepmacawake.hashnode.dev/mac-sleeps-lid-closed-why?utm_source=hashnode&utm_medium=feed)

It usually did not shut down, it slept. How to read the reason in pmset -g log and fix the usual causes.

3 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/mac-sleeps-lid-closed-why?utm_source=hashnode&utm_medium=feed)

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [2d ago](https://hashnode.com/posts/clamshell-mode-without-monitor/6afbf42406860358ec20448b)

### [Clamshell mode without a monitor: can a MacBook stay awake?](https://keepmacawake.hashnode.dev/clamshell-mode-without-monitor?utm_source=hashnode&utm_medium=feed)

Yes. What Apple's closed-display mode needs, why the lid forces sleep, and what gets past it with no display.

3 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/clamshell-mode-without-monitor?utm_source=hashnode&utm_medium=feed)

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [3d ago](https://hashnode.com/posts/close-macbook-without-sleep/6af9de718232f65b2ebbd87e)

### [Can you close a MacBook without it going to sleep?](https://keepmacawake.hashnode.dev/close-macbook-without-sleep?utm_source=hashnode&utm_medium=feed)

Yes, even with no display attached. Why the lid is forced sleep, what gets past it, and what only stops idle sleep.

3 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/close-macbook-without-sleep?utm_source=hashnode&utm_medium=feed)

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [3d ago](https://hashnode.com/posts/claude-code-overnight-macbook-lid-closed/6af9de129029cca3b0b7a09a)

### [Will Claude Code keep running overnight if I close my MacBook?](https://keepmacawake.hashnode.dev/claude-code-overnight-macbook-lid-closed?utm_source=hashnode&utm_medium=feed)

Not by default: the closed lid puts the Mac to sleep and the claude process stops with it. How to keep it working until morning.

3 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/claude-code-overnight-macbook-lid-closed?utm_source=hashnode&utm_medium=feed)

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [6d ago](https://hashnode.com/posts/can-a-macbook-stay-awake-lid-closed-on-battery/6af6b255c7bf5ea95ab9fa15)

### [Can a MacBook stay awake with the lid closed on battery?](https://keepmacawake.hashnode.dev/can-a-macbook-stay-awake-lid-closed-on-battery?utm_source=hashnode&utm_medium=feed)

Closed-display mode needs a charger. What keeps a closed MacBook awake on battery, and what stops it before the charge runs out.

3 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/can-a-macbook-stay-awake-lid-closed-on-battery?utm_source=hashnode&utm_medium=feed)

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [Nov 11](https://hashnode.com/posts/run-ai-agents-overnight-macbook/6af48f2ddc5da4dfb2afdff5)

### [Run AI coding agents overnight on a MacBook](https://keepmacawake.hashnode.dev/run-ai-agents-overnight-macbook?utm_source=hashnode&utm_medium=feed)

A checklist for one night alone: the closed lid, power, network, the permissions each agent needs, and how the agent ends the session.

13 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/run-ai-agents-overnight-macbook?utm_source=hashnode&utm_medium=feed)

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [Nov 11](https://hashnode.com/posts/mute-macbook-when-lid-closes/6af48e4a0a570d11988338b6)

### [How to mute a MacBook when the lid closes](https://keepmacawake.hashnode.dev/mute-macbook-when-lid-closes?utm_source=hashnode&utm_medium=feed)

A MacBook kept awake overnight still plays agent alerts. Mute only the sound while the lid is closed, and get it back when you open it.

8 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/mute-macbook-when-lid-closes?utm_source=hashnode&utm_medium=feed)

[Keep Mac Awake](https://hashnode.com/@keepmacawake) · [Oct 30](https://hashnode.com/posts/do-downloads-continue-with-the-lid-closed/6ae4f05b98ae582d76eac329)

### [Do downloads continue with the lid closed?](https://keepmacawake.hashnode.dev/do-downloads-continue-with-the-lid-closed?utm_source=hashnode&utm_medium=feed)

No: a closed MacBook sleeps and downloads stop. Why the usual keep-awake tricks miss the lid, and how to let a large download finish.

7 min read · [keepmacawake.hashnode.dev](https://keepmacawake.hashnode.dev/do-downloads-continue-with-the-lid-closed?utm_source=hashnode&utm_medium=feed)

[Dragos Roua](https://hashnode.com/@dragosroua) · [Oct 3](https://hashnode.com/posts/video-how-to-set-up-local-ai-on-a-16gb-macbook/6ac04a9fa62469fb09002d2d)

### [\[ Video \] How To Set Up Local AI on a 16GB MacBook](https://dragosroua.hashnode.dev/video-how-to-set-up-local-ai-on-a-16gb-macbook?utm_source=hashnode&utm_medium=feed)

Setting up local AI on a 16GB MacBook involves using optimized binaries for the Metal architecture. Start with MLX-serve. Optionally OpenWebUI

4 min read · [dragosroua.hashnode.dev](https://dragosroua.hashnode.dev/video-how-to-set-up-local-ai-on-a-16gb-macbook?utm_source=hashnode&utm_medium=feed)
