Last active
July 2, 2021 15:45
-
-
Save andremachadodev/b7c9d0256b349fdba35a9201c91eab9b to your computer and use it in GitHub Desktop.
macos-setup-sh backend-less version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
echo Instalação do ambiente de trabalho e aplicativos em geral | |
read -p "Pressione qualquer tecla para continuar... " -n1 -s | |
echo '\n' | |
echo CONFIGURACOES GERAIS MAC OS | |
echo '\n' | |
echo - Habilitando tabs para opções de janela | |
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 | |
echo Check! | |
echo - Revelando a parta /Library | |
chflags nohidden ~/Library | |
echo Check! | |
echo - Mostrando arquivos ocultos | |
defaults write com.apple.finder AppleShowAllFiles YES. | |
echo Check! | |
echo - Desabilitando TimeMachine | |
sudo tmutil disablelocal | |
echo Check! | |
echo - Habilitando Menu > Debug para o Safari | |
defaults write com.apple.safari IncludeDebugMenu -bool YES | |
echo Check! | |
echo - Desabilitando opção de press/hold para que seja possível repetição de letras | |
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false | |
echo Check! | |
echo - Salvando screenshots sempre no Desktop | |
defaults write com.apple.screencapture location -string "${HOME}/Desktop" | |
echo Check! | |
echo ...e sempre como png. | |
defaults write com.apple.screencapture type -string "png" | |
echo Check! | |
echo - Mostrando icones de hard drive, no desktop | |
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true | |
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true | |
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true | |
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true | |
echo Check! | |
echo - Mostrando extensões de arquivo | |
defaults write NSGlobalDomain AppleShowAllExtensions -bool true | |
echo Check! | |
echo - Desabilitando "warning" quando um arquivo tem seu nome alterado | |
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false | |
echo Check! | |
echo - Evitando que o sistema crie arquivo .DS em pen drives e drives externos | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true | |
echo Check! | |
echo - Show/hide automático do docker | |
defaults write com.apple.dock autohide -bool true | |
echo Check! | |
echo - Mostrando a url completa no Safari | |
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true | |
echo Check! | |
echo - Abrindo Safari sempre como about:blank | |
defaults write com.apple.Safari HomePage -string "about:blank" | |
echo Check! | |
echo - Sumindo com os icones de bookmark do Safari | |
defaults write com.apple.Safari ShowFavoritesBar -bool false | |
echo Check! | |
echo - Resetando o Launchpad | |
rm ~/Library/Application\ Support/Dock/*.db | |
echo Check! | |
echo '\n' | |
echo '\n' | |
echo INSTALAÇÕES | |
echo - Instalando Command Line Tools | |
xcode-select --install | |
echo - Instalando Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew doctor | |
brew update && brew upgrade | |
echo '\n' | |
echo - Homebrew Services | |
brew tap homebrew/services | |
echo '\n' | |
echo - Homebrew Cask | |
brew tap caskroom/cask | |
echo '\n' | |
echo - Node | |
brew install node | |
node --version | |
echo '\n' | |
echo - NPM | |
brew update npm -g | |
echo '\n' | |
echo - GIT | |
brew install git | |
echo '\n' | |
echo - Ferramentas de desenvolvimento | |
brew cask install visual-studio-code | |
brew cask install virtualbox | |
brew cask install sourcetree | |
echo '\n' | |
echo - Applicativos de produtividade/dia-a-dia | |
brew cask install alfred | |
brew cask install dropbox | |
brew cask install transmit | |
brew cask install vlc | |
brew cask install evernote | |
echo '\n' | |
echo - Applicativos de comunicação e gerais | |
brew cask install skype | |
brew cask install telegram | |
brew cask whatsapp | |
brew cask install spotify | |
echo '\n' | |
echo - Navegadores | |
brew cask install google-chrome | |
brew cask install firefox | |
echo '\n' | |
echo - Executando um clean up pós instalações | |
brew cleanup --force | |
rm -f -r /Library/Caches/Homebrew/* | |
echo '\n' | |
echo Feito! Tenha um bom trabalho! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment