Skip to content

Instantly share code, notes, and snippets.

@vanyasem
Last active January 4, 2020 02:55
Show Gist options
  • Save vanyasem/b17326a59c9a6764c930b6c98a1f7f24 to your computer and use it in GitHub Desktop.
Save vanyasem/b17326a59c9a6764c930b6c98a1f7f24 to your computer and use it in GitHub Desktop.
macOS Auto-Install
#!/usr/bin/env bash
# REVISED ON 30/11/19
# FULLY TESTED ON !NEVER!
set -e
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask
# Brew:
PACKAGE='
ffmpeg
mas
neovim
wget
youtube-dl
'
brew install $PACKAGE
# Brew Cask:
CASKPACKAGE='
adoptopenjdk
android-studio
chromium
cocoapods
dbeaver-community
impactor
insomnia
qbittorrent
sourcetree
vlc
vscodium
xmind
'
brew cask install $CASKPACKAGE
# You must own those apps on the App Store in order for the installer to work
https://apps.apple.com/ru/app/telegram/id747648890?l=en&mt=12 # Telegram
https://apps.apple.com/ru/app/xcode/id497799835?l=en&mt=12 # Xcode
https://apps.apple.com/ru/app/dashlane-password-manager/id552383089?l=en&mt=12 # Dashlane
https://apps.apple.com/ru/app/microsoft-word/id462054704?l=en&mt=12 # Word
https://apps.apple.com/ru/app/microsoft-powerpoint/id462062816?l=en&mt=12 # PowerPoint
https://apps.apple.com/ru/app/microsoft-excel/id462058435?l=en&mt=12 #Excel
https://apps.apple.com/ru/app/onedrive/id823766827?l=en&mt=12 # OneDrive
https://apps.apple.com/ru/app/imovie/id408981434?l=en&mt=12 # iMovie
https://apps.apple.com/ru/app/1blocker/id1107421413?l=en&mt=12 # 1Blocker
https://apps.apple.com/ru/app/mactracker/id430255202?l=en&mt=12 # MacTracker
https://apps.apple.com/ru/app/keka/id470158793?l=en&mt=12 # Keka
https://apps.apple.com/ru/app/davinci-resolve/id571213070?l=en&mt=12 # DaVinci Resolve
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
mkdir -p ~/Projects/
cd ~/Projects/
wget https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_v1.12.13+hotfix.5-stable.zip
unzip ~/Downloads/flutter_macos_v1.12.13+hotfix.5-stable.zip
rm flutter_macos_v1.12.13+hotfix.5-stable.zip
echo """export PATH="$PATH:/Users/$(whoami)/Projects/flutter/bin"""" >> ~/.zshrc
. ~/.zshrc
flutter precache
flutter config --no-analytics
yes | flutter doctor --android-licenses
sudo gem install cocoapods
# Onyx
# Maybe also install Sketch ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment