[{"data":1,"prerenderedAt":167},["ShallowReactive",2],{"blog-post-fix-homebrew-permission-denied-on-macos":3,"recent-posts":103},{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":11,"slugs":12,"linked_documents":14,"lang":15,"alternate_languages":16,"data":17},"auJDJhEAAC4Aw8nO","fix-homebrew-permission-denied-on-macos",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avzZABIAACgAeKzX&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22auJDJhEAAC4Aw8nO%22%29+%5D%5D",[],"2026-10-28T18:50:17+0000","2026-10-28T18:50:56+0000",[13],"how-to-fix-homebrew-permission-denied-on-macos",[],"en-us",[],{"title":18,"date":24,"description":25,"image":30,"content":40},[19],{"type":20,"text":21,"spans":22,"direction":23},"heading1","How to Fix Homebrew \"Permission Denied\" on macOS",[],"ltr","2026-10-20",[26],{"type":27,"text":28,"spans":29,"direction":23},"heading2","Learn how to fix the \"Permission Denied\" error in Homebrew on macOS",[],{"dimensions":31,"alt":6,"copyright":6,"url":34,"id":35,"edit":36},{"width":32,"height":33},1376,768,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002Fn9bJFyBqvpjhCVQO_HowtoFixHomebrew%2522PermissionDenied%2522onmacOS.jpeg?auto=format,compress","n9bJFyBqvpjhCVQO",{"x":37,"y":37,"zoom":38,"background":39},0,1,"transparent",[41,51,58,62,68,71,78,81,84,100],{"type":42,"text":43,"spans":44,"direction":23},"paragraph","First, let's open Terminal. We will resolve this error by changing the ownership of the Homebrew folders to your current user account.",[45,49],{"start":46,"end":47,"type":48},18,26,"em",{"start":46,"end":47,"type":50},"strong",{"type":42,"text":52,"spans":53,"direction":23},"If you are using an Apple Silicon Mac with an M1, M2, M3, or M4 chip, run this command:",[54,57],{"start":55,"end":56,"type":48},20,37,{"start":55,"end":56,"type":50},{"type":59,"text":60,"spans":61,"direction":23},"preformatted","sudo chown -R $(whoami) \u002Fopt\u002Fhomebrew\u002F*",[],{"type":42,"text":63,"spans":64,"direction":23},"If you are using an Intel Mac, run this command instead:",[65,67],{"start":55,"end":66,"type":48},29,{"start":55,"end":66,"type":50},{"type":59,"text":69,"spans":70,"direction":23},"sudo chown -R $(whoami) \u002Fusr\u002Flocal\u002F*",[],{"type":42,"text":72,"spans":73,"direction":23},"When you press enter, Terminal will ask for your password. As a quick heads-up, no characters or dots will appear on screen while you type your password, so just enter it calmly and press enter.",[74,77],{"start":75,"end":76,"type":48},22,30,{"start":75,"end":76,"type":50},{"type":42,"text":79,"spans":80,"direction":23},"Give it a few seconds to finish updating the permissions across all your Homebrew files.",[],{"type":42,"text":82,"spans":83,"direction":23},"Now, let's do a quick test to make sure everything is working properly. Run \u003Ccode>brew doctor\u003C\u002Fcode> to check for any remaining issues.",[],{"type":85,"oembed":86},"embed",{"embed_url":87,"type":88,"version":89,"title":21,"author_name":90,"author_url":91,"provider_name":92,"provider_url":93,"thumbnail_url":94,"thumbnail_width":95,"thumbnail_height":96,"html":97,"height":98,"width":99},"https:\u002F\u002Fyoutu.be\u002Fwne4I-S2fiU","video","1.0","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002Fwne4I-S2fiU\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002Fwne4I-S2fiU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"How to Fix Homebrew &quot;Permission Denied&quot; on macOS\">\u003C\u002Fiframe>",113,200,{"type":42,"text":101,"spans":102,"direction":23},"As a helpful tip, you can run \u003Ccode>brew update && brew upgrade\u003C\u002Fcode> to confirm that Homebrew can update your packages without throwing permission errors again.",[],{"results":104,"page":38,"results_per_page":165,"results_size":165,"total_results_size":166,"total_pages":38},[105,127,146],{"id":106,"uid":107,"url":6,"type":7,"href":108,"tags":109,"first_publication_date":110,"last_publication_date":110,"slugs":111,"linked_documents":113,"lang":15,"alternate_languages":114,"data":115},"avg1XREAACsAj4eS","sox-change-bit-depth","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avzZABIAACgAeKzX&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avg1XREAACsAj4eS%22%29+%5D%5D",[],"2026-11-17T22:45:19+0000",[112],"sox-how-to-change-bit-depth",[],[],{"image":116,"title":124},{"dimensions":117,"alt":120,"copyright":6,"url":121,"id":122,"edit":123},{"width":118,"height":119},1280,720,"SoX: How to Change Bit Depth","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FGm9ND5avh6VMrQoP_sox-change-bit-depth.png?auto=format,compress","Gm9ND5avh6VMrQoP",{"x":37,"y":37,"zoom":38,"background":39},[125],{"type":20,"text":120,"spans":126,"direction":23},[],{"id":128,"uid":129,"url":6,"type":7,"href":130,"tags":131,"first_publication_date":110,"last_publication_date":110,"slugs":132,"linked_documents":134,"lang":15,"alternate_languages":135,"data":136},"avg1XxEAACcAj4eg","sox-reverse-audio","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avzZABIAACgAeKzX&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avg1XxEAACcAj4eg%22%29+%5D%5D",[],[133],"sox-how-to-reverse-audio",[],[],{"image":137,"title":143},{"dimensions":138,"alt":139,"copyright":6,"url":140,"id":141,"edit":142},{"width":118,"height":119},"SoX: How to Reverse Audio","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002F6yWWTbolMOE4a3JL_sox-reverse-audio.png?auto=format,compress","6yWWTbolMOE4a3JL",{"x":37,"y":37,"zoom":38,"background":39},[144],{"type":20,"text":139,"spans":145,"direction":23},[],{"id":147,"uid":148,"url":6,"type":7,"href":149,"tags":150,"first_publication_date":110,"last_publication_date":110,"slugs":151,"linked_documents":153,"lang":15,"alternate_languages":154,"data":155},"avg1XBEAACwAj4eL","sox-convert-stereo-to-mono","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avzZABIAACgAeKzX&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avg1XBEAACwAj4eL%22%29+%5D%5D",[],[152],"sox-how-to-convert-stereo-to-mono",[],[],{"image":156,"title":162},{"dimensions":157,"alt":158,"copyright":6,"url":159,"id":160,"edit":161},{"width":118,"height":119},"SoX: How to Convert Stereo to Mono","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FPgqFJaqMdDkYQkE6_sox-convert-stereo-to-mono.png?auto=format,compress","PgqFJaqMdDkYQkE6",{"x":37,"y":37,"zoom":38,"background":39},[163],{"type":20,"text":158,"spans":164,"direction":23},[],3,64,1794955544713]