
https://i.imgur.com/nAJggBp.png
\nhttps://i.imgur.com/5VbuCCo.png
\n\n" }, { "author": { "url": "member/ab", "name": "ab", "avatar": "https://cdn.v2ex.com/avatar/2cd8/7697/76017_large.png?m=1725000948" }, "url": "t/995194", "date_modified": "2023-11-26T02:11:58+00:00", "content_html": "13 \u5e74\u5e95\u7684\u672c\u5b50, \u53a8\u5b50\u4e0d\u8ba9\u5347\u7ea7 monterey % brew search iina\n==> Formulae\ninja\n\n==> Casks\niina iina-plus\n\n % brew install iina\n==> Downloading https://dl-portal.iina.io/IINA.v1.3.2.dmg\n==> Downloading from https://mirrors.tuna.tsinghua.edu.cn/iina/IINA.v1.3.2.dmg\n######################################################################################################################################################################################################################## 100.0%\n==> Installing Cask iina\n==> Moving App 'IINA.app' to '/Applications/IINA.app'\n==> Linking Binary 'iina-cli' to '/usr/local/bin/iina'\n\ud83c\udf7a iina was successfully installed!\n\n % brew config\nHOMEBREW_VERSION: >=2.5.0 (shallow or no git repository)\nORIGIN: (none)\nHEAD: (none)\nLast commit: never\nCore tap origin: https://github.com/Homebrew/homebrew-core\nCore tap HEAD: (none)\nCore tap last commit: never\nCore tap branch: (none)\nCore tap JSON: 15 Jul 17:28 UTC\nHOMEBREW_PREFIX: /usr/local\nHOMEBREW_API_AUTO_UPDATE_SECS: 86400\nHOMEBREW_CASK_OPTS: []\nHOMEBREW_MAKE_JOBS: 4\nHomebrew Ruby: 2.6.10 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby\nCPU: quad-core 64-bit broadwell\nClang: N/A\nGit: N/A\nCurl: 7.87.0 => /usr/bin/curl\nmacOS: 12.6.7-x86_64\nCLT: N/A\nXcode: N/A\n\n % brew tap\nelastic/tap\ngcenx/wine\nhomebrew/cask\nhomebrew/core\nhomebrew/services\n\n\u4ed4\u7ec6\u60f3\u60f3\u4ee5\u524d\u6709\u53ef\u80fd\u4e34\u65f6\u7528\u8fc7\u6e05\u534e\u7684\u6e90\uff0c\u4f46\u662f\u5e76\u6ca1\u6709\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u554a
\n" }, { "author": { "url": "member/kiritoyui", "name": "kiritoyui", "avatar": "https://cdn.v2ex.com/avatar/c151/abf6/236191_large.png?m=1755498127" }, "url": "t/948715", "title": "\u4f1a\u81ea\u52a8\u66f4\u65b0\u7684\u975e MAS \u5b89\u88c5\u7684 app \u600e\u4e48\u7528 brew cask \u7ba1\u7406\uff1f", "id": "t/948715", "date_published": "2023-06-14T08:10:02+00:00", "content_html": "\u82b1\u4e86\u70b9\u65f6\u95f4\uff0c\u628a\u7535\u8111\u91cc\u9762\u6240\u6709 dmg \u5b89\u88c5\u7684 app \uff0c\u6539\u6210\u4e86 brew cask \u7ba1\u7406\uff0cbrew \u7684\u66f4\u65b0\u5e94\u8be5\u662f\u5168\u91cf\u8986\u76d6\u7684\uff0c\u90a3\u5982\u679c app \u9ed8\u8ba4\u5f00\u542f\u81ea\u52a8\u66f4\u65b0\uff0c\u66f4\u65b0\u540e\u7248\u672c\u4e0e brew \u4e0d\u4e00\u81f4\u4e86\uff0c\u8fd8\u80fd\u901a\u8fc7 brew \u7ba1\u7406\u4e48\uff1f" }, { "author": { "url": "member/bkchan", "name": "bkchan", "avatar": "https://cdn.v2ex.com/gravatar/b28218bab81f5d99518d63c83e1ebb39?s=73&d=retro" }, "url": "t/916702", "date_modified": "2023-02-16T08:30:15+00:00", "content_html": "\u6211\u901a\u8fc7 brew \u5b89\u88c5\u7684 nginx \uff0c\u7136\u540e\u6267\u884c\u4e86 brew servcies start restart nginx \uff0c\u670d\u52a1\u6b63\u5e38\u542f\u52a8.\n\u4f46\u662f\u5f53\u6211\u91cd\u542f\u7535\u8111\u4e4b\u540e\uff0c\u901a\u8fc7 brew services list \u547d\u4ee4\u67e5\u770b\uff0c\u53d1\u73b0 nginx \u663e\u793a\u7684\u662f error \uff0c\nhttps://imgur.com/a/RDPLHSb
\nbrew services start nginx \u4e5f\u4e0d\u884c\u3002\nhttps://imgur.com/zfhAqEk
\n\u4f46\u662f\u5982\u679c\u901a\u8fc7 brew services restart nginx \u662f\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\u7684\u3002\nhttps://imgur.com/S9PhR4s
\n", "date_published": "2023-02-16T08:29:14+00:00", "title": "mac brew services nginx \u5f00\u673a\u542f\u52a8\u5931\u8d25\uff0c\u6709\u9047\u5230\u7684\u8001\u54e5\u5417\uff1f", "id": "t/916702" }, { "author": { "url": "member/clrss", "name": "clrss", "avatar": "https://cdn.v2ex.com/gravatar/3af18cd531d01de791d6712f5fd8f411?s=73&d=retro" }, "url": "t/915929", "title": "HOMEBREW_INSTALL_FROM_API \u5df2\u7ecf\u662f\u9ed8\u8ba4\u8bbe\u7f6e\u4e86", "id": "t/915929", "date_published": "2023-02-14T02:44:03+00:00", "content_html": "3.6.21
\nHOMEBREW_INSTALL_FROM_API: make the default for everyone\n\n\u53ef\u4ee5brew untap homebrew/core\u6765\u7701\u7a7a\u95f4.
\u53e6\u5916\u8bbe\u7f6e\u56fd\u5185\u6e90
\nexport HOMEBREW_BREW_GIT_REMOTE=..\nexport HOMEBREW_BOTTLE_DOMAIN=..\nexport HOMEBREW_API_DOMAIN=..\n\n\u6e90\u4f60\u4eec\u81ea\u5df1\u641c\u641c. \u6211\u6015\u63a8\u8350\u4e86\u4e00\u4e2a\u538b\u529b\u4f1a\u96c6\u4e2d\u5230\u90a3\u513f.
\n" }, { "author": { "url": "member/freeair", "name": "freeair", "avatar": "https://cdn.v2ex.com/avatar/ed46/2613/459725_large.png?m=1602912905" }, "url": "t/904202", "title": "M1 MBP Ventura \u4e0a MacVim \u547d\u4ee4\u884c\u542f\u52a8\u540e\u5f00\u65b0 Tab \u5d29\u6e83", "id": "t/904202", "date_published": "2022-12-22T14:23:01+00:00", "content_html": "\u641c\u5230\u4e86\u548c\u6211\u4e00\u6837\u7684\u73b0\u8c61\uff0c\u6709\u4eba\u78b0\u5230\u8fc7\u5417\uff1f
\nMacVim crashes when opening a new tab if started from terminal (homebrew installation)
\n\u672c\u6765\u6000\u7591\u662f\u7cfb\u7edf\u5927\u7248\u672c\u5347\u7ea7\u9057\u7559\u95ee\u9898\uff0c\u7cfb\u7edf\u91cd\u88c5\u4e86\u7ed3\u679c\u8fd8\u662f\u4e00\u6837\u3002
\n" }, { "author": { "url": "member/xialer", "name": "xialer", "avatar": "https://cdn.v2ex.com/gravatar/09829e81086491e5b0c8de39e96e2fd3?s=73&d=retro" }, "url": "t/887666", "title": "\u8bf7\u6559\uff0c mac \u7684 homebrew \u7528\u4e45\u4e86\uff0c\u600e\u4e48\u91cd\u7f6e\u554a~", "id": "t/887666", "date_published": "2022-10-17T17:35:47+00:00", "content_html": "bigsur \u8fd9\u7248\u672c\u7528\u4e86\u4e09\u5e74\u4e86\uff0c\u6ca1\u91cd\u88c5\u7684\u6b32\u671b\uff0c\u4f46\u662f homebrew \u611f\u89c9\u662f\u4e00\u56e2\u4e71\u9ebb\uff0c\nbrew \u4e00\u6761\u6307\u4ee4\u4e0b\u53bb\uff0c\u963f\u732b\u963f\u72d7\u90fd\u8ddf\u7740\u66f4\u65b0\u51d1\u70ed\u95f9\u3002\n\u91cc\u9762\u751a\u81f3\u8fd8\u6709\u4e2a\u603c\u8fdb\u53bb\u7684 x11 \u73af\u5883\uff0c\u4e00\u5927\u5806\u505a\u5b9e\u9a8c\u516b\u8f88\u5b50\u7528\u4e0d\u5230\u7684\u5305\u3002\n\u6211\u60f3\u628a\u5b83\u5494\u5693\u6389\uff0c\u548b\u73a9~
\n" }, { "author": { "url": "member/gamesover", "name": "gamesover", "avatar": "https://cdn.v2ex.com/gravatar/6bbbc78a70fcb3621e68d4b2630d8900?s=73&d=retro" }, "url": "t/871955", "title": "Brew \u88c5\u4e0d\u4e0a ca-certificates", "id": "t/871955", "date_published": "2022-08-10T07:55:34+00:00", "content_html": "\u516c\u53f8\u5168\u65b0\u7684 macbook pro \uff0c\u5c45\u7136 brew \u88c5\u4e0d\u4e0a\u6700\u7b80\u5355\u7684 openssl
\nbrew install openssl\nRunning `brew update --auto-update`...\n==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2022-07-19_1\nAlready downloaded: /Users/user/Library/Caches/Homebrew/downloads/c95acf8107b31ec83053f411f74e85b2626e1a0c051467aff6b98acf996883d7--ca-certificates-2022-07-19_1.bottle_manifest.json\nError: openssl@3: Failed to download resource \"ca-certificates_bottle_manifest\"\nThe downloaded GitHub Packages manifest was corrupted or modified (it is not valid JSON): \n/Users/user/Library/Caches/Homebrew/downloads/c95acf8107b31ec83053f411f74e85b2626e1a0c051467aff6b98acf996883d7--ca-certificates-2022-07-19_1.bottle_manifest.json\n\n\u540c\u4e8b\u8bf4\u516c\u53f8\u7535\u8111\u6709\u9650\u5236\uff0c\u6211\u89c9\u5f97\u6709\u70b9\u4e0d\u53ef\u601d\u8bae
\n" }, { "author": { "url": "member/az22c", "name": "az22c", "avatar": "https://cdn.v2ex.com/avatar/3589/198e/287861_large.png?m=1683255900" }, "url": "t/821713", "date_modified": "2021-12-12T13:39:45+00:00", "content_html": "brew upgrade scrcpy \uff0c\u5b89\u88c5\u8fd9\u4e2a\u540d\u4e3a scrcpy \u7684\u8f6f\u4ef6\u3002\u5404\u79cd\u7f51\u7edc\u8c03\u8bd5\uff0c\u4ee5\u4e0b\u8f7d\u5404\u4e2a\u5b50\u4f9d\u8d56\u5305\u3002
\n\u9700\u8981\u6bcf\u6b21\u7ec8\u6b62\u5e76\u91cd\u65b0\u6267\u884c\u8be5\u547d\u4ee4\u3002\u53bb\u68c0\u6d4b\u5b50\u4f9d\u8d56\u5305\u82b1\u8d39\u7684\u65f6\u95f4\u597d\u4e45\uff0c\u6bd4\u5982\u8fd9\u4e2a
\nAlready downloaded: xxxxx.tar.gz
\n\u68c0\u6d4b\u534a\u5929\u624d\u68c0\u6d4b\u51fa\u6765\u8fd9\u4e2a\u5b50\u5305\u5df2\u7ecf\u4e0b\u8f7d\u8fc7\u4e86\uff0c\u5728 cache \u91cc\u9762\u3002\u540e\u9762\u8fd8\u6709\u597d\u51e0\u767e\u4e2a\u5b50\u5305\u540c\u6837\u9700\u8981\u7ecf\u5386\u8fd9\u79cd\u65e0\u610f\u4e49\u7684\u68c0\u6d4b\u3002
\n\u5927\u4f6c\u4eec\u6709\u6ca1\u6709\u529e\u6cd5\u914d\u7f6e\u52a0\u5feb\u68c0\u6d4b cache \u7684\u8fc7\u7a0b\uff1f
\n", "date_published": "2021-12-12T13:39:30+00:00", "title": "brew \u4e0b\u8f7d\u8fc7\u7a0b\u600e\u4e48\u8df3\u8fc7\u5df2\u4e0b\u8f7d\u7684\u4f9d\u8d56\u5305\uff1f", "id": "t/821713" }, { "author": { "url": "member/rikka", "name": "rikka", "avatar": "https://cdn.v2ex.com/avatar/041f/0a64/50936_large.png?m=1617038346" }, "url": "t/810892", "title": "homebrew \u79fb\u9664\u4e86\u5bf9 mojave \u7684\u652f\u6301\uff0c\u7ed3\u679c\u73b0\u5728\u5b89\u88c5\u5565\u90fd\u5f97\u7f16\u8bd1\u5b89\u88c5\uff0c\u6709\u7684\u8981\u51e0\u4e2a\u5c0f\u65f6\u624d\u7f16\u8bd1\u5b8c\uff0c\u6101\u6b7b\u4e86", "id": "t/810892", "date_published": "2021-10-27T03:07:27+00:00", "content_html": "\u8fd8\u6709\u5565\u6cd5\u5b50\u5417" }, { "author": { "url": "member/sungnix", "name": "sungnix", "avatar": "https://cdn.v2ex.com/avatar/636b/1370/14144_large.png?m=1646208158" }, "url": "t/755350", "title": "[M1 \u82af\u7247] \u5b89\u88c5\u6700\u65b0\u7248\u7684 Homebrew \u5e76\u66ff\u6362\u6210\u6e05\u534e\u5927\u5b66\u7684\u6e90\u540e\u65e0\u6cd5\u5b89\u88c5\u8f6f\u4ef6", "id": "t/755350", "date_published": "2021-02-23T02:29:27+00:00", "content_html": "\u7248\u672c\u53f7\uff1aHomebrew 3.0.2-4-gb1bde5f
\n\u9519\u8bef\u4fe1\u606f\uff1aSHA256 mismatch
\u5b89\u88c5\u4efb\u610f\u8f6f\u4ef6\u5c31\u4f1a\u63d0\u793a SHA256 \u4e0d\u5339\u914d\uff0c
\n\u5927\u5bb6\u6709\u9047\u5230\u8fc7\u8fd9\u4e2a\u95ee\u9898\u5417\uff1f
\n\u8fd8\u662f\u8bf4\u77e5\u4f1a\u5728 ARM \u82af\u7247\u7684 Mac \u4e0a\u624d\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\u5462\u3002\n
\n\nToday I\u2019d like to announce Homebrew 3.0.0. The most significant changes since 2.7.0 are official Apple Silicon support and a new bottle format in formulae.
\n
M1 Mac \u4e0a homebrew \u80fd\u548c Intel \u4e00\u6837\u547d\u4ee4\u5b89\u88c5\u4e86\u3002
\n\n\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"
\n
\n\n" }, { "author": { "url": "member/ccming", "name": "ccming", "avatar": "https://cdn.v2ex.com/avatar/ae4f/3688/19665_large.png?m=1652704880" }, "url": "t/739573", "date_modified": "2020-12-28T03:08:16+00:00", "content_html": "https://github.com/pforret/m1_homebrew% brew --version
\n
\nHomebrew 3.0.0
\nHomebrew/homebrew-core (git revision 5fd0f; last commit 2021-02-05)
\u56e0\u4e3a Github/\u5fae\u8f6f\u8981\u6c42\uff0c\u4e3a\u4e86\u907f\u514d\u6602\u8d35\u7684 shallow diff\uff0c\u6240\u6709\u7528\u6237\u90fd\u9700\u8981 unshallow \u6574\u4e2a repo \u3002brew update \u7684\u65f6\u5019\u4f1a\u62a5\u9519\u76f4\u5230 unshallow \u3002
\n\u770b\u4e86\u4e0b/usr/local/Homebrew/Library/Taps/\u5360\u7528\u7a7a\u95f4\u5df2\u63a5\u8fd1 1G\uff0c\u5e76\u4e14\u8fd8\u4f1a\u7ee7\u7eed\u589e\u957f\u3002\u4e3a\u4e86\u8282\u7701\u8ba1\u7b97\u8d44\u6e90\uff0c\u9700\u8981\u6240\u6709\u7528\u6237\u732e\u51fa\u66f4\u591a\u786c\u76d8\u8d44\u6e90\u3002Linux \u4e0a\u5305\u7ba1\u7406\u5668\u662f\u600e\u4e48\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\uff1f
\u9644\u4e0a unshallow \u7684 commands
\ngit -C \"/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core\" fetch --unshallow\ngit -C \"/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask\" fetch --unshallow\n\n\u76f8\u5173\u8ba8\u8bba:\nhttps://github.com/Homebrew/discussions/discussions/225
\n", "date_published": "2020-12-11T02:37:19+00:00", "title": "Homebrew \u8981\u6c42 unshallow \u6574\u4e2a repo", "id": "t/734388" }, { "author": { "url": "member/Livid", "name": "Livid", "avatar": "https://cdn.v2ex.com/avatar/c4ca/4238/1_large.png?m=1776858751" }, "url": "t/730447", "title": "Homebrew \u5bf9 Apple Silicon \u7684\u652f\u6301\u72b6\u51b5", "id": "t/730447", "date_published": "2020-11-30T00:59:27+00:00", "content_html": "https://github.com/Homebrew/brew/issues/7857\u6700\u8fd1\u521a\u5347\u7ea7\u4e86 mac\uff0c\u5728\u4f7f\u7528 homebrew \u7684\u65f6\u5019\u4f1a\u63d0\u9192\uff1a
\nWarning: You are using macOS 11.0.\nWe do not provide support for this released but not yet supported version.\nYou will encounter build failures with some formulae.\nPlease create pull requests instead of asking for help on Homebrew's GitHub,\nDiscourse, Twitter or any other official channels. You are responsible for\nresolving any issues you experience while you are running this\nreleased but not yet supported version.\n\n\u5c1d\u8bd5\u5b89\u88c5\u67d0\u4e2a\u547d\u4ee4\u884c\u5de5\u5177\u7684\u65f6\u5019\u4f1a\u62a5\u9519\uff1a
\nError: Your CLT does not support macOS 11.0.\nIt is either outdated or was modified.\nPlease update your CLT or delete it if no updates are available.\nError: An exception occurred within a child process:\nSystemExit: exit\n\n\u5728\u793e\u533a\u7684\u641c\u7d22\u7ed3\u679c\uff1a
\nhttps://github.com/GoogleContainerTools/kpt/issues/962 \u548c\u6211\u4e00\u6837\u7684\u95ee\u9898
\nhttps://discourse.brew.sh/t/macos-big-sur-issue/8407 \u540c\u4e0a
\nhttps://github.com/Homebrew/brew/issues/7857 \u8bf4\u7531\u4e8e CI \u73af\u5883\u7f3a\u5931\u6700\u8fd1\u51e0\u4e2a\u4e0d\u4f1a\u652f\u6301 arm \u4e0b\u7684 homebrew
\np.s.: \u673a\u5668\u662f Intel CPU.
\n", "date_published": "2020-11-16T06:12:28+00:00", "title": "Homebew on macOS Big Sur \u517c\u5bb9\u6027\u95ee\u9898", "id": "t/725768" }, { "author": { "url": "member/Tronsc", "name": "Tronsc", "avatar": "https://cdn.v2ex.com/avatar/6df5/bc89/446316_large.png?m=1652865213" }, "url": "t/705950", "title": "Mac \u7ec8\u7aef\u8fd0\u884c\u201cbrew install xxx\u201d\u8fc7\u7a0b\u4e2d\u4e0d\u663e\u793a\u4e0b\u8f7d\u8fdb\u5ea6\u6761\uff0c\u600e\u4e48\u89e3\u51b3\uff1f", "id": "t/705950", "date_published": "2020-09-10T14:18:48+00:00", "content_html": "\u5982\u9898\u3002\nbrew \u5df2\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff0c\u529f\u80fd\u4e5f\u6b63\u5e38\uff0c\u53ea\u662f\u5b89\u88c5\u65f6\u4e0d\u663e\u793a\u4e0b\u8f7d\u8fdb\u5ea6\u6761\u3002\n\u5c1d\u8bd5\u8fc7\u91cd\u88c5 Homebrew\uff0ccommand line tools \u5747\u65e0\u6548\uff1b\n\u5c1d\u8bd5\u8fc7\u5207\u6362\u8fc7 shell \uff08 zsh \u548c bash \uff09\u5747\u65e0\u6548\uff1b\n\u5c1d\u8bd5\u8fc7\u5207\u6362\u7ec8\u7aef\u5e94\u7528\uff08 Terminal \u548c iTerm2 \uff09\u5747\u65e0\u6548\uff1b\n\u6709\u9047\u5230\u76f8\u540c\u95ee\u9898\u7684\u5417\uff1f\u5982\u4f55\u89e3\u51b3\u5462\uff1f
\n" }, { "author": { "url": "member/0726", "name": "0726", "avatar": "https://cdn.v2ex.com/avatar/7a7d/4885/457534_large.png?m=1588037905" }, "url": "t/686777", "date_modified": "2020-07-03T04:02:38+00:00", "content_html": "\u53ef\u4ee5\u79d1\u5b66\u4e0a\u7f51\u8bbf\u95ee github \u4f46\u662f\u5374 ping \u4e0d\u901a\n\u7136\u540e\u4fee\u6539\u4e86 /private/etc/hosts \u914d\u7f6e \u6dfb\u52a0\u4e86 192.30.253.113 github.com\n\u4f9d\u7136\u65e0\u6548.
\n\u6211\u77e5\u9053\u6709\u56fd\u5185\u6e90,\u4f46\u662f\u4e0d\u592a\u60f3\u7528\u54c8. \u4e4b\u524d\u6709\u5b89\u88c5 \u6211\u53c8\u5378\u4e86 \u56e7!!
\n", "date_published": "2020-07-03T02:40:58+00:00", "title": "homebrew \u5b89\u88c5\u76f8\u5173", "id": "t/686777" }, { "author": { "url": "member/lbfeng", "name": "lbfeng", "avatar": "https://cdn.v2ex.com/avatar/6f48/4bd6/64013_large.png?m=1401869530" }, "url": "t/637197", "date_modified": "2020-01-11T22:37:41+00:00", "content_html": "\u7528 pyenv \u88c5\u4e86 python3,python2. brew \u518d\u88c5\u5176\u4ed6\u5305\u65f6\u5982\u679c\u4f9d\u8d56\u91cc\u6709 python \u8fd8\u662f\u4f1a\u5355\u72ec\u5b89\u88c5 python@2\u3002\u3002\u3002\u662f\u6211\u8bbe\u7f6e\u6709\u95ee\u9898\u4e48\uff1f
\n", "date_published": "2020-01-11T22:01:08+00:00", "title": "brew \u4e0d\u80fd\u627e\u5230 pyenv \u88c5\u7684 Python", "id": "t/637197" }, { "author": { "url": "member/Livid", "name": "Livid", "avatar": "https://cdn.v2ex.com/avatar/c4ca/4238/1_large.png?m=1776858751" }, "url": "t/597382", "date_modified": "2019-09-02T23:04:08+00:00", "content_html": "Homebrew \u7684\u4e00\u4e9b\u673a\u5236\u4e00\u76f4\u5728\u53d8\uff0c\u6240\u4ee5\u6709\u7684\u65f6\u5019\u5982\u679c\u7528\u5173\u952e\u5b57\u76f4\u63a5\u641c\u7d22\uff0c\u53ef\u80fd\u4f1a\u627e\u5230\u4e00\u4e9b\u8fc7\u65f6\u7684\u4fe1\u606f\u3002
\n\u5728\u76ee\u524d\u7248\u672c\u7684 macOS Mojave \u91cc\uff0c\u7528 Homebrew \u5b89\u88c5 NGINX \u5e76\u6539\u4e3a 80 \u7aef\u53e3\u542f\u52a8\u7684\u6700\u7b80\u6d01\u7684\u6b65\u9aa4\u662f\uff1a
\nbrew install nginx\n\n\u4f1a\u5b89\u88c5\u76ee\u524d\u6700\u65b0\u7684 1.17.3 \u7248\u672c\u3002
\u7136\u540e\u628a\u914d\u7f6e\u6587\u4ef6\u91cc\u7684\u9ed8\u8ba4\u7684 8080 \u6539\u4e3a 80\uff1a
\nvi /usr/local/etc/nginx/nginx.conf\n\n\u7136\u540e\uff0c\u5728\u7b2c\u4e00\u6b21\u542f\u52a8 NGINX \u670d\u52a1\u7684\u65f6\u5019\uff0c\u9700\u8981\u7528 sudo\uff0c\u56e0\u4e3a\u4f7f\u7528\u4e86\u7279\u6743\u7aef\u53e3 80\uff1a
sudo brew services start nginx\n\n\u5982\u679c\u4f60\u5b89\u88c5\u4e86\u5176\u4ed6\u4e5f\u9700\u8981\u4f7f\u7528\u7279\u6743\u7aef\u53e3\u7684\u670d\u52a1\uff0c\u6bd4\u5982\u9700\u8981\u4f7f\u7528 53 \u7aef\u53e3\u7684 DNSCrypt-Proxy\uff0c\u90a3\u4e48\u4e5f\u9700\u8981\u5728\u7b2c\u4e00\u6b21\u542f\u52a8\u7684\u65f6\u5019\u7528 sudo\u3002\u4e4b\u540e\u5982\u679c restart \u7684\u65f6\u5019\u4e5f\u9700\u8981\u7528 sudo\u3002
\n", "date_published": "2019-09-02T23:03:22+00:00", "title": "\u5173\u4e8e\u7528 Homebrew \u5b89\u88c5 NGINX \u5e76\u6539\u6210 80 \u7aef\u53e3\u542f\u52a8", "id": "t/597382" }, { "author": { "url": "member/CEBBCAT", "name": "CEBBCAT", "avatar": "https://cdn.v2ex.com/avatar/b123/8353/120816_large.png?m=1775651050" }, "url": "t/543672", "title": "[Homebrew]\u5206\u4eab\u4e00\u4e0b\u6628\u5929\u521a\u77e5\u9053\u7684\u4e2d\u79d1\u5927\u6e90\uff0c\u987a\u4fbf\u5410\u69fd\u4e00\u4e0b\u5b98\u65b9\u8fde\u4e2a mirror \u5217\u8868\u90fd\u6ca1\u5f97\uff0c\u4e0d\u77e5\u6d77\u5cb8\u8fd9\u8fb9\u7684\u75be\u82e6\u5417\uff1f\ud83d\ude2d", "id": "t/543672", "date_published": "2019-03-12T04:53:29+00:00", "content_html": "\u7b80\u800c\u8a00\u4e4b\uff0c\u5feb\u4f7f\u7528\u4e2d\u79d1\u5927\u5168\u5bb6\u6876\uff01\uff01\uff01
\n# Homebrew \u6e90\u4ee3\u7801\u4ed3\u5e93\u66ff\u6362\u4e3a USTC \u955c\u50cf\ncd \"$(brew --repo)\"\ngit remote set-url origin https://mirrors.ustc.edu.cn/brew.git\n\n# Homebrew Bottles (\u4e8c\u8fdb\u5236)\u6e90[\u9488\u5bf9 bash \u7528\u6237\u7684\uff0czsh \u540c\u7406]\necho 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile\nsource ~/.bash_profile\n\n# Homebrew Cask (\u754c\u9762\u7a0b\u5e8f)\u6e90\u66ff\u6362\u4e3a USTC \u955c\u50cf[\u4f46\u7a0b\u5e8f\u8fd8\u662f\u4ece\u5f00\u53d1\u8005\u5404\u81ea\u7684\u5730\u5740\u4e0b]\ncd \"$(brew --repo)\"/Library/Taps/homebrew/homebrew-cask\ngit remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git\n\n
\u6628\u5929\u53d1\u73b0\u4e86\u4e4b\u540e\u5148\u653e\u5728\u535a\u5ba2\u4e0a\u4e86\uff0c\u4eca\u5929\u8d34\u8fc7\u6765
\n\n" }, { "author": { "url": "member/meteor", "name": "meteor", "avatar": "https://cdn.v2ex.com/avatar/5804/6379/11420_large.png?m=1368285517" }, "url": "t/356120", "title": "homebrew cask \u56fd\u5185\u955c\u50cf\u7528\u54ea\u4e2a\u597d\uff1f", "id": "t/356120", "date_published": "2017-04-20T03:41:42+00:00", "content_html": "\u7528\u4e2d\u56fd\u79d1\u6280\u5927\u5b66\u7684\u90a3\u4e2a http://mirrors.ustc.edu.cn/help/homebrew-cask.git.html \u597d\u50cf\u62a5\u9519
\nerror: Unable to get pack file https://mirrors.ustc.edu.cn/homebrew-cask.git/objects/pack/pack-a72bff65450e38127e39b16ce1007fb517ee5cd8.pack\nThe requested URL returned error: 416 Requested Range Not Satisfiable\nerror: Unable to find 2a663d87ec798e2de66f7c79f3ada6f9a1c22f1b under https://mirrors.ustc.edu.cn/homebrew-cask.git\nCannot obtain needed object 2a663d87ec798e2de66f7c79f3ada6f9a1c22f1b\nerror: fetch failed.\n\n\u8bf7\u95ee homebrew cask \u56fd\u5185\u955c\u50cf\u7528\u54ea\u4e2a\u66f4\u597d\u5462\uff1f
\n" }, { "author": { "url": "member/herozhang", "name": "herozhang", "avatar": "https://cdn.v2ex.com/gravatar/b8c74c9f551d68163f833a6568bb59cb?s=73&d=retro" }, "url": "t/295758", "date_modified": "2016-07-29T05:19:29+00:00", "content_html": "fatal: repository 'https://mirrors.tuna.tsinghua.edu.cn/git/brew.git/' not found\nfatal: repository 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew-core.git/' not found
\n\u8fd8\u662f\u8bf4\u6211\u7684\u7f51\u7edc\u51fa\u95ee\u9898\u4e86\u3002\u3002\u3002\uff1f
\n", "date_published": "2016-07-29T05:12:14+00:00", "title": "\u8c8c\u4f3c\u6e05\u534e\u7684 homebrew mirror \u6302\u4e86", "id": "t/295758" }, { "author": { "url": "member/xucheng", "name": "xucheng", "avatar": "https://cdn.v2ex.com/avatar/5842/8943/76767_large.png?m=1448087822" }, "url": "t/271684", "date_modified": "2016-04-17T01:49:43+00:00", "content_html": "> https://twitter.com/MacHomebrew/status/721290118703751168\r