Fabric
Fabric copied to clipboard
[Bug]: Not installable on MacOs (apple silicone)
What happened?
IDK maybe I'm a dunce, but I tried installing this through every method possible. I even asked 2 different LLMs to help. I used the curl command in the instructions. I tried brew. I tried using git. At one point I got a "fabric" folder. I followed network chuck's video and did "pipx install ." It did a bunch of stuff. But there's no fabric file to add to my path or make executable. I even tried building it in go. Just wanted to let you know. I might circle back and try again, but after 2 hours I'm kind of done trying.
Version check
- [x] Yes I was.
Relevant log output
Relevant screenshots (optional)
No response
I'm glad I'm not the only one, just have not had time to investigate
You can try this approach: https://github.com/danielmiessler/fabric/blob/main/Web%20Interface%20MOD%20Readme%20Files/WEB%20V2%20Install%20Guide.md
As of today Fabric should be available in Homebrew and can be installed by:
brew update
brew install fabric-ai
I also found that on MacOS the command is fabric-ai, not just fabric.
I thought my $PATH was wrong, but alas, the command is fabric-ai on MacOS after installing w/ Homebrew
@chirul0 yes, the note on name difference is in the README and is due to the conflict with https://www.fabfile.org/
@psillypsymun
The "pipx" path was the old way for the old Python source code.
The new way (and I'm running this on two Apple Silicon Macs and an old Intel Mac, along with a Linux box and a Windows 11 box):
- Install go
For Macs, easiest way is:
brew install go
- Install
fabricand follow the instructions in the README:
go install github.com/danielmiessler/fabric@latest
And set up your GOLANG environment variables:
# Golang environment variables
export GOPATH=$HOME/go
[[ " ${path[@]} " != *" $GOPATH/bin "* ]] && path=($GOPATH/bin $path)
Not familiar with Brew packaging. How are the latest merged pulls added to the brew install?
@jmd1010 See this comment: https://github.com/danielmiessler/fabric/pull/1376#issuecomment-2744672490
@vaygr said:
this is built-in in Homebrew automations, I just wanted to submit the formula first for a thorough review, and once it's accepted, figure out the rest. I updated it to 1.4.163 in https://github.com/Homebrew/homebrew-core/pull/215420 and added to autobump list, which is checked every 3 hours IIRC, so moving forward it should keep releases in sync.
FYI the first run worked successfully in https://github.com/Homebrew/homebrew-core/pull/215742.
@psillypsymun can you close this issue?
@chirul0 after installing the fabric-ai homebrew formula, just add to your shell startup files:
alias fabric='fabric-ai'