-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbrew.sh
More file actions
executable file
·44 lines (35 loc) · 1.11 KB
/
Copy pathbrew.sh
File metadata and controls
executable file
·44 lines (35 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env bash
# Install command-line tools using Homebrew.
# Ask for the administrator password upfront.
sudo -v
# Keep-alive: update existing `sudo` time stamp until the script has finished.
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
# Make sure we’re using the latest Homebrew.
brew update
# Upgrade any already-installed formulae.
brew upgrade --all
# Brew cask, for gui apps
brew install caskroom/cask/brew-cask
# Install GNU core utilities (those that come with OS X are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
brew install bash
brew install ctags
brew install moreutils
brew install gnu-sed --with-default-names
brew install grep --with-default-names
brew install vim --override-system-vi
brew install gawk
brew install homebrew/dupes/screen
brew install wget
brew install git
brew install rename
brew install ssh-copy-id
brew install tree
brew install fzf
brew install ag
brew install yank
# graphical interface disk usage
brew install ncdu
# Remove outdated versions from the cellar.
brew cleanup