Last active
April 23, 2022 14:15
-
-
Save Raju/443f312d84c7210663c4e542ec3e0826 to your computer and use it in GitHub Desktop.
macOS Development 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
| Install Brew | |
| ------------ | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| Git | |
| --- | |
| brew install git && | |
| git config --global user.name "Manitha Rani D" && | |
| git config --global user.email "imRajuDhami@gmail.com" | |
| CURL & NVM & NODEJS | |
| ------------------- | |
| brew install curl | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash | |
| wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash | |
| YARN | |
| ---- | |
| brew install yarn | |
| Nginx | |
| ----- | |
| brew install nginx | |
| brew services start nginx | |
| nano /usr/local/etc/nginx/nginx.conf | |
| db-community@4.2 | |
| Redis | |
| ----- | |
| sudo wget https://download.redis.io/redis-stable.tar.gz && | |
| sudo tar xvzf redis-stable.tar.gz && | |
| cd redis-stable && | |
| sudo make install && | |
| brew service start redis-server.service | |
| MongoDB | |
| ------- | |
| xcode-select --install | |
| brew tap mongodb/brew | |
| brew update | |
| brew install mongodb-community@5.0 | |
| brew services start mongodb-community@5.0 | |
| brew services stop mongodb-community@5.0 | |
| brew services list | |
| sudo chown -R $(whoami) /usr/local/share/man/man5 /usr/local/share/man/man7 | |
| brew services start mongo | |
| CHECK Version | |
| ------------- | |
| git --version && node --version && npm --version && nvm --version && nginx -v && redis-server --version && redis-cli --version && mongod --version && mongo --version | |
| Xcode | |
| ----- | |
| xcode-select --install | |
| sudo xcode-select --switch /Library/Developer/CommandLineTools | |
| npm install -g ios-sim | |
| npm install -g ios-deploy | |
| sudo xcode-select -s /Applications/Xcode.app/Contents/Developer | |
| sudo xcodebuild -license |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment