Last active
February 4, 2022 11:03
-
-
Save jackabox/59750630a7ace88b61f8b5cdc0c0ca74 to your computer and use it in GitHub Desktop.
Install script for new mac setup
This file contains hidden or 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
| # PHP Switcher | |
| phpv() { | |
| valet stop | |
| brew unlink [email protected] [email protected] [email protected] [email protected] php | |
| brew link --force --overwrite $1 | |
| brew services start $1 | |
| composer global update | |
| valet install | |
| } | |
| alias php56="phpv [email protected]" | |
| alias php70="phpv [email protected]" | |
| alias php71="phpv [email protected]" | |
| alias php72="phpv [email protected]" | |
| alias php73="phpv php" | |
| # Git Control | |
| alias gs="git status" | |
| alias gaa="git add -A :/" | |
| alias gc="git commit -m" | |
| alias gp="git push" | |
| # Folders | |
| alias www="cd /Users/jack/Sites" | |
| alias code="cd /Users/jack/Code" | |
| # PHP Unit | |
| alias phpunit=vendor/bin/phpunit | |
| # Laravel | |
| alias art="php artisan" | |
| alias migrate="php artisan migrate" | |
| # Path | |
| export PATH=~/.composer/vendor/bin:$PATH |
This file contains hidden or 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
| # Xcode | |
| xcode-select --install | |
| # Brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
| # Brew Casks (applications) | |
| brew install brew-cask-completion | |
| brew cask install firefox | |
| brew cask install slack | |
| brew cask install sequel-pro | |
| brew cask install tower | |
| brew cask install visual-studio-code | |
| brew cask install hyper | |
| brew cask install alfred | |
| brew tap nicoverbruggen/homebrew-cask | |
| brew install --cask phpmon | |
| # other browsers | |
| brew cask install google-chrome | |
| brew cask install opera | |
| # Brew Packages | |
| brew update | |
| brew tap homebrew/php | |
| brew install php | |
| brew install [email protected] | |
| brew install [email protected] | |
| brew install [email protected] | |
| brew install [email protected] | |
| brew install mysql | |
| brew install composer | |
| brew install node | |
| brew install yarn | |
| brew install git | |
| # PHP Packages | |
| pecl install xdebug | |
| # Valet / Laravel | |
| composer global require laravel/valet | |
| composer global require laravel/installer | |
| # Start stuff | |
| valet install | |
| brew services start mysql | |
| brew services start php |
This file contains hidden or 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
| { | |
| "workbench.colorTheme": "An Old Hope", | |
| "workbench.activityBar.visible": false, | |
| "workbench.statusBar.visible": false, | |
| "editor.wordWrap": "on", | |
| "editor.lineNumbers": "on", | |
| "editor.fontFamily": "'Operator Mono Light'", | |
| "editor.fontLigatures": true, | |
| "editor.fontWeight": "normal", | |
| "editor.lineHeight": 20, | |
| "editor.fontSize": 14, | |
| "explorer.openEditors.visible": 0, | |
| "terminal.integrated.shell.windows": "C:\\WINDOWS\\system32\\bash.exe", | |
| "php.validate.executablePath": "C:\\WINDOWS\\system32\\bash.exe", | |
| "window.menuBarVisibility": "toggle", | |
| "editor.minimap.enabled": false, | |
| "workbench.startupEditor": "newUntitledFile", | |
| "window.zoomLevel": 1, | |
| "javascript.updateImportsOnFileMove.enabled": "always", | |
| "editor.formatOnSave": true, | |
| "editor.tabSize": 2, | |
| "[html]": { | |
| "editor.formatOnSave": false | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment