Blog

Setup

Mac

New Mac setup for Fullstack (MERN)

Easy setup for first time users of Mongo, Express, React and Node

Ragav Kumar V

Ragav Kumar V

Sep 18, 2022 — Updated Sep 23, 2022 · 3 min read

The Missing Package Manager for macOS (or Linux).


_1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

With Google apps like Gmail, Google Pay, and Google Assistant, Chrome can help you stay productive and get more out of your browser.

Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation.


_3
# All evergreen browsers
_3
brew install --cask google-chrome
_3
brew install --cask firefox

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.


_3
brew install git
_3
git config --global user.name "yourusername"
_3
git config --global user.email "youremail@gmail.com"

GitHub is where people build software. More than 83 million people use GitHub to discover, fork, and contribute to over 200 million projects.


_2
ssh-keygen -t ed25519 -C "youremail@gmail.com"
_2
pbcopy < /Users/username/.ssh/filename.pub

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Yarn is a package manager that doubles down as project manager.

Fast, disk space efficient package manager


_3
brew install node
_3
brew install pnpm
_3
brew install yarn

Neovim is a project that seeks to aggressively refactor Vim.

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.


_2
brew install neovim
_2
brew install --cask visual-studio-code

Firebase provides detailed documentation and cross-platform SDKs to help you build and ship apps on Android, iOS, the web, C++, and Unity.


_2
brew install firebase-cli
_2
firebase login

fish is a Unix shell with a focus on interactivity and usability. Fish is designed to give the user features by default, rather than by configuration. Fish is considered an exotic shell since it does not rigorously adhere to POSIX shell standards, at the discretion of the maintainers.


_3
brew install fish
_3
sudo echo '/usr/local/bin/fish' >> /etc/shells
_3
chsh -s /usr/local/bin/fish

With Google apps like Gmail, Google Pay, and Google Assistant, Chrome can help you stay productive and get more out of your browser.


_12
brew tap mongodb/brew
_12
brew update
_12
brew install mongodb-community@6.0
_12
_12
_12
# Start the service
_12
brew services start mongodb/brew/mongodb-community
_12
# Test connection
_12
mongosh
_12
_12
# mongo compass
_12
brew install --cask mongodb-compass

Postman makes API development easy. Our platform offers the tools to simplify each step of the API building process and streamlines collaboration so you can create better APIs faster.


_1
brew install --cask postman

Learn how Atomist will help Docker meet the challenge of securing secure software supply chains for development teams.

With Figma, everyone works towards a shared goal. This has enabled our product teams to ship new products faster and feel more confident in their decisions.


_12
# chat app
_12
brew install --cask discord
_12
# design
_12
brew install --cask figma
_12
# container apps
_12
brew install docker
_12
_12
# easier man page
_12
npm install -g tldr
_12
_12
# clipboard history
_12
brew install maccy

Synchronize Settings, Snippets, Themes, File Icons, Launch, Keybindings, Workspaces and Extensions Across Multiple Machines Using GitHub Gist.


_2
Settings sync - my settings below
_2
https://gist.github.com/ragavkumarv/2d883a14ace43a4351471e231d76a39c/

Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation. Python is dynamically-typed and garbage-collected.


_12
brew install pyenv
_12
_12
# Any modern version python should do. I don't think Python 2 is required any more.
_12
pyenv install 3.10.6
_12
pyenv global 3.10.6
_12
_12
# Add pyenv to your PATH so that you can reference python (not python3)
_12
echo "export PATH=\"\${HOME}/.pyenv/shims:\${PATH}\"" >> ~/.zshrc
_12
_12
# open a new terminal window and confirm your pyenv version is mapped to python
_12
which python
_12
python --version

Nerd Fonts patches developer targeted fonts with a high number of glyphs (icons). Specifically to add a high number of extra glyphs from popular ‘iconic fonts’ such as Font Awesome, Devicons, Octicons, and others.


_3
brew tap homebrew/cask-fonts
_3
brew install --cask font-fira-code
_3
brew install --cask font-hack-nerd-font


_77
# install Homebrew
_77
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
_77
_77
# All evergreen browsers
_77
brew install --cask google-chrome
_77
brew install --cask firefox
_77
_77
# always latest > apple git
_77
brew install git
_77
_77
# setup git
_77
git config --global user.name "yourusername"
_77
git config --global user.email "youremail@gmail.com"
_77
_77
# ssh for bash
_77
ssh-keygen -t ed25519 -C "youremail@gmail.com"
_77
pbcopy < /Users/username/.ssh/filename.pub
_77
_77
brew install node
_77
brew install pnpm
_77
brew install yarn
_77
_77
_77
brew install neovim
_77
brew install --cask visual-studio-code
_77
_77
# firebase installation
_77
brew install firebase-cli
_77
firebase login
_77
_77
_77
brew install fish
_77
_77
# mongodb
_77
brew tap mongodb/brew
_77
brew update
_77
brew install mongodb-community@6.0
_77
_77
# Start the service
_77
brew services start mongodb/brew/mongodb-community
_77
# Test connection
_77
mongosh
_77
_77
# mongo compass
_77
brew install --cask mongodb-compass
_77
_77
# Testing apis
_77
brew install --cask postman
_77
_77
brew install --cask discord
_77
brew install --cask figma
_77
brew install docker
_77
_77
# Install favourite fonts
_77
brew tap homebrew/cask-fonts
_77
brew install --cask font-fira-code
_77
brew install --cask font-hack-nerd-font
_77
_77
npm install -g tldr
_77
brew install maccy
_77
_77
# Settings sync - my settings below
_77
# https://gist.github.com/ragavkumarv/2d883a14ace43a4351471e231d76a39c/
_77
_77
_77
brew install pyenv
_77
_77
# Any modern version python should do. I don't think Python 2 is required any more.
_77
pyenv install 3.10.6
_77
pyenv global 3.10.6
_77
_77
# Add pyenv to your PATH so that you can reference python (not python3)
_77
echo "export PATH=\"\${HOME}/.pyenv/shims:\${PATH}\"" >> ~/.zshrc
_77
_77
# open a new terminal window and confirm your pyenv version is mapped to python
_77
which python
_77
python --version

@ragavkumarv
swipe to next ➡️