Comments (8)
The recommended way to keep packages the same between macs is using brew bundle
, which makes all steps redundant.
from install.
[…], should I modify my
.zshrc
with some PATH modification or what is right way?
The recommended way is to add eval "$(/opt/homebrew/bin/brew shellenv)"
to your ~/.zshrc
.
For reference:
Lines 1044 to 1046 in 3d2b88b
from install.
To recover a list of the Homebrew packages which installed a binary into /usr/local/bin
:
$ ls -l /usr/local/bin | sed -n '/Cellar/ s!^.*/Cellar/\([^/]*\)/.*!\1!p' | sort -u
Edit: better
$ ls /usr/local/Cellar
$ ls /usr/local/Caskroom
from install.
Is there still something actionable on our side? Is a documentation update still necessary?
It's the first complaint we get about that lack of documentation (thanks by the way :)), so I am wondering how much effort we should put into this.
from install.
I think that the fact that the uninstaller doesn't work in the arch migration case is very confusing. When you have a broken Homebrew install, the last recourse is to cleanup everything and restart from fresh, but in the migration case that doesn't work as the uninstaller is locked on the current system arch. This failure is adding insult to injury.
I know that even if someone was writing a migration tool (I would be tempted to do it for my own usage, but it is just short term), no one would be interested in maintaining it, so that would only lead to more pain for users.
So, it would be appreciated to have:
- tooling to cleanup Homebrew whether it is installed into /usr/local/bin or /opt/homebrew independently of the native arch (that might be just shell commands documented in the README)
- instructions in README or FAQ to document that tooling and link to the use cases (What to do in case of "Bad CPU type in executable"?)
With some guidance about where to submit changes and in which format, I could submit some of the changes myself.
from install.
I think that the fact that the uninstaller doesn't work in the arch migration case is very confusing.
By default it uninstalls the default Homebrew, https://github.com/Homebrew/install?tab=readme-ov-file#uninstall-homebrew suggests running it with --help
though. That shows how to "cleanup Homebrew whether it is installed into /usr/local/bin or /opt/homebrew independently of the native arch"
from install.
By default it uninstalls the default Homebrew, https://github.com/Homebrew/install?tab=readme-ov-file#uninstall-homebrew suggests running it with
--help
though. That shows how to "cleanup Homebrew whether it is installed into /usr/local/bin or /opt/homebrew independently of the native arch"
I could see an argument that some of the uninstall options could be spelled out in the README so am rescoping this issue to that goal.
from install.
I have run on the same issue.
rm -rf /usr/local/bin/brew
rm -rf /opt/homebrew/*
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
and then reinstall and run
eval "$(/opt/homebrew/bin/brew shellenv)"
and this requires me to run the command above each time I open new terminal session, should I modify my .zshrc
with some PATH modification or what is right way?
from install.
Related Issues (20)
- [Bug] Apple not hosting latest CLI tools on software update servers? HOT 1
- Brew PKG installer failing HOT 2
- Assertion failed: (executable_dirname), function system_prefix, file exec-cmd.c, line 44. HOT 1
- Cannot install homebrew on OS 12.6.8 HOT 3
- Can you make should_install_command_line_tools() more gentle? HOT 4
- Can you move the Homebrew Cache to a system-wide place? HOT 3
- Inaccurate post-install instructions HOT 19
- Script install fails HOT 1
- Cannot install via .pkg installer HOT 1
- Stuck at Installing homebrew HOT 2
- Install .pkg from terminal ? HOT 2
- uninstall warning HOT 1
- Brew install fails - sorbet.rb:4:in `require': cannot load such file -- sorbet-runtime (LoadError) HOT 5
- [performance] git fetch/clone entire repo (70Mb) vs single commit (3Mb) --depth 1 HOT 1
- Don't checkout Homebrew/brew `master` for non-developers HOT 2
- Linux install stuck (Debian Trixie) HOT 7
- Homebrew package installer does not work with Xcode alone HOT 2
- All packages from 4.1.23 and up are unnotarized HOT 4
- Install script doesn't detect arm64 for M3 Pro MacBook Pro HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from install.