{"id":95063,"date":"2022-02-18T08:58:35","date_gmt":"2022-02-17T23:58:35","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=95063"},"modified":"2022-09-02T17:01:02","modified_gmt":"2022-09-02T08:01:02","slug":"how-to-install-homebrew-in-2022","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/how-to-install-homebrew-in-2022\/","title":{"rendered":"macOS\u306bHomebrew\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/02\/s_20220215_173305.jpg\" alt=\"S 20220215 173305\" title=\"s_20220215_173305.jpg\" border=\"0\" width=\"1280\" height=\"701\" \/><\/p>\n<p>macOS(\u3068Linux)\u7528\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u300c<a href=\"https:\/\/brew.sh\/index_ja\">Homebrew<\/a>\u300d\u3002<\/p>\n<p>macOS\u5411\u3051\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3068\u3057\u3066\u306f\u5f8c\u767a\u3067\u3059\u304c\u3001\u3044\u307e\u3084\u591a\u304f\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5bfe\u5fdc\u3059\u308b\u3001\u6700\u3082\u4eba\u6c17\u304c\u9ad8\u3044\u30c4\u30fc\u30eb\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3053\u306eHomebrew\u3092macOS\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u74b0\u5883\u306fmacOS Monterey 12.2.1\u3067\u3059\u304c\u3001Homebrew\u304c\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308bmacOS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306a\u3089\u3070\u7279\u306b\u624b\u9806\u306b\u9055\u3044\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>Homebrew\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u6700\u521d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b<\/h2>\n<p><a href=\"https:\/\/brew.sh\/index_ja\">Homebrew<\/a>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u3001\u516c\u5f0f\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/02\/s_20220215_173406.jpg\" alt=\"S 20220215 173406\" title=\"s_20220215_173406.jpg\" border=\"0\" width=\"1280\" height=\"833\" \/><\/p>\n<p>\u25b2\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u306e\u4e0b\u306b\u3042\u308b\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u884c\u53f3\u7aef\u306e\u30a2\u30a4\u30b3\u30f3(\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u30a2\u30a4\u30b3\u30f3)\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u30b3\u30de\u30f3\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<pre>\r\n\/bin\/bash -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"\r\n<\/pre>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u3044\u3066\u8cbc\u308a\u4ed8\u3051\u3001RETURN\u3092\u62bc\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/02\/s_20220215_173441.jpg\" alt=\"S 20220215 173441\" title=\"s_20220215_173441.jpg\" border=\"0\" width=\"1280\" height=\"833\" \/><\/p>\n<p>\u25b2M1 Mac\u306e\u5834\u5408\u300c\/opt\/homebrew\u300d\u4ee5\u4e0b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/02\/s_20220215_173730.jpg\" alt=\"S 20220215 173730\" title=\"s_20220215_173730.jpg\" border=\"0\" width=\"1280\" height=\"833\" \/><\/p>\n<p>\u25b2\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e2\u3064\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u6848\u5185\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre>\r\necho 'eval $(\/opt\/homebrew\/bin\/brew shellenv)' >> \/Users\/sora\/.zprofile\r\neval $(\/opt\/homebrew\/bin\/brew shellenv)\r\n<\/pre>\n<p>1\u884c\u76ee\u306fHomebrew\u306e\u74b0\u5883\u8a2d\u5b9a\u3092\u6bce\u56de\u81ea\u52d5\u7684\u306b\u884c\u3046\u305f\u3081\u306e\u3082\u306e\u3067\u30012\u884c\u76ee\u306f\u73fe\u5728\u8d77\u52d5\u3057\u3066\u3044\u308b\u30b7\u30a7\u30eb\u3067\u74b0\u5883\u8a2d\u5b9a\u3092\u884c\u3046\u305f\u3081\u306e\u3082\u306e\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u884c\u5f8c\u300cbrew\u300d\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u7528\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2022\/02\/s_20220215_173934.jpg\" alt=\"S 20220215 173934\" title=\"s_20220215_173934.jpg\" border=\"0\" width=\"1280\" height=\"833\" \/><\/p>\n<p>\u25b2\u4f8b\u3048\u3070wget\u30b3\u30de\u30f3\u30c9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nbrew install wget\r\n<\/pre>\n<p>\u305d\u306e\u4ed6\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u7528\u53ef\u80fd\u3067\u3059(formula=\u30d1\u30c3\u30b1\u30fc\u30b8\u540d)\u3002<\/p>\n<ul>\n<li><code>brew uninstall formula<\/code>: formula\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/li>\n<li><code>brew search text: text<\/code>\u3092\u542b\u3080formula\u3092\u691c\u7d22<\/li>\n<li><code>brew list<\/code>: \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305fformula\u306e\u4e00\u89a7<\/li>\n<\/ul>\n<p>brew\u30b3\u30de\u30f3\u30c9\u306e\u8a73\u7d30\u306f<a href=\"https:\/\/docs.brew.sh\/Manpage\">\u3053\u3061\u3089<\/a>\u3067\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>macOS\u306bHomebrew\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3057\u305f\u3002Homebrew\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u3055\u307e\u3056\u307e\u306a\u30c4\u30fc\u30eb\u3092macOS\u306b\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>macOS(\u3068Linux)\u7528\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u300cHomebrew\u300d\u3002 macOS\u5411\u3051\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3068\u3057\u3066\u306f\u5f8c\u767a\u3067\u3059\u304c\u3001\u3044\u307e\u3084\u591a\u304f\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5bfe\u5fdc\u3059\u308b\u3001\u6700\u3082\u4eba\u6c17\u304c\u9ad8\u3044\u30c4\u30fc\u30eb\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u4eca [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":95095,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[2130],"class_list":["post-95063","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-homebrew"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/95063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=95063"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/95063\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/95095"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=95063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=95063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=95063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}