2019-03-01 08:47:48 +00:00
|
|
|
### Use SDKMan to install development tools
|
|
|
|
```
|
|
|
|
curl -s "https://get.sdkman.io" | bash
|
|
|
|
sdk install java
|
|
|
|
sdk install gradle
|
|
|
|
sdk install java 8.0.202-zulu
|
|
|
|
```
|
|
|
|
|
2019-03-01 09:24:53 +00:00
|
|
|
### Install Docker Desktop for Mac
|
|
|
|
```
|
|
|
|
docker_app=$(find /Applications/ \
|
|
|
|
-name "Docker.app" -maxdepth 1 -mindepth 1 -type d)
|
|
|
|
if [ -z "$docker_app" ]; then
|
|
|
|
curl -o ~/Downloads/Docker.dmg -sL https://download.docker.com/mac/stable/Docker.dmg
|
|
|
|
hdiutil verify ~/Downloads/Docker.dmg
|
|
|
|
hdiutil attach ~/Downloads/Docker.dmg -nobrowse
|
|
|
|
cp -R /Volumes/Docker/Docker.app /Applications/
|
|
|
|
hdiutil detach /Volumes/Docker
|
|
|
|
rm ~/Downloads/Docker.dmg
|
|
|
|
sudo /Applications/Docker.app/Contents/MacOS/Docker --quit-after-install --unattended
|
|
|
|
else
|
|
|
|
echo "Docker for Mac is already installed."
|
|
|
|
fi
|
|
|
|
```
|
2019-03-01 08:47:48 +00:00
|
|
|
|
2019-03-01 13:03:11 +00:00
|
|
|
### Install dependencies (apps, fonts, ...) with Brew
|
2019-03-01 08:47:48 +00:00
|
|
|
`brew bundle`
|
|
|
|
|
|
|
|
### Install Oh My Zsh
|
|
|
|
```
|
|
|
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
|
|
|
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9
|
2019-03-01 09:53:42 +00:00
|
|
|
git clone https://github.com/AlexisBRENON/oh-my-zsh-reminder ~/.oh-my-zsh/custom/plugins/reminder
|
2019-03-01 08:47:48 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### OSX Defaults
|
|
|
|
```
|
2019-03-01 09:24:53 +00:00
|
|
|
defaults write http://com.apple .screencapture location ~/Downloads
|
2019-03-01 08:47:48 +00:00
|
|
|
#defaults write com.apple.PowerChime ChimeOnNoHardware -bool true # still KO after closing lid
|
|
|
|
#killall PowerChime
|
|
|
|
```
|
|
|
|
|
|
|
|
### Install NPM dependencies
|
|
|
|
`npm install -g jira-node-cli`
|