XiaoConstantine / mycli

A cli for bootstrap local dev
https://cli-dev.com
MIT License
0 stars 0 forks source link

Bug: New laptop - after brew install need to update PATH #28

Closed XiaoConstantine closed 2 months ago

XiaoConstantine commented 2 months ago
 * [new tag]               4.2.14     -> 4.2.14
Switched to a new branch 'stable'
==> Updating Homebrew...
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:49847c7a13f7094b211f6d0025900dd23716be07dac894a3d6941d7696296306
##################################################################################################################################################################################################### 100.0%
==> Pouring portable-ruby-3.3.3.arm64_big_sur.bottle.tar.gz
Warning: /opt/homebrew/bin is not in your PATH.
  Instructions on how to configure your shell for Homebrew
  can be found in the 'Next steps' section below.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (nor will any be during this install run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Next steps:
- Run these two commands in your terminal to add Homebrew to your PATH:
    (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/xiao/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
- Run brew help to get started
- Further documentation:
    https://docs.brew.sh

Running installation for tools...
Installing tool {zsh  }...
Installing zsh using Homebrew with brew install --force...
sh: brew: command not found
Failed to install zsh: exit status 127
Error installing tools: exit status 127
XiaoConstantine commented 2 months ago

Once PATH configured for brew, I can finish with:

+-----------+-----------------+---------+
|   TOOL    |    DURATION     | STATUS  |
+-----------+-----------------+---------+
| zsh       | 6.28012275s     | succeed |
| git       | 5.925341666s    | succeed |
| tmux      | 13.873360084s   | succeed |
| fzf       | 1.621860125s    | succeed |
| bat       | 3.19394675s     | succeed |
| ripgrep   | 1.705078792s    | succeed |
| neovim    | 6.215802375s    | succeed |
| pyenv     | 6.769702417s    | succeed |
| gh        | 2.237059584s    | succeed |
| ghq       | 1.767828042s    | succeed |
| luajit    | 1.177831125s    | succeed |
| go        | 11.836349375s   | succeed |
| alacritty | 42.346591083s   | succeed |
| arc       | 15.403259084s   | succeed |
| zed       | 6.709821167s    | succeed |
| docker    | 1m2.741774125s  | succeed |
| zimfw     | 1.535681833s    | succeed |
| uv        | 1.073993166s    | succeed |
| rust      | 18.805969s      | succeed |
| Total     | 3m31.222341541s |
+-----------+-----------------+---------+
XiaoConstantine commented 2 months ago

https://github.com/XiaoConstantine/mycli/pull/32

XiaoConstantine commented 2 months ago

confirm it's fixed