Homebrew Help! - Main Command Not Found!


#1

Hello! I’m a new member and just had a question about the brew command. You see, after installing Homebrew and restarting Terminal, it doesn’t recognize brew as a command. Do I need to cd to a certain directory?


#2

Also, I tried to do an alternate installation (mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew) to /usr/local but all it did was create the homebrew directory, do the downloading files thing and then gave me more error messages then I had ever seen in my life. Here’s a small sample of them:
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 128 0 128 0 0 158 0 --:--:-- --:--:-- --:--:-- 158 .github/: Can't create '.github' .github/ISSUE_TEMPLATE.md: Failed to create dir '.github'Can't create '.github/ISSUE_TEMPLATE.md' .github/PULL_REQUEST_TEMPLATE.md: Failed to create dir '.github'Can't create '.github/PULL_REQUEST_TEMPLATE.md' .github/stale.yml: Failed to create dir '.github'Can't create '.github/stale.yml' .gitignore: Can't create '.gitignore' .travis.yml: Can't create '.travis.yml' .yardopts: Can't create '.yardopts' CHANGELOG.md: Can't create 'CHANGELOG.md' CODEOFCONDUCT.md: Can't create 'CODEOFCONDUCT.md' CONTRIBUTING.md: Can't create 'CONTRIBUTING.md' LICENSE.txt: Can't create 'LICENSE.txt' Library/: Can't create 'Library' Library/.auditcops.yml: Failed to create dir 'Library'Can't create 'Library/.auditcops.yml' Library/.editorconfig: Failed to create dir 'Library'Can't create 'Library/.editorconfig' Library/.rubocop.yml: Failed to create dir 'Library'Can't create 'Library/.rubocop.yml' Library/Homebrew/: Failed to create dir 'Library'Can't create 'Library/Homebrew' Library/Homebrew/.rubocop.yml: Failed to create dir 'Library'Can't create 'Library/Homebrew/.rubocop.yml' Library/Homebrew/.rubocop_todo.yml: Failed to create dir 'Library'Can't create 'Library/Homebrew/.rubocop_todo.yml' Library/Homebrew/.simplecov: Failed to create dir 'Library'Can't create 'Library/Homebrew/.simplecov' Library/Homebrew/PATH.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/PATH.rb' Library/Homebrew/README.md: Failed to create dir 'Library'Can't create 'Library/Homebrew/README.md' Library/Homebrew/brew.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/brew.rb' Library/Homebrew/brew.sh: Failed to create dir 'Library'Can't create 'Library/Homebrew/brew.sh' Library/Homebrew/build.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/build.rb' Library/Homebrew/build_environment.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/build_environment.rb' Library/Homebrew/build_options.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/build_options.rb' Library/Homebrew/cask/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask' Library/Homebrew/cask/lib/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib' Library/Homebrew/cask/lib/hbc.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc.rb' Library/Homebrew/cask/lib/hbc/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc' Library/Homebrew/cask/lib/hbc/artifact.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact.rb' Library/Homebrew/cask/lib/hbc/artifact/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact' Library/Homebrew/cask/lib/hbc/artifact/abstract_flight_block.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/abstract_flight_block.rb' Library/Homebrew/cask/lib/hbc/artifact/app.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/app.rb' Library/Homebrew/cask/lib/hbc/artifact/artifact.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/artifact.rb' Library/Homebrew/cask/lib/hbc/artifact/audio_unit_plugin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/audio_unit_plugin.rb' Library/Homebrew/cask/lib/hbc/artifact/base.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/base.rb' Library/Homebrew/cask/lib/hbc/artifact/binary.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/binary.rb' Library/Homebrew/cask/lib/hbc/artifact/colorpicker.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/colorpicker.rb' Library/Homebrew/cask/lib/hbc/artifact/dictionary.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/dictionary.rb' Library/Homebrew/cask/lib/hbc/artifact/font.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/font.rb' Library/Homebrew/cask/lib/hbc/artifact/input_method.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/input_method.rb' Library/Homebrew/cask/lib/hbc/artifact/installer.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/installer.rb' Library/Homebrew/cask/lib/hbc/artifact/internet_plugin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/internet_plugin.rb' Library/Homebrew/cask/lib/hbc/artifact/moved.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/moved.rb' Library/Homebrew/cask/lib/hbc/artifact/nested_container.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/nested_container.rb' Library/Homebrew/cask/lib/hbc/artifact/pkg.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/pkg.rb' Library/Homebrew/cask/lib/hbc/artifact/postflight_block.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/postflight_block.rb' Library/Homebrew/cask/lib/hbc/artifact/preflight_block.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/preflight_block.rb' Library/Homebrew/cask/lib/hbc/artifact/prefpane.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/prefpane.rb' Library/Homebrew/cask/lib/hbc/artifact/qlplugin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/qlplugin.rb' Library/Homebrew/cask/lib/hbc/artifact/relocated.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/relocated.rb' Library/Homebrew/cask/lib/hbc/artifact/screen_saver.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/screen_saver.rb' Library/Homebrew/cask/lib/hbc/artifact/service.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/service.rb' Library/Homebrew/cask/lib/hbc/artifact/stage_only.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/stage_only.rb' Library/Homebrew/cask/lib/hbc/artifact/suite.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/suite.rb' Library/Homebrew/cask/lib/hbc/artifact/symlinked.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/symlinked.rb' Library/Homebrew/cask/lib/hbc/artifact/uninstall.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/uninstall.rb' Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/uninstall_base.rb' Library/Homebrew/cask/lib/hbc/artifact/vst3_plugin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/vst3_plugin.rb' Library/Homebrew/cask/lib/hbc/artifact/vst_plugin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/vst_plugin.rb' Library/Homebrew/cask/lib/hbc/artifact/zap.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/artifact/zap.rb' Library/Homebrew/cask/lib/hbc/audit.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/audit.rb' Library/Homebrew/cask/lib/hbc/auditor.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/auditor.rb' Library/Homebrew/cask/lib/hbc/cache.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cache.rb' Library/Homebrew/cask/lib/hbc/cask.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cask.rb' Library/Homebrew/cask/lib/hbc/cask_dependencies.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cask_dependencies.rb' Library/Homebrew/cask/lib/hbc/cask_loader.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cask_loader.rb' Library/Homebrew/cask/lib/hbc/caskroom.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/caskroom.rb' Library/Homebrew/cask/lib/hbc/caveats.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/caveats.rb' Library/Homebrew/cask/lib/hbc/checkable.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/checkable.rb' Library/Homebrew/cask/lib/hbc/cli.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli.rb' Library/Homebrew/cask/lib/hbc/cli/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli' Library/Homebrew/cask/lib/hbc/cli/--version.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/--version.rb' Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb' Library/Homebrew/cask/lib/hbc/cli/abstract_internal_command.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/abstract_internal_command.rb' Library/Homebrew/cask/lib/hbc/cli/audit.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/audit.rb' Library/Homebrew/cask/lib/hbc/cli/cat.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/cat.rb' Library/Homebrew/cask/lib/hbc/cli/cleanup.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/cleanup.rb' Library/Homebrew/cask/lib/hbc/cli/create.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/create.rb' Library/Homebrew/cask/lib/hbc/cli/doctor.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/doctor.rb' Library/Homebrew/cask/lib/hbc/cli/edit.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/edit.rb' Library/Homebrew/cask/lib/hbc/cli/fetch.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/fetch.rb' Library/Homebrew/cask/lib/hbc/cli/home.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/home.rb' Library/Homebrew/cask/lib/hbc/cli/info.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/info.rb' Library/Homebrew/cask/lib/hbc/cli/install.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/install.rb' Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/internal_appcast_checkpoint.rb' Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/internal_audit_modified_casks.rb' Library/Homebrew/cask/lib/hbc/cli/internal_dump.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/internal_dump.rb' Library/Homebrew/cask/lib/hbc/cli/internal_help.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/internal_help.rb' Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb' Library/Homebrew/cask/lib/hbc/cli/list.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/list.rb' Library/Homebrew/cask/lib/hbc/cli/options.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/options.rb' Library/Homebrew/cask/lib/hbc/cli/outdated.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/outdated.rb' Library/Homebrew/cask/lib/hbc/cli/reinstall.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/reinstall.rb' Library/Homebrew/cask/lib/hbc/cli/search.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/search.rb' Library/Homebrew/cask/lib/hbc/cli/style.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/style.rb' Library/Homebrew/cask/lib/hbc/cli/uninstall.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/uninstall.rb' Library/Homebrew/cask/lib/hbc/cli/zap.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/cli/zap.rb' Library/Homebrew/cask/lib/hbc/container.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container.rb' Library/Homebrew/cask/lib/hbc/container/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container' Library/Homebrew/cask/lib/hbc/container/air.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/air.rb' Library/Homebrew/cask/lib/hbc/container/base.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/base.rb' Library/Homebrew/cask/lib/hbc/container/bzip2.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/bzip2.rb' Library/Homebrew/cask/lib/hbc/container/cab.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/cab.rb' Library/Homebrew/cask/lib/hbc/container/criteria.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/criteria.rb' Library/Homebrew/cask/lib/hbc/container/directory.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/directory.rb' Library/Homebrew/cask/lib/hbc/container/dmg.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/dmg.rb' Library/Homebrew/cask/lib/hbc/container/executable.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/executable.rb' Library/Homebrew/cask/lib/hbc/container/generic_unar.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/generic_unar.rb' Library/Homebrew/cask/lib/hbc/container/gpg.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/gpg.rb' Library/Homebrew/cask/lib/hbc/container/gzip.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/gzip.rb' Library/Homebrew/cask/lib/hbc/container/lzma.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/lzma.rb' Library/Homebrew/cask/lib/hbc/container/naked.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/naked.rb' Library/Homebrew/cask/lib/hbc/container/otf.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/otf.rb' Library/Homebrew/cask/lib/hbc/container/pkg.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/pkg.rb' Library/Homebrew/cask/lib/hbc/container/rar.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/rar.rb' Library/Homebrew/cask/lib/hbc/container/seven_zip.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/seven_zip.rb' Library/Homebrew/cask/lib/hbc/container/sit.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/sit.rb' Library/Homebrew/cask/lib/hbc/container/svn_repository.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/svn_repository.rb' Library/Homebrew/cask/lib/hbc/container/tar.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/tar.rb' Library/Homebrew/cask/lib/hbc/container/ttf.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/ttf.rb' Library/Homebrew/cask/lib/hbc/container/xar.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/xar.rb' Library/Homebrew/cask/lib/hbc/container/xz.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/xz.rb' Library/Homebrew/cask/lib/hbc/container/zip.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/container/zip.rb' Library/Homebrew/cask/lib/hbc/download.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/download.rb' Library/Homebrew/cask/lib/hbc/download_strategy.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/download_strategy.rb' Library/Homebrew/cask/lib/hbc/dsl.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl.rb' Library/Homebrew/cask/lib/hbc/dsl/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl' Library/Homebrew/cask/lib/hbc/dsl/appcast.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/appcast.rb' Library/Homebrew/cask/lib/hbc/dsl/base.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/base.rb' Library/Homebrew/cask/lib/hbc/dsl/caveats.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/caveats.rb' Library/Homebrew/cask/lib/hbc/dsl/conflicts_with.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/conflicts_with.rb' Library/Homebrew/cask/lib/hbc/dsl/container.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/container.rb' Library/Homebrew/cask/lib/hbc/dsl/depends_on.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/depends_on.rb' Library/Homebrew/cask/lib/hbc/dsl/gpg.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/gpg.rb' Library/Homebrew/cask/lib/hbc/dsl/installer.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/installer.rb' Library/Homebrew/cask/lib/hbc/dsl/postflight.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/postflight.rb' Library/Homebrew/cask/lib/hbc/dsl/preflight.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/preflight.rb' Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/stanza_proxy.rb' Library/Homebrew/cask/lib/hbc/dsl/uninstall_postflight.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/uninstall_postflight.rb' Library/Homebrew/cask/lib/hbc/dsl/uninstall_preflight.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/uninstall_preflight.rb' Library/Homebrew/cask/lib/hbc/dsl/version.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/dsl/version.rb' Library/Homebrew/cask/lib/hbc/exceptions.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/exceptions.rb' Library/Homebrew/cask/lib/hbc/installer.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/installer.rb' Library/Homebrew/cask/lib/hbc/locations.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/locations.rb' Library/Homebrew/cask/lib/hbc/macos.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/macos.rb' Library/Homebrew/cask/lib/hbc/metadata.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/metadata.rb' Library/Homebrew/cask/lib/hbc/pkg.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/pkg.rb' Library/Homebrew/cask/lib/hbc/qualified_token.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/qualified_token.rb' Library/Homebrew/cask/lib/hbc/scopes.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/scopes.rb' Library/Homebrew/cask/lib/hbc/staged.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/staged.rb' Library/Homebrew/cask/lib/hbc/system_command.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/system_command.rb' Library/Homebrew/cask/lib/hbc/topological_hash.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/topological_hash.rb' Library/Homebrew/cask/lib/hbc/underscore_supporting_uri.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/underscore_supporting_uri.rb' Library/Homebrew/cask/lib/hbc/url.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/url.rb' Library/Homebrew/cask/lib/hbc/utils.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/utils.rb' Library/Homebrew/cask/lib/hbc/utils/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/utils' Library/Homebrew/cask/lib/hbc/utils/hash_validator.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/utils/hash_validator.rb' Library/Homebrew/cask/lib/hbc/verify.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/verify.rb' Library/Homebrew/cask/lib/hbc/verify/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/verify' Library/Homebrew/cask/lib/hbc/verify/checksum.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/verify/checksum.rb' Library/Homebrew/cask/lib/hbc/verify/gpg.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/verify/gpg.rb' Library/Homebrew/cask/lib/hbc/version.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cask/lib/hbc/version.rb' Library/Homebrew/caveats.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/caveats.rb' Library/Homebrew/checksum.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/checksum.rb' Library/Homebrew/cleaner.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cleaner.rb' Library/Homebrew/cleanup.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cleanup.rb' Library/Homebrew/cmd/: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd' Library/Homebrew/cmd/--cache.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/--cache.rb' Library/Homebrew/cmd/--cellar.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/--cellar.rb' Library/Homebrew/cmd/--env.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/--env.rb' Library/Homebrew/cmd/--prefix.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/--prefix.rb' Library/Homebrew/cmd/--repository.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/--repository.rb' Library/Homebrew/cmd/--version.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/--version.rb' Library/Homebrew/cmd/analytics.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/analytics.rb' Library/Homebrew/cmd/cask.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/cask.rb' Library/Homebrew/cmd/cat.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/cat.rb' Library/Homebrew/cmd/cleanup.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/cleanup.rb' Library/Homebrew/cmd/command.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/command.rb' Library/Homebrew/cmd/commands.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/commands.rb' Library/Homebrew/cmd/config.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/config.rb' Library/Homebrew/cmd/deps.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/deps.rb' Library/Homebrew/cmd/desc.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/desc.rb' Library/Homebrew/cmd/diy.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/diy.rb' Library/Homebrew/cmd/doctor.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/doctor.rb' Library/Homebrew/cmd/fetch.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/fetch.rb' Library/Homebrew/cmd/gist-logs.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/gist-logs.rb' Library/Homebrew/cmd/help.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/help.rb' Library/Homebrew/cmd/home.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/home.rb' Library/Homebrew/cmd/info.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/info.rb' Library/Homebrew/cmd/install.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/install.rb' Library/Homebrew/cmd/irb.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/irb.rb' Library/Homebrew/cmd/leaves.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/leaves.rb' Library/Homebrew/cmd/link.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/link.rb' Library/Homebrew/cmd/linkapps.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/linkapps.rb' Library/Homebrew/cmd/list.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/list.rb' Library/Homebrew/cmd/log.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/log.rb' Library/Homebrew/cmd/migrate.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/migrate.rb' Library/Homebrew/cmd/missing.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/missing.rb' Library/Homebrew/cmd/options.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/options.rb' Library/Homebrew/cmd/outdated.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/outdated.rb' Library/Homebrew/cmd/pin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/pin.rb' Library/Homebrew/cmd/postinstall.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/postinstall.rb' Library/Homebrew/cmd/prune.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/prune.rb' Library/Homebrew/cmd/readall.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/readall.rb' Library/Homebrew/cmd/reinstall.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/reinstall.rb' Library/Homebrew/cmd/search.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/search.rb' Library/Homebrew/cmd/sh.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/sh.rb' Library/Homebrew/cmd/style.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/style.rb' Library/Homebrew/cmd/switch.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/switch.rb' Library/Homebrew/cmd/tap-info.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/tap-info.rb' Library/Homebrew/cmd/tap-pin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/tap-pin.rb' Library/Homebrew/cmd/tap-unpin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/tap-unpin.rb' Library/Homebrew/cmd/tap.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/tap.rb' Library/Homebrew/cmd/uninstall.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/uninstall.rb' Library/Homebrew/cmd/unlink.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/unlink.rb' Library/Homebrew/cmd/unlinkapps.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/unlinkapps.rb' Library/Homebrew/cmd/unpack.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/unpack.rb' Library/Homebrew/cmd/unpin.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/unpin.rb' Library/Homebrew/cmd/untap.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/untap.rb' Library/Homebrew/cmd/update-report.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/update-report.rb' Library/Homebrew/cmd/update-reset.sh: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/update-reset.sh' Library/Homebrew/cmd/update.sh: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/update.sh' Library/Homebrew/cmd/upgrade.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/upgrade.rb' Library/Homebrew/cmd/uses.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/uses.rb' Library/Homebrew/cmd/vendor-install.sh: Failed to create dir 'Library'Can't create 'Library/Homebrew/cmd/vendor-install.sh' Library/Homebrew/commands.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/commands.rb' Library/Homebrew/compat.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat.rb' Library/Homebrew/compat/: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat' Library/Homebrew/compat/ARGV.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat/ARGV.rb' Library/Homebrew/compat/ENV/: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat/ENV' Library/Homebrew/compat/ENV/shared.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat/ENV/shared.rb' Library/Homebrew/compat/ENV/std.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat/ENV/std.rb' Library/Homebrew/compat/ENV/super.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat/ENV/super.rb' Library/Homebrew/compat/build_options.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat/build_options.rb' Library/Homebrew/compat/dependency_collector.rb: Failed to create dir 'Library'Can't create 'Library/Homebrew/compat/dependency_collector.rb'

This is less than a fourth.


#3

Looks like some permission issue. Did you check if you have write permissions in that directory and its parent directory while doing the alternative installation?


#4

Well, actually, that’s what happened when I ran the alternate installation with sudo. When I don’t run it with sudo, I get
mkdir: homebrew: Permission denied


#5

I was on the administrator account, but not the root user.


#6

It’s working now. I hadn’t realized that I wasn’t in bash.