| name | macos-update-block |
| description | Turn macOS automatic-update blocking on or off, or check its status. Use this whenever the user wants to stop, block, disable, freeze, pause, or re-enable macOS software updates โ including phrases like "๋งฅ ์
๋ฐ์ดํธ ์ฐจ๋จ/๋ง์์ค/๊บผ์ค", "์
๋ฐ์ดํธ ์๋ฆผ ์์ ์ค", "์ง๊ธ ์
๊ทธ๋ ์ด๋ํ๊ธฐ ์ ๋จ๊ฒ", "macOS ์๋ ์
๋ฐ์ดํธ ๋๊ธฐ/์ผ๊ธฐ", "stop macOS from updating", "block the Tahoe update", or "turn updates back on". Also use when the user asks to toggle this on/off or check whether updates are currently blocked. Works on Intel and Apple Silicon Macs, macOS Big Sur (11) through Tahoe (26) and later; applies only methods that still work on modern macOS and ignores outdated tricks that silently fail. |
macOS Update Block
์๋ ์
๋ฐ์ดํธ๋ฅผ ์ธ์ ๋ ์ผ๊ณ (on) ๋(off) ์ ์๊ฒ ํ ๊ธํ๊ณ , ํ์ฌ ์ํ(status)๋ฅผ ํ์ธํ๋ ์คํฌ์
๋๋ค. ๋ชจ๋ ๋ก์ง์ ๋ฒ๋ค ์คํฌ๋ฆฝํธ ํ ๊ณณ์ ์์ต๋๋ค:
scripts/macos-update-block.sh {on|off|status}
์คํฌ๋ฆฝํธ๋ ์ฌ์คํํด๋ ์์ (idempotent) ํฉ๋๋ค โ on์ ๋ ๋ฒ ํด๋ hosts ํญ๋ชฉ์ด ์ค๋ณต๋์ง ์๊ณ , ์ํ๊ฐ ์ด๋ป๋ off๋ก ๊นจ๋์ด ๋๋์๊ฐ๋๋ค.
๋ฌด์์ ํ๋๊ฐ
on (์์ ์ฐจ๋จ)์ด ์ ์ฉํ๋ ๊ฒ:
- ์ค์ 6๊ฐ (
/Library/Preferences/com.apple.SoftwareUpdate + com.apple.commerce): ์๋ ๊ฒ์ยท๋ค์ด๋ก๋ยท์ค์นยท์ค์์
๋ฐ์ดํธยท์ฑ์๋์
๋ฐ์ดํธ๋ฅผ ๋ชจ๋ false. ํต์ฌ์ AutomaticCheckEnabled=false โ ์ด๊ฒ ์ผ์ ธ ์์ผ๋ฉด ๋ค์ด๋ก๋๋ฅผ ๊บผ๋๋ ์
๋ฐ์ดํธ ๋ฐฐ์ง๊ฐ ๋ค์ ๋น๋๋ค.
/etc/hosts ์๋ฒ ์ฐจ๋จ (gdmf / mesu / swscan / swcdn .apple.com): macOS๊ฐ ์
๋ฐ์ดํธ๋ฅผ ํ์ํ๋ ๊ฒฝ๋ก ์์ฒด๋ฅผ ๋ง์ ๋ฐฐ์ง๊ฐ ์๋ก ์๊ธฐ์ง ์๊ฒ ํฉ๋๋ค.
- ์ด๋ฏธ ๋ ์๋ ์
๋ฐ์ดํธ ์๋ฆผ ์บ์(
RecommendedUpdates) ์ญ์ .
off๋ ์๋ฅผ ๋ชจ๋ ๋๋๋ฆฝ๋๋ค(์ค์ true ๋ณต์ + hosts ๋ธ๋ก ์ ๊ฑฐ).
๋์ ํ๊ฒฝ
- macOS ์ ์ฉ (Intel ยท Apple Silicon ๊ณตํต). ์คํฌ๋ฆฝํธ๋ macOS๊ฐ ์๋๋ฉด ์ฆ์ ์ค๋จํฉ๋๋ค.
- macOS Big Sur(11) ~ Tahoe(26) ์ด์์์ ๋์. ์ค์ ํค์ hosts ์ฐจ๋จ์ ๋ฒ์ ยท์ํคํ
์ฒ์ ๋ฌด๊ดํ๊ฒ ๊ฐ์ ๋ฐฉ์์ผ๋ก ์๋ํ๋ฏ๋ก ๋ถ๊ธฐ ์ฒ๋ฆฌ๊ฐ ์์ต๋๋ค.
status๊ฐ ์คํ ํ๊ฒฝ(macOS ๋ฒ์ (์นฉ))์ ์ถ๋ ฅํ๋, ์ฌ์ฉ์ ํ๊ฒฝ์ด ๋ด ๊ฐ์ ๊ณผ ๋ค๋ฅธ์ง ๋จผ์ ํ์ธํ ์ ์์ต๋๋ค.
์คํ ๋ฐฉ๋ฒ (์ค์: sudo ํ์)
on/off๋ /Library/Preferences์ /etc/hosts๋ฅผ ์์ ํ๋ฏ๋ก ๋ฐ๋์ sudo๊ฐ ํ์ํฉ๋๋ค. ๋น๋ํํ ํ๊ฒฝ์์ sudo ๋น๋ฐ๋ฒํธ๋ฅผ ์ง์ ๋ฃ์ ์ ์์ผ๋, ์ฌ์ฉ์๊ฐ ์ง์ ์คํํ๋๋ก ์ ํํ ๋ช
๋ น์ ์๋ดํ์ธ์. ๋ช
๋ น์ ํด๋ฆฝ๋ณด๋์ ๋ณต์ฌํด ์ฃผ๋ฉด(pbcopy) ํธํฉ๋๋ค.
status๋ ์ฝ๊ธฐ ์ ์ฉ์ด๋ผ sudo ์์ด ๋ฐ๋ก ์คํํด ๊ฒฐ๊ณผ๋ฅผ ๋ณด์ฌ์ค ์ ์์ต๋๋ค.
์คํฌ๋ฆฝํธ ๊ฒฝ๋ก๋ ์ด ์คํฌ์ด ์ค์น๋ ์์น์ scripts/macos-update-block.sh ์
๋๋ค โ ์ค์น ๋ฐฉ์์ ๋ฐ๋ผ ~/.claude/skills/, ~/.opencode/skills/, ํ๋ก์ ํธ .claude/skills/ ๋ฑ์ผ๋ก ๋ค๋ฅผ ์ ์์ผ๋, ์ด SKILL.md๊ฐ ์๋ ๋๋ ํฐ๋ฆฌ ๊ธฐ์ค์ผ๋ก ๊ฒฝ๋ก๋ฅผ ์ก์ผ์ธ์. ์๋ ์์๋ Claude Code ๊ธฐ๋ณธ ์ค์น ์์น ๊ธฐ์ค์
๋๋ค.
on (์ฐจ๋จ):
sudo "<skill-dir>/scripts/macos-update-block.sh" on
# ์: sudo ~/.claude/skills/macos-update-block/scripts/macos-update-block.sh on
์คํ ํ ๋นจ๊ฐ ๋ฐฐ์ง๋ฅผ ์์ ํ ์์ ๋ ค๋ฉด ์ฌ๋ถํ
์ ์๋ดํ์ธ์.
off (ํด์ ):
sudo "<skill-dir>/scripts/macos-update-block.sh" off
status (์ง์ ์คํ ๊ฐ๋ฅ, sudo ๋ถํ์):
"<skill-dir>/scripts/macos-update-block.sh" status
์งํ ํจํด
- ์ฌ์ฉ์์ ์๋(์ผ๊ธฐ/๋๊ธฐ/ํ์ธ)๋ฅผ ํ์
ํ๋ค.
status๋ฅผ ๋จผ์ ๋๋ ค ํ์ฌ ์ํ๋ฅผ ๋ณด์ฌ์ฃผ๋ฉด ์ฌ์ฉ์๊ฐ ๋ฌด์์ด ๋ฐ๋์ง ์ดํดํ๊ธฐ ์ฝ๋ค.
on/off๋ sudo๊ฐ ํ์ํ๋ฏ๋ก ํด๋น ๋ช
๋ น์ ํด๋ฆฝ๋ณด๋์ ๋ณต์ฌํ๊ณ "ํฐ๋ฏธ๋์ ๋ถ์ฌ๋ฃ๊ณ ๋น๋ฐ๋ฒํธ ์
๋ ฅ" ๋จ๊ณ๋ฅผ ์๋ดํ๋ค.
- ์คํ ํ ๋ค์
status๋ก ๊ฒฐ๊ณผ๋ฅผ ํ์ธํด ์ค๋ค.
๊ผญ ์๋ฆด ์
on ์ํ์์ ๋ณด์ ์
๋ฐ์ดํธ๋ ๋ฐ์ง ๋ชปํฉ๋๋ค. OS ๋ฒ์ ์ ์๋์ ์ผ๋ก ๊ณ ์ ํ๋ ค๋ ๊ฒฝ์ฐ์๋ง ๊ถ์ฅํ๊ณ , ์ฌ์ฉ์์๊ฒ ์ด ํธ๋ ์ด๋์คํ๋ฅผ ๋ถ๋ช
ํ ์๋ฆฌ์ธ์.
- ๋๋๋ฆฌ๊ธฐ๋ ํญ์
off ํ ๋ฒ์ด๋ฉด ๋ฉ๋๋ค. ์๋์ผ๋ก /etc/hosts๋ฅผ ๊ฑด๋๋ฆฌ์ง ๋ง๊ณ ์คํฌ๋ฆฝํธ๋ฅผ ์ฐ๋ ๊ฒ ์์ ํฉ๋๋ค.
AutomaticCheckEnabled ํค๋ ์ผ๋ถ macOS์์ ์ ์ง๋์ง ์์ต๋๋ค โ defaults write๋ก ๊บผ๋ ์์คํ
์ด ๋ฉฐ์น ๋ค ๋๋๋ฆด ์ ์์ต๋๋ค. ๊ทธ๋์ durableํ ํต์ฌ ์ฐจ๋จ ์ธต์ hosts ์๋ฒ์ฐจ๋จ์ด๊ณ ์ค์ ํค๋ ๋ณด์กฐ์
๋๋ค. status ์ข
ํฉ ํ์ ๋ hosts ์ฐจ๋จ์ ์ฐ์ ์ผ๋ก ๋ด
๋๋ค(hosts๊ฐ ์ด์์์ผ๋ฉด ํ์ยท๋ค์ด๋ก๋๊ฐ ๋งํ ์ค์ง ์ฐจ๋จ). ์ค์ ์ด ํ๋ฆฐ ๊ฒ ๊ฑฐ์ฌ๋ฆฌ๋ฉด on์ ๋ค์ ์คํํ๋ฉด ๋ฉ๋๋ค.
์ ๊ตฌํ ๋ฐฉ๋ฒ์ ์ ์ฐ๋๊ฐ (๊ฒ์ฆ ๊ฒฐ๊ณผ)
ํํ ๋ ๋๋ ๊ฐ์ด๋์ ๋ค์ ๋ฐฉ๋ฒ๋ค์ ํ๋ macOS(Big Sur ์ดํ)์์ ๋ฌดํจ์์ ํ์ธํ์ผ๋ฏ๋ก ์คํฌ๋ฆฝํธ์ ๋ฃ์ง ์์์ต๋๋ค:
softwareupdate --schedule off โ ํ๋๊ทธ ์์ฒด๊ฐ ์ญ์ ๋จ
CatalogURL "http://localhost" โ Catalina์์ deprecated, Big Sur์์ ์์ ์ ๊ฑฐ ("Catalog management is no longer supported")
AutomaticDownloadAutoInstall ํค โ ์ค์ ์กด์ฌํ์ง ์๋ ํค
softwareupdate --ignore "macOS ..." โ ๋ํ OS ์
๋ฐ์ดํธ์ ์ฐจ๋จ๋จ