init
packages installation
[!TIP|label:build from local source]
encounter the branch name issue or submodule fetch issue in
--HEAD, can modify manaully and execute :$ brew install --HEAD <formula> --build-from-source -v --debug
# --- utils ---
$ brew install --HEAD bash-completion@2 file-formula mtr mas
$ brew install util-linux inetutils coreutils moreutils bash less proctools pstree vnstat ncdu ipcalc htop glances lsof trash
$ brew install gawk grep findutils gnu-which gnu-getopt gnu-sed gnu-tar gnu-indent gnutls iproute2mac ifstat stow netcat nmap
$ brew install dos2unix openldap
$ brew install tmux corkscrew telnet
$ brew install figlet
$ brew install --HEAD toilet
$ brew install colordiff diffutils wdiff difftastic
$ brew install --HEAD diff-so-fancy highlight
$ brew install ansifilter # decolorize
$ brew install gnu-tar gzip carlocab/personal/unrar
$ brew install zip unzip # info-zip
$ brew install --HEAD rename whois watch wget curl
$ brew install --HEAD hexyl # a hex viewer for the terminal
$ brew install lynx # text-based web browser
$ brew install fdupes # find duplicate files
$ brew install --HEAd pandoc poppler fontforge
$ brew install --HEAD mupdf-tools # pdf viewer
$ brew install pdfcpu && # extract font from pdf
mkdir -p "$HOME/Library/Application Support/pdfcpu"
$ brew install create-dmg
$ brew install imagemagick
$ sudo gem install iStats -n /usr/local/bin # requires ruby to be installed
$ brew install hfsutils p7zip # for dmg
$ brew install --HEAD pass
$ brew install pass-otp
$ brew install --HEAD pinentry-mac # for alfred workflow
# --- editor ---
## nvim
$ brew install --HEAD utf8proc
$ brew install --HEAD neovim
$ brew install --cask vimr
$ python3 -m pip install jedi
$ python3 -m pip install --upgrade pynvim
$ GEM_HOME="$HOME/.gem" gem install neovim --user-install
$ brew install --HEAD viu # imgcat
$ brew install chafa
## macvim/vim
$ brew install pcre2 gettext libtool # for build vim from source
$ brew install --HEAD macvim # using `--HEAD` to prevent 32bit vim + 64bit python
$ sudo cp -r $(brew --prefix macvim)/MacVim.app /Applications
## vscode
$ brew install --cask visual-studio-code
# or link to cmd via
$ sudo ln -sf '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code' /usr/local/bin/code
# --- dev tools ---
$ brew install --HEAD ruby
# nvm for gitbook install: nvm install 12
$ brew install openjdk gradle nvm mongosh groovy
$ brew install --HEAD gradle-completion open-completion docker-completion gem-completion
$ brew install kubecolor
$ brew install --HEAD kubectl jfrog-cli jq
$ brew install --HEAD git-flow git-extras
$ brew install --HEAD fzf fzy bat ack ag rg gum fd
$ brew install mkdocs # markdown docs, usage: `mkdocs build -d site -s`
$ curl -o "$HOME/.local/bin/cht.sh" -fsSL 'https://cht.sh/:cht.sh' && chmod +x "$HOME/.local/bin/cht.sh"
$ brew install --HEAD cheat
$ brew install hashicorp/tap/vault
# --- pipx and tools ---
$ python3 -m pip install --user -U pipx
$ python3 -m pipx ensurepath
$ python3 -m pipx install poetry # python packaging and dependency management made easy
$ python3 -m pipx install pre-commit
$ python3 -m pipx install commitizen # optional
# --- npm packages ---
$ brew install --HEAD tlrc
$ npm i -g tldr # or $ python3 -m pip install tldr
$ npm i -g gnomon
$ npm i -g tabset
$ npm i -g doctoc
$ npm i -g git-stats
$ npm i -g svgexport
$ npm i -g iterm2-tab-set
$ npm i -g neovim
$ npm i -g npm-completion
# - optional -
$ sudo ln -sf $(npm get prefix)/bin/* /usr/local/bin/
# --- lint ---
$ brew install --HEAD shellcheck yamllint yamlfmt
$ npm i -g npm-groovy-lint && sudo ln -sf $(npm get prefix)/bin/npm-groovy-lint /usr/local/bin/npm-groovy-lint
$ npm i -g @commitlint/{cli,config-conventional} # for commitlint
$ npm i -g css-validator # for css validation
$ brew install hadolint # for dockerfile
$ brew install stylelint # for css
$ brew install jsonlint ansible-lint
$ brew install vint # vim script language lint
$ brew install --HEAD eslint
$ brew install --HEAD shfmt # autoformat shell script source code
# optional
$ brew install actionlint # for github action
$ brew install libxml2 # for xmllint
# --- cask ---
$ brew install --cask keycastr
$ brew install --cask fliqlo # flip clock screensaver
# --- tap ---
$ brew tap hashicorp/tap
$ brew tap homebrew/command-not-found # brew which-formula && brew which-update
$ brew tap vitorgalvao/tiny-scripts
$ brew tap buo/cask-upgrade # brew cu
# check tap info
$ brew tap-info vitorgalvao/tiny-scripts --json | jq -r .[].formula_names
# --- for fun ---
$ brew install pv dialog zenity
$ brew install fortunetap
cask
backup and restore
Last updated
Was this helpful?