{"id":4628,"date":"2025-07-16T22:30:11","date_gmt":"2025-07-16T13:30:11","guid":{"rendered":"https:\/\/eternalsphere.net\/echoes\/?p=4628"},"modified":"2026-06-06T09:44:59","modified_gmt":"2026-06-06T00:44:59","slug":"dgavub1j863emu6","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2025\/07\/16\/dgavub1j863emu6\/","title":{"rendered":"macOS \u5e94\u7528\u5b89\u88c5\u3001\u5378\u8f7d\u53ca\u5f7b\u5e95\u6e05\u7406\u6570\u636e\u7684\u5b8c\u6574\u6307\u5357"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728 macOS \u4e0a\uff0c\u5b89\u88c5\u548c\u5378\u8f7d\u5e94\u7528\u76f8\u8f83\u4e8e\u5176\u4ed6\u7cfb\u7edf\u663e\u5f97\u66f4\u4e3a\u76f4\u89c2\uff0c\u4f46\u5b9e\u9645\u4e0a\u5f88\u591a\u4eba\u5ffd\u89c6\u4e86\u300c\u5378\u8f7d\u540e\u6570\u636e\u6b8b\u7559\u300d\u7684\u95ee\u9898\uff0c\u5bfc\u81f4\u786c\u76d8\u7a7a\u95f4\u6d6a\u8d39\uff0c\u751a\u81f3\u5f15\u53d1\u9690\u79c1\u98ce\u9669\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd macOS \u4e0a\u5b89\u88c5\u3001\u5378\u8f7d\u53ca\u5f7b\u5e95\u5220\u9664\u5e94\u7528\u6570\u636e\u7684\u5b8c\u6574\u6d41\u7a0b\uff0c\u5e2e\u52a9\u7cfb\u7edf\u4fdd\u6301\u5e72\u51c0\u72b6\u6001\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udfe2 macOS \u5e94\u7528\u5b89\u88c5\u65b9\u5f0f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">macOS \u7684\u5e94\u7528\u4e3b\u8981\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u5f0f\u5b89\u88c5\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4ece App Store \u4e0b\u8f7d<\/li>\n\n\n\n<li>\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d <code>.dmg<\/code> \u6587\u4ef6\u540e\u62d6\u52a8\u81f3\u300c\u5e94\u7528\u7a0b\u5e8f\u300d<\/li>\n\n\n\n<li>Homebrew\u3001MacPorts \u7b49\u5305\u7ba1\u7406\u5668<\/li>\n\n\n\n<li>\u5b89\u88c5\u5668\uff08Installer.app\uff09<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u8bba\u54ea\u79cd\u65b9\u5f0f\uff0c\u5e94\u7528\u672c\u4f53\u901a\u5e38\u4f4d\u4e8e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>\/Applications<br><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6216\u8005\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>~\/Applications<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd34 \u5e38\u89c1\u8bef\u533a\uff1a\u4ec5\u5220\u9664 .app \u6587\u4ef6\u5e76\u4e0d\u5f7b\u5e95<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Finder \u4e2d\uff0c\u5c06\u67d0\u4e2a <code>.app<\/code> \u6587\u4ef6\u62d6\u5165\u5e9f\u7eb8\u7bd3\u5e76\u6e05\u7a7a\uff0c\u8fd9\u4e2a\u64cd\u4f5c\u53ea\u4f1a\u5220\u9664\u7a0b\u5e8f\u672c\u4f53\u3002\u7edd\u5927\u591a\u6570\u5e94\u7528\u4f1a\u5728\u7528\u6237\u76ee\u5f55\u4e0b\u751f\u6210\u914d\u7f6e\u6587\u4ef6\u3001\u7f13\u5b58\u3001\u5386\u53f2\u8bb0\u5f55\u3001\u65e5\u5fd7\u7b49\uff0c\u9ed8\u8ba4\u4e0d\u4f1a\u81ea\u52a8\u6e05\u7406\u3002\u8fd9\u4e9b\u6587\u4ef6\u901a\u5e38\u4fdd\u5b58\u5728\u4ee5\u4e0b\u76ee\u5f55\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>~\/Library\/Application Support\/<br>~\/Library\/Caches\/<br>~\/Library\/Preferences\/<br>~\/Library\/Saved Application State\/<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udfe0 \u5982\u4f55\u67e5\u627e\u5e94\u7528\u6b8b\u7559\u6570\u636e<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1\ufe0f\u20e3 \u5217\u51fa\u5df2\u5b89\u88c5\u5e94\u7528<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7\u7ec8\u7aef\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u5df2\u5b89\u88c5\u7684\u5e94\u7528\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ls \/Applications\/*.app ~\/Applications\/*.app<br><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7ed3\u679c\u4f1a\u663e\u793a\u6240\u6709\u5b89\u88c5\u7684\u5e94\u7528\u540d\u79f0\uff0c\u7528\u4e8e\u540e\u7eed\u6bd4\u5bf9\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">2\ufe0f\u20e3 \u67e5\u770b Application Support \u5185\u5bb9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u6240\u6709\u53ef\u80fd\u6b8b\u7559\u7684\u6587\u4ef6\u5939\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ls ~\/Library\/Application\\ Support\/<br><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u6587\u4ef6\u5939\u5bf9\u5e94\u7684\u8f6f\u4ef6\u5df2\u7ecf\u4e0d\u5728\u300c\u5e94\u7528\u7a0b\u5e8f\u300d\u91cc\u5b58\u5728\uff0c\u57fa\u672c\u53ef\u4ee5\u5224\u5b9a\u4e3a\u300c\u5378\u8f7d\u540e\u6b8b\u7559\u300d\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd35 \u5982\u4f55\u5f7b\u5e95\u5220\u9664\u5df2\u5378\u8f7d\u5e94\u7528\u7684\u6570\u636e<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5220\u9664 Application Support<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5047\u8bbe\u5b58\u5728\u5982\u4e0b\u5df2\u7ecf\u5378\u8f7d\u7684\u8f6f\u4ef6\u6b8b\u7559\u76ee\u5f55\uff08\u540d\u79f0\u5df2\u8131\u654f\uff09\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>~\/Library\/Application Support\/AppA<br>~\/Library\/Application Support\/AppB<br>~\/Library\/Application Support\/AppC<br><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u53ef\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5f7b\u5e95\u5220\u9664\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>rm -rf ~\/Library\/Application\\ Support\/AppA \\<br>       ~\/Library\/Application\\ Support\/AppB \\<br>       ~\/Library\/Application\\ Support\/AppC<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">\u5220\u9664 Caches<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u9700\u8981\u66f4\u5f7b\u5e95\u6e05\u7406\u7f13\u5b58\uff0c\u53ef\u540c\u65f6\u5220\u9664 <code>Caches<\/code> \u4e2d\u5bf9\u5e94\u7684\u6587\u4ef6\u5939\u3002\u4f8b\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>rm -rf ~\/Library\/Caches\/AppA<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">\u5220\u9664 Preferences<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u5b58\u5728\u5bf9\u5e94 <code>.plist<\/code> \u6587\u4ef6\uff0c\u53ef\u4e00\u5e76\u5220\u9664\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>rm -f ~\/Library\/Preferences\/com.example.AppA.plist<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\">\u5220\u9664 Saved Application State<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u82e5\u5b58\u5728\u5df2\u5378\u8f7d\u8f6f\u4ef6\u7684\u7a97\u53e3\u4fdd\u5b58\u72b6\u6001\uff0c\u540c\u6837\u53ef\u4ee5\u6e05\u7406\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>rm -rf ~\/Library\/Saved\\ Application\\ State\/com.example.AppA.savedState<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udfe3 \u6ce8\u610f\u4e8b\u9879<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5220\u9664\u64cd\u4f5c\u9700\u8c28\u614e\uff0c\u5efa\u8bae\u5728\u5220\u9664\u524d\u5c06\u6587\u4ef6\u5939\u6682\u65f6\u79fb\u52a8\u5230\u684c\u9762\u6216\u5176\u4ed6\u4f4d\u7f6e\u8fdb\u884c\u5907\u4efd\uff0c\u4ee5\u514d\u8bef\u5220\u4ecd\u9700\u4f7f\u7528\u7684\u6570\u636e\u3002<\/li>\n\n\n\n<li>\u7cfb\u7edf\u81ea\u5e26\u6216\u5fc5\u8981\u7ec4\u4ef6\uff08\u4f8b\u5982 <code>com.apple.*<\/code> \u6587\u4ef6\u5939\uff09\u4e00\u822c\u4e0d\u5efa\u8bae\u5220\u9664\u3002<\/li>\n\n\n\n<li>\u5982\u6709\u591a\u4e2a\u7528\u6237\u8d26\u6237\uff0c\u9700\u8981\u5206\u522b\u5728\u6bcf\u4e2a\u8d26\u6237\u4e2d\u68c0\u67e5 <code>~\/Library<\/code> \u4e0b\u7684\u6b8b\u7559\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udfe2 \u603b\u7ed3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7\u4ec5\u5220\u9664 <code>.app<\/code> \u6587\u4ef6\uff0c\u5e94\u7528\u672c\u4f53\u867d\u7136\u5df2\u79fb\u9664\uff0c\u4f46\u914d\u7f6e\u6587\u4ef6\u548c\u7f13\u5b58\u901a\u5e38\u4f1a\u4fdd\u7559\uff0c\u5fc5\u987b\u624b\u52a8\u5220\u9664 <code>Library<\/code> \u4e0b\u7684\u76f8\u5173\u6587\u4ef6\u5939\u624d\u80fd\u5b9e\u73b0\u5f7b\u5e95\u6e05\u7406\u3002\u82e5\u5e0c\u671b\u7cfb\u7edf\u4fdd\u6301\u7b80\u6d01\u3001\u8282\u7701\u7a7a\u95f4\uff0c\u5b9a\u671f\u68c0\u67e5\u5e76\u6e05\u7406\u8fd9\u4e9b\u6b8b\u7559\u975e\u5e38\u6709\u5fc5\u8981\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 macOS \u4e0a\uff0c\u5b89\u88c5\u548c\u5378\u8f7d\u5e94\u7528\u76f8\u8f83\u4e8e\u5176\u4ed6\u7cfb\u7edf\u663e\u5f97\u66f4\u4e3a\u76f4\u89c2\uff0c\u4f46\u5b9e\u9645\u4e0a\u5f88\u591a\u4eba\u5ffd\u89c6\u4e86\u300c\u5378\u8f7d\u540e\u6570\u636e\u6b8b\u7559\u300d\u7684\u95ee\u9898\uff0c\u5bfc\u81f4\u786c\u76d8\u7a7a\u95f4\u6d6a\u8d39\uff0c\u751a\u81f3\u5f15\u53d1\u9690\u79c1\u98ce\u9669\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd macOS \u4e0a\u5b89\u88c5\u3001\u5378\u8f7d\u53ca\u5f7b\u5e95\u5220\u9664\u5e94\u7528\u6570\u636e\u7684\u5b8c\u6574\u6d41\u7a0b\uff0c\u5e2e\u52a9\u7cfb\u7edf\u4fdd\u6301\u5e72\u51c0\u72b6\u6001\u3002 \ud83d\udfe2 macOS \u5e94\u7528\u5b89\u88c5\u65b9\u5f0f macOS \u7684\u5e94\u7528\u4e3b\u8981\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u5f0f\u5b89\u88c5\uff1a \u4e0d\u8bba\u54ea\u79cd\u65b9\u5f0f\uff0c\u5e94\u7528\u672c\u4f53\u901a\u5e38\u4f4d\u4e8e\uff1a \/Applications \u6216\u8005\uff1a ~\/Applications \ud83d\udd34 \u5e38\u89c1\u8bef\u533a\uff1a\u4ec5\u5220\u9664 .app \u6587\u4ef6\u5e76\u4e0d\u5f7b\u5e95 \u5728 Finder \u4e2d\uff0c\u5c06\u67d0\u4e2a .app \u6587\u4ef6\u62d6\u5165\u5e9f\u7eb8\u7bd3\u5e76\u6e05\u7a7a\uff0c\u8fd9\u4e2a\u64cd\u4f5c\u53ea\u4f1a\u5220\u9664\u7a0b\u5e8f\u672c\u4f53\u3002\u7edd\u5927\u591a\u6570\u5e94\u7528\u4f1a\u5728\u7528\u6237\u76ee\u5f55\u4e0b\u751f\u6210\u914d\u7f6e\u6587\u4ef6\u3001\u7f13\u5b58\u3001\u5386\u53f2\u8bb0\u5f55\u3001\u65e5\u5fd7\u7b49\uff0c\u9ed8\u8ba4\u4e0d\u4f1a\u81ea\u52a8\u6e05\u7406\u3002\u8fd9\u4e9b\u6587\u4ef6\u901a\u5e38\u4fdd\u5b58\u5728\u4ee5\u4e0b\u76ee\u5f55\uff1a ~\/Library\/Application Support\/~\/Library\/Caches\/~\/Library\/Preferences\/~\/Library\/Saved Application State\/ \ud83d\udfe0 \u5982\u4f55\u67e5\u627e\u5e94\u7528\u6b8b\u7559\u6570\u636e 1\ufe0f\u20e3 \u5217\u51fa\u5df2\u5b89\u88c5\u5e94\u7528 \u901a\u8fc7\u7ec8\u7aef\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u5df2\u5b89\u88c5\u7684\u5e94\u7528\uff1a ls \/Applications\/*.app ~\/Applications\/*.app \u7ed3\u679c\u4f1a\u663e\u793a\u6240\u6709\u5b89\u88c5\u7684\u5e94\u7528\u540d\u79f0\uff0c\u7528\u4e8e\u540e\u7eed\u6bd4\u5bf9\u3002 2\ufe0f\u20e3 \u67e5\u770b Application Support \u5185\u5bb9 \u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u6240\u6709\u53ef\u80fd\u6b8b\u7559\u7684\u6587\u4ef6\u5939\uff1a ls ~\/Library\/Application\\ Support\/ \u82e5\u6587\u4ef6\u5939\u5bf9\u5e94\u7684\u8f6f\u4ef6\u5df2\u7ecf\u4e0d\u5728\u300c\u5e94\u7528\u7a0b\u5e8f\u300d\u91cc\u5b58\u5728\uff0c\u57fa\u672c\u53ef\u4ee5\u5224\u5b9a\u4e3a\u300c\u5378\u8f7d\u540e\u6b8b\u7559\u300d\u3002 \ud83d\udd35 \u5982\u4f55\u5f7b\u5e95\u5220\u9664\u5df2\u5378\u8f7d\u5e94\u7528\u7684\u6570\u636e \u5220\u9664 Application &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[196],"tags":[],"class_list":["post-4628","post","type-post","status-publish","format-standard","hentry","category-mbnjlmyz5qz2f08"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=4628"}],"version-history":[{"count":1,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4628\/revisions"}],"predecessor-version":[{"id":4629,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4628\/revisions\/4629"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=4628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=4628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=4628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}