https://github.com/exelban/stats
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
export PATH=/opt/homebrew/bin:$PATH
- Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /opt/homebrew/sbin.
Consider setting your PATH for example like so:
echo 'export PATH="/opt/homebrew/sbin:$PATH"' >> ~/.zshrc
brew install git
-
First download iTerm2
-
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-
open ~/.zshrc
then, put this line inplugins=(git zsh-autosuggestions)
-
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
-
ZSH_THEME="powerlevel10k/powerlevel10k"
-
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
-
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
-
source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
brew install composer
brew install node
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
-
You should create NVM's working directory if it doesn't exist:
mkdir ~/.nvm
-
Add the following to your shell profile e.g. ~/.profile or ~/.zshrc:
export NVM_DIR="$HOME/.nvm" [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh"
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"
# This loads nvm bash_completion -
nvm install 18.15.0
brew install php
brew tap shivammathur/php
brew install shivammathur/php/php@7.4
echo 'export PATH="/opt/homebrew/opt/php@7.4/bin:$PATH"' >> ~/.zshrc
- `echo 'export PATH="/opt/homebrew/opt/php@7.4/sbin:$PATH"' >> ~/.zshrc'
export LDFLAGS="-L/opt/homebrew/opt/php@7.4/lib"
export CPPFLAGS="-I/opt/homebrew/opt/php@7.4/include"
brew services restart shivammathur/php/php@7.4
For more info...
composer global require laravel/valet
valet install
If zsh: command not found: valet, thenexport PATH=$PATH:~/.composer/vendor/bin
valet trust
cd Sites
valet park
brew tap nicoverbruggen/homebrew-cask
brew install --cask phpmon
brew install mysql
, then follow the instruction.
brew install phpmyadmin
cd /opt/homebrew/share/phpmyadmin
valet link
valet restart
npm install -g pnpm
- If you installed Node.js using Homebrew, you'll need to install corepack separately:
brew install corepack