upslopeio / ibm-cloud-garage-training

https://upslopeio.github.io/ibm-cloud-garage-training/
11 stars 22 forks source link

some users with mac zsh have the command totally fail #14

Closed zilkey closed 3 years ago

zilkey commented 3 years ago
usmanmemon@Usmans-MBP ~ % sh -c "$(curl -fsSL https://raw.githubusercontent.com/upslopeio/ibm-cloud-garage-training/main/computer-setup/setup-mac-linux.sh)"
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Please Enter your email address for git (): umemon@ibm.com
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Please Enter your user name for git (usmanmemon): umemon
Installing homebrew
==> Checking for `sudo` access (which may request your password).
Password:
==> 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
==> The following existing directories will be made group writable:
/usr/local/bin
==> The following existing directories will have their owner set to usmanmemon:
/usr/local/bin
==> The following existing directories will have their group set to admin:
/usr/local/bin
==> The following new directories will be created:
/usr/local/etc
/usr/local/include
/usr/local/lib
/usr/local/sbin
/usr/local/share
/usr/local/var
/usr/local/opt
/usr/local/share/zsh
/usr/local/share/zsh/site-functions
/usr/local/var/homebrew
/usr/local/var/homebrew/linked
/usr/local/Cellar
/usr/local/Caskroom
/usr/local/Frameworks
==> The Xcode Command Line Tools will be installed.

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod u+rwx /usr/local/bin
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin
==> /usr/bin/sudo /usr/sbin/chown usmanmemon /usr/local/bin
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin
==> /usr/bin/sudo /bin/mkdir -p /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Frameworks
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Frameworks
==> /usr/bin/sudo /usr/sbin/chown usmanmemon /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Frameworks
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Frameworks
==> /usr/bin/sudo /bin/mkdir -p /usr/local/Homebrew
==> /usr/bin/sudo /usr/sbin/chown -R usmanmemon:admin /usr/local/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /Users/usmanmemon/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Users/usmanmemon/Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown -R usmanmemon /Users/usmanmemon/Library/Caches/Homebrew
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> Installing Command Line Tools for Xcode-12.5
==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ for\ Xcode-12.5
Software Update Tool

Finding available software

Downloading Command Line Tools for Xcode
Downloaded Command Line Tools for Xcode
Installing Command Line Tools for Xcode
Done with Command Line Tools for Xcode
Done.
==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
==> Downloading and installing Homebrew...
remote: Enumerating objects: 185181, done.
remote: Counting objects: 100% (352/352), done.
remote: Compressing objects: 100% (228/228), done.
remote: Total 185181 (delta 152), reused 292 (delta 109), pack-reused 184829
Receiving objects: 100% (185181/185181), 49.54 MiB | 3.42 MiB/s, done.
Resolving deltas: 100% (137348/137348), done.
From https://github.com/Homebrew/brew
 * [new branch]          SMillerDev-patch-1 -> origin/SMillerDev-patch-1
 * [new branch]          dependabot/bundler/Library/Homebrew/sorbet-0.5.6442 -> origin/dependabot/bundler/Library/Homebrew/sorbet-0.5.6442
 * [new branch]          master             -> origin/master
 * [new tag]             0.1                -> 0.1
 * [new tag]             0.2                -> 0.2
 * [new tag]             0.3                -> 0.3
 * [new tag]             0.4                -> 0.4
 * [new tag]             0.5                -> 0.5
 * [new tag]             0.6                -> 0.6
 * [new tag]             0.7                -> 0.7
 * [new tag]             0.7.1              -> 0.7.1
 * [new tag]             0.8                -> 0.8
 * [new tag]             0.8.1              -> 0.8.1
 * [new tag]             0.9                -> 0.9
 * [new tag]             0.9.1              -> 0.9.1
 * [new tag]             0.9.2              -> 0.9.2
 * [new tag]             0.9.3              -> 0.9.3
 * [new tag]             0.9.4              -> 0.9.4
 * [new tag]             0.9.5              -> 0.9.5
 * [new tag]             0.9.8              -> 0.9.8
 * [new tag]             0.9.9              -> 0.9.9
 * [new tag]             1.0.0              -> 1.0.0
 * [new tag]             1.0.1              -> 1.0.1
 * [new tag]             1.0.2              -> 1.0.2
 * [new tag]             1.0.3              -> 1.0.3
 * [new tag]             1.0.4              -> 1.0.4
 * [new tag]             1.0.5              -> 1.0.5
 * [new tag]             1.0.6              -> 1.0.6
 * [new tag]             1.0.7              -> 1.0.7
 * [new tag]             1.0.8              -> 1.0.8
 * [new tag]             1.0.9              -> 1.0.9
 * [new tag]             1.1.0              -> 1.1.0
 * [new tag]             1.1.1              -> 1.1.1
 * [new tag]             1.1.10             -> 1.1.10
 * [new tag]             1.1.11             -> 1.1.11
 * [new tag]             1.1.12             -> 1.1.12
 * [new tag]             1.1.13             -> 1.1.13
 * [new tag]             1.1.2              -> 1.1.2
 * [new tag]             1.1.3              -> 1.1.3
 * [new tag]             1.1.4              -> 1.1.4
 * [new tag]             1.1.5              -> 1.1.5
 * [new tag]             1.1.6              -> 1.1.6
 * [new tag]             1.1.7              -> 1.1.7
 * [new tag]             1.1.8              -> 1.1.8
 * [new tag]             1.1.9              -> 1.1.9
 * [new tag]             1.2.0              -> 1.2.0
 * [new tag]             1.2.1              -> 1.2.1
 * [new tag]             1.2.2              -> 1.2.2
 * [new tag]             1.2.3              -> 1.2.3
 * [new tag]             1.2.4              -> 1.2.4
 * [new tag]             1.2.5              -> 1.2.5
 * [new tag]             1.2.6              -> 1.2.6
 * [new tag]             1.3.0              -> 1.3.0
 * [new tag]             1.3.1              -> 1.3.1
 * [new tag]             1.3.2              -> 1.3.2
 * [new tag]             1.3.3              -> 1.3.3
 * [new tag]             1.3.4              -> 1.3.4
 * [new tag]             1.3.5              -> 1.3.5
 * [new tag]             1.3.6              -> 1.3.6
 * [new tag]             1.3.7              -> 1.3.7
 * [new tag]             1.3.8              -> 1.3.8
 * [new tag]             1.3.9              -> 1.3.9
 * [new tag]             1.4.0              -> 1.4.0
 * [new tag]             1.4.1              -> 1.4.1
 * [new tag]             1.4.2              -> 1.4.2
 * [new tag]             1.4.3              -> 1.4.3
 * [new tag]             1.5.0              -> 1.5.0
 * [new tag]             1.5.1              -> 1.5.1
 * [new tag]             1.5.10             -> 1.5.10
 * [new tag]             1.5.11             -> 1.5.11
 * [new tag]             1.5.12             -> 1.5.12
 * [new tag]             1.5.13             -> 1.5.13
 * [new tag]             1.5.14             -> 1.5.14
 * [new tag]             1.5.2              -> 1.5.2
 * [new tag]             1.5.3              -> 1.5.3
 * [new tag]             1.5.4              -> 1.5.4
 * [new tag]             1.5.5              -> 1.5.5
 * [new tag]             1.5.6              -> 1.5.6
 * [new tag]             1.5.7              -> 1.5.7
 * [new tag]             1.5.8              -> 1.5.8
 * [new tag]             1.5.9              -> 1.5.9
 * [new tag]             1.6.0              -> 1.6.0
 * [new tag]             1.6.1              -> 1.6.1
 * [new tag]             1.6.10             -> 1.6.10
 * [new tag]             1.6.11             -> 1.6.11
 * [new tag]             1.6.12             -> 1.6.12
 * [new tag]             1.6.13             -> 1.6.13
 * [new tag]             1.6.14             -> 1.6.14
 * [new tag]             1.6.15             -> 1.6.15
 * [new tag]             1.6.16             -> 1.6.16
 * [new tag]             1.6.17             -> 1.6.17
 * [new tag]             1.6.2              -> 1.6.2
 * [new tag]             1.6.3              -> 1.6.3
 * [new tag]             1.6.4              -> 1.6.4
 * [new tag]             1.6.5              -> 1.6.5
 * [new tag]             1.6.6              -> 1.6.6
 * [new tag]             1.6.7              -> 1.6.7
 * [new tag]             1.6.8              -> 1.6.8
 * [new tag]             1.6.9              -> 1.6.9
 * [new tag]             1.7.0              -> 1.7.0
 * [new tag]             1.7.1              -> 1.7.1
 * [new tag]             1.7.2              -> 1.7.2
 * [new tag]             1.7.3              -> 1.7.3
 * [new tag]             1.7.4              -> 1.7.4
 * [new tag]             1.7.5              -> 1.7.5
 * [new tag]             1.7.6              -> 1.7.6
 * [new tag]             1.7.7              -> 1.7.7
 * [new tag]             1.8.0              -> 1.8.0
 * [new tag]             1.8.1              -> 1.8.1
 * [new tag]             1.8.2              -> 1.8.2
 * [new tag]             1.8.3              -> 1.8.3
 * [new tag]             1.8.4              -> 1.8.4
 * [new tag]             1.8.5              -> 1.8.5
 * [new tag]             1.8.6              -> 1.8.6
 * [new tag]             1.9.0              -> 1.9.0
 * [new tag]             1.9.1              -> 1.9.1
 * [new tag]             1.9.2              -> 1.9.2
 * [new tag]             1.9.3              -> 1.9.3
 * [new tag]             2.0.0              -> 2.0.0
 * [new tag]             2.0.1              -> 2.0.1
 * [new tag]             2.0.2              -> 2.0.2
 * [new tag]             2.0.3              -> 2.0.3
 * [new tag]             2.0.4              -> 2.0.4
 * [new tag]             2.0.5              -> 2.0.5
 * [new tag]             2.0.6              -> 2.0.6
 * [new tag]             2.1.0              -> 2.1.0
 * [new tag]             2.1.1              -> 2.1.1
 * [new tag]             2.1.10             -> 2.1.10
 * [new tag]             2.1.11             -> 2.1.11
 * [new tag]             2.1.12             -> 2.1.12
 * [new tag]             2.1.13             -> 2.1.13
 * [new tag]             2.1.14             -> 2.1.14
 * [new tag]             2.1.15             -> 2.1.15
 * [new tag]             2.1.16             -> 2.1.16
 * [new tag]             2.1.2              -> 2.1.2
 * [new tag]             2.1.3              -> 2.1.3
 * [new tag]             2.1.4              -> 2.1.4
 * [new tag]             2.1.5              -> 2.1.5
 * [new tag]             2.1.6              -> 2.1.6
 * [new tag]             2.1.7              -> 2.1.7
 * [new tag]             2.1.8              -> 2.1.8
 * [new tag]             2.1.9              -> 2.1.9
 * [new tag]             2.2.0              -> 2.2.0
 * [new tag]             2.2.1              -> 2.2.1
 * [new tag]             2.2.10             -> 2.2.10
 * [new tag]             2.2.11             -> 2.2.11
 * [new tag]             2.2.12             -> 2.2.12
 * [new tag]             2.2.13             -> 2.2.13
 * [new tag]             2.2.14             -> 2.2.14
 * [new tag]             2.2.15             -> 2.2.15
 * [new tag]             2.2.16             -> 2.2.16
 * [new tag]             2.2.17             -> 2.2.17
 * [new tag]             2.2.2              -> 2.2.2
 * [new tag]             2.2.3              -> 2.2.3
 * [new tag]             2.2.4              -> 2.2.4
 * [new tag]             2.2.5              -> 2.2.5
 * [new tag]             2.2.6              -> 2.2.6
 * [new tag]             2.2.7              -> 2.2.7
 * [new tag]             2.2.8              -> 2.2.8
 * [new tag]             2.2.9              -> 2.2.9
 * [new tag]             2.3.0              -> 2.3.0
 * [new tag]             2.4.0              -> 2.4.0
 * [new tag]             2.4.1              -> 2.4.1
 * [new tag]             2.4.10             -> 2.4.10
 * [new tag]             2.4.11             -> 2.4.11
 * [new tag]             2.4.12             -> 2.4.12
 * [new tag]             2.4.13             -> 2.4.13
 * [new tag]             2.4.14             -> 2.4.14
 * [new tag]             2.4.15             -> 2.4.15
 * [new tag]             2.4.16             -> 2.4.16
 * [new tag]             2.4.2              -> 2.4.2
 * [new tag]             2.4.3              -> 2.4.3
 * [new tag]             2.4.4              -> 2.4.4
 * [new tag]             2.4.5              -> 2.4.5
 * [new tag]             2.4.6              -> 2.4.6
 * [new tag]             2.4.7              -> 2.4.7
 * [new tag]             2.4.8              -> 2.4.8
 * [new tag]             2.4.9              -> 2.4.9
 * [new tag]             2.5.0              -> 2.5.0
 * [new tag]             2.5.1              -> 2.5.1
 * [new tag]             2.5.10             -> 2.5.10
 * [new tag]             2.5.11             -> 2.5.11
 * [new tag]             2.5.12             -> 2.5.12
 * [new tag]             2.5.2              -> 2.5.2
 * [new tag]             2.5.3              -> 2.5.3
 * [new tag]             2.5.4              -> 2.5.4
 * [new tag]             2.5.5              -> 2.5.5
 * [new tag]             2.5.6              -> 2.5.6
 * [new tag]             2.5.7              -> 2.5.7
 * [new tag]             2.5.8              -> 2.5.8
 * [new tag]             2.5.9              -> 2.5.9
 * [new tag]             2.6.0              -> 2.6.0
 * [new tag]             2.6.1              -> 2.6.1
 * [new tag]             2.6.2              -> 2.6.2
 * [new tag]             2.7.0              -> 2.7.0
 * [new tag]             2.7.1              -> 2.7.1
 * [new tag]             2.7.2              -> 2.7.2
 * [new tag]             2.7.3              -> 2.7.3
 * [new tag]             2.7.4              -> 2.7.4
 * [new tag]             2.7.5              -> 2.7.5
 * [new tag]             2.7.6              -> 2.7.6
 * [new tag]             2.7.7              -> 2.7.7
 * [new tag]             3.0.0              -> 3.0.0
 * [new tag]             3.0.1              -> 3.0.1
 * [new tag]             3.0.10             -> 3.0.10
 * [new tag]             3.0.11             -> 3.0.11
 * [new tag]             3.0.2              -> 3.0.2
 * [new tag]             3.0.3              -> 3.0.3
 * [new tag]             3.0.4              -> 3.0.4
 * [new tag]             3.0.5              -> 3.0.5
 * [new tag]             3.0.6              -> 3.0.6
 * [new tag]             3.0.7              -> 3.0.7
 * [new tag]             3.0.8              -> 3.0.8
 * [new tag]             3.0.9              -> 3.0.9
 * [new tag]             3.1.0              -> 3.1.0
 * [new tag]             3.1.1              -> 3.1.1
 * [new tag]             3.1.10             -> 3.1.10
 * [new tag]             3.1.11             -> 3.1.11
 * [new tag]             3.1.12             -> 3.1.12
 * [new tag]             3.1.2              -> 3.1.2
 * [new tag]             3.1.3              -> 3.1.3
 * [new tag]             3.1.4              -> 3.1.4
 * [new tag]             3.1.5              -> 3.1.5
 * [new tag]             3.1.6              -> 3.1.6
 * [new tag]             3.1.7              -> 3.1.7
 * [new tag]             3.1.8              -> 3.1.8
 * [new tag]             3.1.9              -> 3.1.9
HEAD is now at d3887df2a Merge pull request #11529 from Homebrew/sorbet-files-update
==> Tapping homebrew/core
remote: Enumerating objects: 974075, done.
remote: Counting objects: 100% (165/165), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 974075 (delta 92), reused 132 (delta 72), pack-reused 973910
Receiving objects: 100% (974075/974075), 392.94 MiB | 5.19 MiB/s, done.
Resolving deltas: 100% (664006/664006), done.
From https://github.com/Homebrew/homebrew-core
 * [new branch]            master     -> origin/master
Updating files: 100% (5952/5952), done.
HEAD is now at c57879bf16 crystal: update 1.0.0_2 bottle.
==> 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 (or will be during this `install` run).

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

==> Next steps:
- Run `brew help` to get started
- Further documentation: 
    https://docs.brew.sh
Installing docker
==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
remote: Enumerating objects: 577018, done.
remote: Counting objects: 100% (172/172), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 577018 (delta 97), reused 141 (delta 79), pack-reused 576846
Receiving objects: 100% (577018/577018), 253.97 MiB | 5.22 MiB/s, done.
Resolving deltas: 100% (407483/407483), done.
Tapped 3922 casks (4,001 files, 272.4MB).

sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
sh: line 5: ==: command not found
sh: line 6: ==: command not found
sh: line 7: ==: command not found
sh: line 8: ==: command not found
sh: line 9: 🍺: command not found
Installing kustomize
sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
zsh: can't open input file: completions
sh: line 6: /usr/local/share/zsh/site-functions: is a directory
sh: line 7: ==: command not found
sh: line 8: 🍺: command not found
Found git
Installing helm
sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
zsh: can't open input file: completions
sh: line 6: /usr/local/share/zsh/site-functions: is a directory
sh: line 7: ==: command not found
sh: line 8: 🍺: command not found
Installing yq@3
Warning: yq@3 has been deprecated because it is not maintained upstream!
sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
sh: line 5: yq@3: command not found
sh: line 6: because: command not found
sh: line 8: If: command not found
sh: line 11: ==: command not found
sh: line 12: 🍺: command not found
Installing jq
sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
sh: line 5: ==: command not found
sh: line 6: ==: command not found
sh: line 7: ==: command not found
sh: line 8: ==: command not found
sh: line 9: 🍺: command not found
sh: line 10: ==: command not found
sh: line 11: ==: command not found
sh: line 12: 🍺: command not found
Installing openshift-cli
sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
sh: line 5: ==: command not found
sh: line 6: ==: command not found
sh: line 7: ==: command not found
sh: line 8: ==: command not found
sh: line 9: ==: command not found
sh: line 10: ==: command not found
sh: line 11: ==: command not found
sh: line 12: ==: command not found
sh: line 13: ==: command not found
sh: line 14: ==: command not found
sh: line 15: ==: command not found
sh: line 16: 🍺: command not found
sh: line 17: ==: command not found
sh: line 18: ==: command not found
sh: line 19: 🍺: command not found
sh: line 20: ==: command not found
sh: line 21: ==: command not found
sh: line 22: 🍺: command not found
sh: line 23: ==: command not found
sh: line 24: ==: command not found
sh: line 25: ==: command not found
zsh: can't open input file: completions
sh: line 27: /usr/local/share/zsh/site-functions: is a directory
sh: line 28: ==: command not found
sh: line 29: 🍺: command not found
sh: line 30: ==: command not found
sh: line 31: ==: command not found
zsh: can't open input file: completions
sh: line 33: /usr/local/share/zsh/site-functions: is a directory
Installing tektoncd-cli
sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
zsh: can't open input file: completions
sh: line 6: /usr/local/share/zsh/site-functions: is a directory
sh: line 7: ==: command not found
sh: line 8: 🍺: command not found
Installing argocd
sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
zsh: can't open input file: completions
sh: line 6: /usr/local/share/zsh/site-functions: is a directory
sh: line 7: ==: command not found
sh: line 8: 🍺: command not found
Installing Visual Studio Code
sh: ==: command not found
sh: line 1: ==: command not found
sh: line 2: ==: command not found
sh: line 3: ==: command not found
sh: line 4: ==: command not found
sh: line 5: 🍺: command not found
Found Visual Studio Code CLI
Installing Visual Studio Code Liveshare extension
(node:33478) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Electron --trace-deprecation ...` to show where the warning was created)
sh: Installing: command not found
sh: line 1: Installing: command not found
sh: line 2: Extension: command not found
Installing Visual Studio Code redhat.vscode-yaml extension
(node:33506) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Electron --trace-deprecation ...` to show where the warning was created)
sh: Installing: command not found
sh: line 1: Installing: command not found
sh: line 2: Extension: command not found
Installing ibmcloud
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   102    0   102    0     0    291      0 --:--:-- --:--:-- --:--:--   291
100 13.8M  100 13.8M    0     0  4202k      0  0:00:03  0:00:03 --:--:-- 4865k
Password:
Sorry, try again.
Password:
sh: Current: command not found
sh: line 1: Download: command not found
sh: line 2: installer:: command not found
sh: line 3: installer:: command not found
sh: line 4: installer:: command not found
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
Installing container-service plugin
Looking up 'container-service' from repository 'IBM Cloud'...
Plug-in 'container-service/kubernetes-service 1.0.275' found in repository 'IBM Cloud'
Attempting to download the binary file...
 29.56 MiB / 29.56 MiB [=================================================================================] 100.00% 9s
30991520 bytes downloaded
Installing binary...
OK
Plug-in 'container-service 1.0.275' was successfully installed into /Users/usmanmemon/.bluemix/plugins/container-service. Use 'ibmcloud plugin show container-service' to show its details.
Installing nvm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14926  100 14926    0     0   116k      0 --:--:-- --:--:-- --:--:--  116k
Cloning into '/Users/usmanmemon/.nvm'...
remote: Enumerating objects: 347, done.
remote: Counting objects: 100% (347/347), done.
remote: Compressing objects: 100% (295/295), done.
remote: Total 347 (delta 39), reused 163 (delta 27), pack-reused 0
Receiving objects: 100% (347/347), 203.77 KiB | 3.64 MiB/s, done.
Resolving deltas: 100% (39/39), done.
sh: =: command not found
sh: -c: line 1: syntax error near unexpected token `('
=> * (HEAD detached at FETCH_HEAD)'
sh: line 161: nvm: command not found
Setting node default to lts
sh: line 163: nvm: command not found
Installing igc
sh: line 169: npm: command not found
Found yq@3 in PATH
Adding HOME/bin to path
Found NVM_DIR
Adding NVM load to /Users/usmanmemon/.zshrc

Collecting results....

===== RESULTS: post the following to the slack channel =====

**********
OS                  : darwin20 

**********
argocd              : /usr/local/bin/argocd 

**********
brew                : Homebrew 3.1.12
Homebrew/homebrew-core (git revision c57879bf16; last commit 2021-06-14)
Homebrew/homebrew-cask (git revision f38df73135; last commit 2021-06-14) 

**********
brew doctor         : Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.
You should download the Command Line Tools for Xcode 12.5.

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  yq@3 

**********
code                : 1.57.0
b4c1bd0a9b03c749ea011b06c6d2676c8091a70c
x64 

**********
docker              : sh: line 224: docker: command not found 

**********
git                 : git version 2.24.3 (Apple Git-128) 

**********
git config          : user.name=umemon
user.email=umemon@ibm.com
core.ignorecase=false
credential.helper=osxkeychain 

**********
HOME                : /Users/usmanmemon 

**********
ibmcloud            : ibmcloud version 1.6.0+59b6322-2021-05-26T20:35:50+00:00 

**********
ibmcloud plugins    : Listing installed plug-ins...

Plugin Name                            Version   Status   Private endpoints supported   
container-service/kubernetes-service   1.0.275            false    

**********
icc                 :  

**********
igc                 : sh: line 229: igc: command not found 

**********
jq                  : jq-1.6 

**********
kubectl             : sh: line 231: kubectl: command not found 

**********
kustomize           : {Version:kustomize/v4.1.3 GitCommit:0f614e92f72f1b938a9171b964d90b197ca8fb68 BuildDate:2021-05-21T17:30:04+01:00 GoOs:darwin GoArch:amd64} 

**********
node                : sh: line 233: node: command not found 

**********
npm                 : sh: line 234: npm: command not found 

**********
nvm                 : sh: line 235: nvm: command not found 

**********
nvm dir             : ERROR 

**********
nvm bin             : ERROR 

**********
oc                  : Client Version: v4.2.0-alpha.0-657-g51011e4 

**********
oc plugin list      : error: unable to find any kubectl plugins in your PATH 

**********
path                : /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin 

**********
shell               : /bin/zsh 

**********
slack               : 4.16.2 

**********
user                : usmanmemon 

**********
tkn                 : /usr/local/bin/tkn 

**********
yq                  : sh: line 238: yq: command not found 

===== RESULTS END =====

Run the following to apply the changes to the current terminal:
source ~/.zshrc

If the output above contains ANY error (other than 'error: You must be logged in to the server'...), run 'source ~/.zshrc' and run this script again.
If errors persist, post them to the slack channel

If there are no errors, post the above RESULTS to the slack channel.

Next, run 'argocd version' and post the output to the slack channel
finally, run 'tkn version' and post the output to the slack channel
usmanmemon@Usmans-MBP ~ % source ~/.zshrc
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? y%                                               usmanmemon@Usmans-MBP ~ % source ~/.zshrc
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? y
usmanmemon@Usmans-MBP ~ % 
usmanmemon@Usmans-MBP ~ % argocd version
argocd: v2.0.3+8d2b13d.dirty
  BuildDate: 2021-05-27T19:03:20Z
  GitCommit: 8d2b13d733e1dff7d1ad2c110ed31be4804406e2
  GitTreeState: dirty
  GoVersion: go1.16.4
  Compiler: gc
  Platform: darwin/amd64
FATA[0000] Argo CD server address unspecified           
usmanmemon@Usmans-MBP ~ % 
usmanmemon@Usmans-MBP ~ % tkn version
usmanmemon@Usmans-MBP ~ % 
usmanmemon@Usmans-MBP ~ %  echo $SHELL
/bin/zsh
dalelotts commented 3 years ago

Done