前提・実現したいこと
下記記事を参考にターミナルからHomebrewをインストールしたのですが、
$ which brewと検索してもcommand not foundと表示されます。
↓参考にした記事
https://qiita.com/yoshizaki_kkgk/items/4663148a2b3ca078ddbc
そもそもHomebrew自体がダウンロードできていないのが、
私のターミナルでは上記コマンドが作動しないのか、
なぜcommand not foundと表示されるのかを明らかにしたいです。
発生している問題・エラーメッセージ
-bash: $: command not found
該当のソースコード
Last login: Fri Jul 6 00:28:59 on ttys000 surfer-172-20-1-123-hotspot:~ yono$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion.d/brew /usr/local/Homebrew Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew Password: ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew ==> /usr/bin/sudo /usr/sbin/chown yono /Library/Caches/Homebrew ==> Downloading and installing Homebrew... remote: Counting objects: 15, done. remote: Compressing objects: 100% (7/7), done. remote: Total 15 (delta 8), reused 15 (delta 8), pack-reused 0 Unpacking objects: 100% (15/15), done. From https://github.com/Homebrew/brew adcef59bd..9fff17784 master -> origin/master HEAD is now at 9fff17784 Merge pull request #4430 from MikeMcQuaid/handle-build-dep-reqs ==> Cleaning up /Library/Caches/Homebrew... ==> Migrating /Library/Caches/Homebrew to /Users/yono/Library/Caches/Homebrew... ==> Deleting /Library/Caches/Homebrew... Already up-to-date. ==> Installation successful! ==> Homebrew has enabled anonymous aggregate user behaviour analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics.html ==> Next steps: - Run `brew help` to get started - Further documentation: https://docs.brew.sh surfer-172-20-1-123-hotspot:~ yono$ $ which brew -bash: $: command not found surfer-172-20-1-123-hotspot:~ yono$ surfer-172-20-1-123-hotspot:~ yono$ $ brew install python3 -bash: $: command not found surfer-172-20-1-123-hotspot:~ yono$ $ which brew -bash: $: command not found surfer-172-20-1-123-hotspot:~ yono$
試したこと
上記記事を参考に、
・ターミナルからHomebrewのインストール
・HomeBrewが正しくインストールされているかを確認すべき、ターミナルに$ which brewと入力し検索。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/07/06 00:54
2018/07/06 09:10