Git Product home page Git Product logo

Comments (2)

bndnio avatar bndnio commented on May 28, 2024

I'm seeing a similar issue with macOS Monterey 12.2.1 MacBook Pro 16, 2021, M1 Pro

Running first, I get

> sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/install)"

================================================
 Mac CLI Installer
================================================

Cloning into 'mac-cli'...
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 29 (delta 1), reused 19 (delta 0), pack-reused 0
Receiving objects: 100% (29/29), 2.19 MiB | 5.07 MiB/s, done.
Resolving deltas: 100% (1/1), done.
Would you like Mac CLI to show you the commands that are run on each mac command? (Yes / No)
Please enter your favourite text editor (by entering the command that opens your favourite editor. i.e: nano):
Press enter without any value to keep default: vi
Press ⌘V to insert current ()

bin not found
creating bin directory...
mkdir: /usr/local/bin: Permission denied
error in creating bin directory

Running sudo mkdir /usr/local/bin before the installer yielded

> sh -c "$(curl -fsSL https://raw.githubusercontent.com/guarinogabriel/mac-cli/master/mac-cli/tools/install)"

================================================
 Mac CLI Installer
================================================

Cloning into 'mac-cli'...
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 29 (delta 1), reused 20 (delta 0), pack-reused 0
Receiving objects: 100% (29/29), 2.19 MiB | 4.59 MiB/s, done.
Resolving deltas: 100% (1/1), done.
Would you like Mac CLI to show you the commands that are run on each mac command? (Yes / No)
Please enter your favourite text editor (by entering the command that opens your favourite editor. i.e: nano):
Press enter without any value to keep default: vi
Press ⌘V to insert current ()

cp: /usr/local/bin/mac: Permission denied
cp: /usr/local/bin/mac-cli: Permission denied
cp: /Users/brendonearl/.dotfiles/mac-cli/mac-cli/: unable to copy extended attributes to /usr/local/bin/mac-cli: Permission denied
cp: /usr/local/bin/mac-cli/misc: No such file or directory
cp: /Users/brendonearl/.dotfiles/mac-cli/mac-cli//misc: unable to copy extended attributes to /usr/local/bin/mac-cli/misc: No such file or directory
cp: /usr/local/bin/mac-cli/misc/help: No such file or directory
cp: /usr/local/bin/mac-cli/tools: No such file or directory
cp: /Users/brendonearl/.dotfiles/mac-cli/mac-cli//tools: unable to copy extended attributes to /usr/local/bin/mac-cli/tools: No such file or directory
cp: /usr/local/bin/mac-cli/tools/install: No such file or directory
cp: /usr/local/bin/mac-cli/tools/update: No such file or directory
cp: /usr/local/bin/mac-cli/tools/uninstall: No such file or directory
cp: /usr/local/bin/mac-cli/plugins: No such file or directory
cp: /Users/brendonearl/.dotfiles/mac-cli/mac-cli//plugins: unable to copy extended attributes to /usr/local/bin/mac-cli/plugins: No such file or directory
cp: /usr/local/bin/mac-cli/plugins/general: No such file or directory
cp: /usr/local/bin/mac-cli/plugins/network: No such file or directory
cp: /usr/local/bin/mac-cli/plugins/brew: No such file or directory
cp: /usr/local/bin/mac-cli/plugins/search: No such file or directory
cp: /usr/local/bin/mac-cli/plugins/ssh: No such file or directory
cp: /usr/local/bin/mac-cli/plugins/performance: No such file or directory
cp: /usr/local/bin/mac-cli/plugins/volume: No such file or directory
cp: /usr/local/bin/mac-cli/plugins/git: No such file or directory
cp: /usr/local/bin/mac-cli/completion: No such file or directory
cp: /Users/brendonearl/.dotfiles/mac-cli/mac-cli//completion: unable to copy extended attributes to /usr/local/bin/mac-cli/completion: No such file or directory
cp: /usr/local/bin/mac-cli/completion/fish_completion: No such file or directory
cp: /usr/local/bin/mac-cli/completion/bash_completion: No such file or directory
chmod: /usr/local/bin/mac-cli/*: No such file or directory
Installing Homebrew...
/usr/bin/ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'

Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in
Bash. Please migrate to the following command:
  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

==> Checking for `sudo` access (which may request your password)...
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew

Press RETURN/ENTER to continue or any other key to abort:

And I then exited because I already had homebrew installed using the now current bash installer.

Any advise on how to proceed? It seems strange that the installer is trying to re-install brew at the end of it all

from mac-cli.

stale avatar stale commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from mac-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.