Skip to content
 
 

Repository files navigation

MyMacSetup

Summary


Chrome / Brave

  • Click here to Install Chrome
  • Click here to Install Brave

Extensions

  1. 1Password Old
  2. 1Password New
  3. Okta
  4. Octotree
  5. React Dev Tool
  6. Redux Dev Tool
  7. Daily.dev

Firefox

  • Click here to Install Firefox

Extensions

  1. 1Password
  2. Okta
  3. Oktotree

Home Brew

  • Install Home Brew by running this scipt on the terminal (Reference)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Iterm

  • Click here to Install Iterm2

Zsh

  • Install zsh
brew install zsh
  • Make zsh as default shell
chsh -s /usr/local/bin/zsh
  • Get .zshrc file here
  • Add this file as ~/.zshrc

(Reference)


Oh My Zsh

  • Install ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

(Reference)


Powerlevel10k

  • Install Powerlevel10k

    • Install Manually
    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
    echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
    

    OR

    • Using ohmyzsh
    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
    

    OR

    • Using Home Brew
    brew install romkatv/powerlevel10k/powerlevel10k
    echo 'source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
    
  • Configure Powerlevel10k

p10k cofigure

(Reference)


Zsh Auto Suggestion

  • Install zsh Auto suggestion (Reference)

    • Install Mannually
    git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
    

    then add the following to your .zshrc

    source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
    

    OR

    • Using oh my zsh
    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    

    then add the following to your .zshrc

    plugins=(zsh-autosuggestions)
    

Zsh Syntax Highlighting

  • Install zsh syntax highlighting (Reference)

    • Install Mannually
    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
    

    OR

    • Using oh my zsh
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    

    then add the following to your .zshrc

    plugins=(zsh-syntax-highlighting)
    

Vim

  • Get vim configuration file here
  • Add this file as ~/.vimrc

VS Code

  • Click here to Install VS Code

    Extensions

    • Code Spell Checker
    • ES Lint
    • Git History
    • Git Lens
    • Prettier
    • C/C++
    • Quokka.js
    • SQLite

    Theme

    • Molokai (Dark)

Alacritty

OR

brew cask install alacritty
  • Get configured alacritty.yml file here
  • Add this file as ~/.config/alacritty/alacritty.yml

fish

brew install fish
  • Get fish cofiguration file here
  • Add this file in ~/.config/fish/config.fish

tmux

brew install tmux
  • Get tmux configuration file here
  • Add this file as ~/.tmux.conf

Redis

  • Click here
  • Download the stable version available.
  • Unzip the downloaded file and move to home directory
  • run make command
  • add required aliases

Heroku

  • Install heroku
  • Install using Home Brew
brew tap heroku/brew && brew install heroku
  • Install Manually
curl https://cli-assets.heroku.com/install.sh | sh
  • Install using NPM
npm install -g heroku

travis

  • Install travis
brew install travis

Gighub reference


bat

  • bat is similar to cat command but have syntax highlighting also.
  • Install bat command
brew install bat

jq

  • jq is a lightweight and flexible command-line JSON processor.
  • Install jq
brew install jq

tree

  • tree command used to display the directory structure
  • Install tree
brew install tree

Autojump

  • A cd command that learns - easily navigate directories from the command line
  • Install AutoJump (Reference)
brew install autojump

then add the following line into your .zshrc

[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh

Pyenv

  • Pyenv lets you easily switch between multiple versions of Python.
  • Install Pyenv (Reference)
brew install pyenv

then add the following lines into your .zshrc

export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

Example usage

  • pyenv install 3.9 to install python 3.9 version
  • pyenv global 3.9 to use python 3.9 version globally
  • pyenv local 3.9 to use python 3.9 locally to that folder
  • pyenv shell 3.9 to use python 3.9 to that specific shell

NVM

  • nvm allows you to quickly install and use different versions of node via the command line.
  • Install NVM (Reference)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash

then add the following lines into your .zshrc

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

Example usage

  • nvm install 14 to install nodejs 14.x.x latest version
  • nvm global 14 to use nodejs 14.x.x version globally

Pipenv

  • pipenv helps to automatically creates and manages a virtualenv for your python projects.
  • Install Pipenv (Reference)
pip3 install pipenv

Example usage

  • pipenv shell to initiate a virtual env
  • pipenv install <packagename+version> to install a dependency
  • pipenv install to install all the dependencies menetioned in pipefile (except dev dependecies)
  • pipenv install --dev to install all the dependencies menetioned in pipefile (including dev dependencies)

ShiftIt

brew install shiftit

Rectangle

  • Click here to Install Rectangle

Github SSH configuration

  • Create a directory .ssh in your home if it is not existing.
mkdir $HOME/.ssh
  • Copy your Github email id (the email id provided by github)
  • Generate your SSH key pair
ssh-keygen -t rsa -b 4096 -C <your@email.com>
  • Verify id_rsa and id_rsa.pub are generated in .ssh directory
ls -al ~/.ssh 
  • Add your SSH key to ssh-agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
  • Copy your public SSH key
cat ~/.ssh/id_rsa.pub | pbcopy
  • Add the publich SSH key to github
  • Test your authentication
ssh -T git@github.com
  • Give necessary confirmation if it asks for
  • Reference

Commonly used npm packages

Install npm install -g <package name>


Other Applications


Other Applications from Apple App Store

  • Bandwidth+
  • Todolist
  • CopyClip
  • Imovie

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages