Open Apple store and update
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
https://www.google.com/chrome/
brew cask install google-chrome
brew cask install firefox
code | brew cask install visual-studio-code
brew cask install harvest
https://iterm2.com/downloads.html
iterm | brew cask install iterm2
In iTerm2:
- Profiles -> Open Profiles...
- Edit Profiles...
- Keys tab
- From Load Preset... drop-down, pick Terminal.app compatibility
https://slack.com/downloads/mac
brew cask install slack
https://apps.apple.com/br/app/line/id539883307?l=en&mt=12
brew cask install wechat
- Enable full access to filesystem to iTerm
brew install openssh
sudo systemsetup -getremotelogin
sudo systemsetup -setremotelogin on
sudo systemsetup -getremotelogin
brew install p7zip htop zsh ranger watch httpie jq
brew cask install horndis
brew cask install osxfuse
brew install encfs
https://github.com/osxfuse/osxfuse/wiki/NTFS-3G
brew install ntfs-3g
- Reboot macOS to Recovery Mode (Turn on your Mac and immediately press and hold Command (⌘)-R.)
- Open Terminal in Recovery Mode from Menu bar -> Utilities -> Terminal
csrutil disable
diskutil list
- Find the label
Macintosh HD
(my casedisk2s5
)
diskutil apfs unlockVolume disk2s5
cd "/Volumes/Macintosh HD/sbin"
mv mount_ntfs mount_ntfs.orig
ln -s "/Volumes/Macintosh HD/usr/local/sbin/mount_ntfs" mount_ntfs
cd "/Volumes/Macintosh HD"
ln -s "/Volumes/Macintosh HD/Users/rodrigo/.projects" srv
csrutil enable
- Reboot to normal mac
https://github.com/rodfersou/dotfiles
git clone https://github.com/rodfersou/dotfiles.git .dotfiles
(cd .dotfiles/.git && vi config)
[remote "origin"]
url = git@github.com:rodfersou/dotfiles.git
fetch = +refs/heads/*:refs/remotes/origin/*
brew cask install https://raw.githubusercontent.com/Homebrew/homebrew-cask/6a96e5ea44803e52a43c0c89242390f75d1581ab/Casks/kdiff3.rb
https://github.com/thoughtbot/rcm
brew tap thoughtbot/formulae
brew install rcm
(cd .dotfiles && make)
(cd .dotfiles && make install)
(cd .ssh/ids && chmod 600 *)
https://github.com/ohmyzsh/ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
brew install screen tmux the_silver_searcher
brew install vim
curl -sS https://raw.githubusercontent.com/mkropat/vim-dwiw2015/master/bootstrap.sh | sh
:PluginInstall
brew cask install karabiner-elements
brew install readline openssl xz zlib expat
brew link zlib --force
https://github.com/asdf-vm/asdf
brew install asdf --HEAD
brew install \
coreutils automake autoconf openssl \
libyaml readline libxslt libtool unixodbc \
unzip curl
https://github.com/danhper/asdf-python
brew install autoconf openssl@1.1 pkg-config readline sqlite3 xz zlib
asdf plugin-add python
asdf install python 2.7.17
asdf install python 3.7.5
asdf global python 3.7.5 2.7.17
https://github.com/asdf-vm/asdf-nodejs
asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
brew install gnupg
bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring
asdf install nodejs 10.14.2
asdf global nodejs 10.14.2
Create needed folders
mkdir -p Projects/cache/downloads
mkdir Projects/cache/eggs
mkdir Projects/cache/extens
Error fatal error: 'X11/Xlib.h' file not found
brew cask install xquartz
ln -s /opt/X11/include/X11 /usr/local/include/X11
Error ImportError: failed to find libmagic. Check your installation
brew install libmagic
Error ext/_yaml.h:2:10: fatal error: 'yaml.h' file not found
brew install libyaml
--- TKINTER support available
*** JPEG support not available
*** ZLIB (PNG/ZIP) support not available
*** LIBTIFF support not available
--- FREETYPE2 support available
*** LITTLECMS2 support not available
*** WEBP support not available
*** WEBPMUX support not available
brew install libpng libtiff freetype little-cms2 webp openjpeg freetype harfbuzz fribidi
defaults write -g InitialKeyRepeat -int 15
defaults write -g KeyRepeat -int 1