Skip to content

Instantly share code, notes, and snippets.

@OwenMcDonnell
Last active January 10, 2024 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OwenMcDonnell/f515aa93544a41b81de08b9940fa87f1 to your computer and use it in GitHub Desktop.
Save OwenMcDonnell/f515aa93544a41b81de08b9940fa87f1 to your computer and use it in GitHub Desktop.
Bootstrap macOS script
sudo systemsetup -setremotelogin on
sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
#sudo launchctl load -w /System/Library/LaunchAgents/com.apple.screensharing.agent.plist
echo 'export PATH=\"$PATH:/usr/local/bin\"' >> $HOME/.bashrc
echo $INSTALL_PW | sudo systemsetup -setcomputersleep Never
CI=1 /bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)\"
/usr/local/bin/brew install --cask powershell
/usr/local/bin/brew install coreutils zlib p7zip
brew install appveyor/brew/appveyor-build-agent
brew services restart appveyor/brew/appveyor-build-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment