Last active
July 18, 2021 19:16
-
-
Save sander3/83b3d9d57b45bfa07692cc31a77bd6c1 to your computer and use it in GitHub Desktop.
install.sh
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
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
mkdir -p .local/bin | |
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zprofile | |
export PATH="$HOME/.local/bin:$PATH" | |
echo 'export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH"' >> ~/.zprofile | |
export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH" | |
brew install starship | |
echo 'eval "$(starship init zsh)"' >> ~/.zshrc | |
mkdir -p ~/.config && touch ~/.config/starship.toml | |
subl .config/starship.toml | |
brew install php | |
brew services start php | |
brew install wget | |
wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet | |
mv composer.phar .local/bin/composer | |
echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.zprofile | |
export PATH="$HOME/.composer/vendor/bin:$PATH" | |
composer global require laravel/valet | |
valet install | |
valet trust | |
mkdir Sites | |
cd Sites | |
valet park | |
cd ~ | |
brew install [email protected] | |
echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zprofile | |
export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH" | |
brew services start [email protected] | |
mysql_secure_installation | |
brew install redis | |
brew services start redis | |
pecl install redis | |
brew tap elastic/tap | |
brew install elastic/tap/elasticsearch-full | |
brew services start elastic/tap/elasticsearch-full | |
brew install mailhog | |
brew services start mailhog | |
ssh-keygen -t ed25519 -C "[email protected]" | |
eval "$(ssh-agent -s)" | |
ssh-add -K ~/.ssh/github | |
pbcopy < ~/.ssh/github.pub | |
brew install gnupg | |
brew install pinentry-mac | |
gpg --full-generate-key | |
echo 'export GPG_TTY=$(tty)' >> ~/.zshrc | |
echo 'pinentry-program /opt/homebrew/bin/pinentry-mac' >> ~/.gnupg/gpg-agent.conf | |
git config --global commit.gpgsign true | |
git config --global user.email "[email protected]" | |
git config --global user.name "Sander de Vos" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment