/brew.sh

https://github.com/yangsu/dotfiles · Shell · 123 lines · 27 code · 17 blank · 79 comment · 0 complexity · 8168662543a336221038c7aa98d22d50 MD5 · raw file

  1. #!/usr/bin/env bash
  2. # Install command-line tools using Homebrew.
  3. # Make sure were using the latest Homebrew.
  4. brew update
  5. # Upgrade any already-installed formulae.
  6. brew upgrade
  7. # Save Homebrews installed location.
  8. BREW_PREFIX=$(brew --prefix)
  9. # Install GNU core utilities (those that come with macOS are outdated).
  10. # Dont forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
  11. brew install coreutils
  12. ln -s "${BREW_PREFIX}/bin/gsha256sum" "${BREW_PREFIX}/bin/sha256sum"
  13. # Install some other useful utilities like `sponge`.
  14. brew install moreutils
  15. # Install GNU `find`, `locate`, `updatedb`, and `xargs`, `g`-prefixed.
  16. brew install findutils
  17. # Install GNU `sed`, overwriting the built-in `sed`.
  18. brew install gnu-sed --with-default-names
  19. # # Install a modern version of Bash.
  20. # brew install bash
  21. # brew install bash-completion2
  22. # # Switch to using brew-installed bash as default shell
  23. # if ! fgrep -q "${BREW_PREFIX}/bin/bash" /etc/shells; then
  24. # echo "${BREW_PREFIX}/bin/bash" | sudo tee -a /etc/shells;
  25. # chsh -s "${BREW_PREFIX}/bin/bash";
  26. # fi;
  27. # Install `wget` with IRI support.
  28. brew install wget --with-iri
  29. # Install GnuPG to enable PGP-signing commits.
  30. brew install gnupg
  31. # Install more recent versions of some macOS tools.
  32. # brew install vim --with-override-system-vi
  33. brew install grep
  34. brew install openssh
  35. brew install screen
  36. # brew install php
  37. # brew install gmp
  38. # Install font tools.
  39. # brew tap bramstein/webfonttools
  40. # brew install sfnt2woff
  41. # brew install sfnt2woff-zopfli
  42. # brew install woff2
  43. # Install some CTF tools; see https://github.com/ctfs/write-ups.
  44. # brew install aircrack-ng
  45. # brew install bfg
  46. # brew install binutils
  47. # brew install binwalk
  48. # brew install cifer
  49. # brew install dex2jar
  50. # brew install dns2tcp
  51. # brew install fcrackzip
  52. # brew install foremost
  53. # brew install hashpump
  54. # brew install hydra
  55. # brew install john
  56. # brew install knock
  57. # brew install netpbm
  58. # brew install nmap
  59. # brew install pngcheck
  60. # brew install socat
  61. # brew install sqlmap
  62. # brew install tcpflow
  63. # brew install tcpreplay
  64. # brew install tcptrace
  65. # brew install ucspi-tcp # `tcpserver` etc.
  66. # brew install xpdf
  67. # brew install xz
  68. # Install other useful binaries.
  69. # brew install ack
  70. #brew install exiv2
  71. brew install git
  72. brew install git-lfs
  73. # brew install gs
  74. brew install imagemagick --with-webp
  75. # brew install lua
  76. # brew install lynx
  77. # brew install p7zip
  78. # brew install pigz
  79. # brew install pv
  80. # brew install rename
  81. # brew install rlwrap
  82. # brew install ssh-copy-id
  83. brew install tree
  84. # brew install vbindiff
  85. # brew install zopfli
  86. # Install duti
  87. brew install duti
  88. # Install GNU `awk`
  89. brew install gawk
  90. # https://zaiste.net/posts/shell-commands-rust/
  91. brew install bat
  92. # https://github.com/ogham/exa
  93. brew install exa
  94. # https://github.com/dalance/procs
  95. brew install procs
  96. # https://github.com/chmln/sd
  97. brew install sd
  98. # https://github.com/sharkdp/fd
  99. brew install fd
  100. # https://www.monades.dev/fuzzy-finding-everything-with-fzf/
  101. # https://github.com/junegunn/fzf
  102. brew install fzf
  103. # https://github.com/BurntSushi/ripgrep
  104. brew install ripgrep
  105. # Remove outdated versions from the cellar.
  106. brew cleanup