nikhilgorantla / build-my-pc

Script's to build my development pc

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Onboard New Macbook < 20 Min

Script Laptop Onboarding


  • Copy Bash Alias.
wget && \
mv .bash_profile ~/.bash_profile
source ~/.bash_profile
  • Copy Fish Config
wget && \
mv ~/.config/fish/ && \
source ~/.config/fish/
  • Copy Fish Autocomplete
curl -L| sh

Configure Git Profile

  • Configure local Git profile
git config --global “NikG”
git config --global “”
git config --global core.editor “code -w”
git config --global merge.tool code

SSH Public Keys

  • Generate General ssh keys
ssh-keygen -t rsa -b 2048
  • Generate ssh key for codebase
ssh-keygen -t rsa -b 2048 -f "id_rsa_github"
  • Generate ssh key for server
ssh-keygen -t rsa -b 2048 -f "id_rsa_serv1"

Homebrew & Homebrew Cask & Homebrew-cask-upgrade

  • Install Homebrew for applications.
curl -L | sh

Install Brew Apps

  • Install core applicaitons.
curl -L | sh

Install Brew Cask Apps

  • Install tools
curl -L | sh

Install Mac Apps

  • Install Mac Store applications.
curl -L | sh

Install PiP Apps

  • Install PiP Packages.
curl -L | sh

Install NPM Apps

  • Install NPM packages.
curl -L | sh

Install VSCode Extensions

  • Run the following to install all extensions.
curl -L | sh

If the command fails, try Cmd + Shift + P and then type install and choose the

Shell Command: Install 'code-insiders' command in PATH

and re-run the command

Install kubectl Plugins

  • Install kubectl Plugins.
curl -L | sh

Install Helm-2 and Helm-3

  • Get Helm Install script
$ curl >
$ chmod 700
  • Install Helm-2
$ ./ -v v2.16.3
$ cd /usr/local/bin/ && mv helm helm2
$ helm2 list
  • Install Helm-3
$ ./
$ cd /usr/local/bin/ && mv helm helm3
$ helm3 list

Copy Sensitive Creds

  • aws
cp ~/.aws/config
cp ~/.aws/credentials
  • k8s kube
cp ~/.kube/config
  • SSH Authorized_keys
cp ~/.ssh/authorized_keys

Keeping Things Updated

  • Laptop House keeping
curl -L | sh
  • Upgrade all Brew Apps
curl -L | sh