Skip to content

Instantly share code, notes, and snippets.

@juankuquintana
Last active August 25, 2020 23:59
Show Gist options
  • Select an option

  • Save juankuquintana/108680c11d09223851ce15e62ddb9c49 to your computer and use it in GitHub Desktop.

Select an option

Save juankuquintana/108680c11d09223851ce15e62ddb9c49 to your computer and use it in GitHub Desktop.
macOS setup
# brew installation: https://brew.sh/index_es
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# switch zsh (only for previous versions than catalina)
chsh -s /bin/zsh
# install oh my z: https://ohmyz.sh/#install
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# install nvm: https://gist.github.com/nijicha/e5615548181676873118df79953cb709
brew install nvm
mkdir ~/.nvm
nano .zshrc
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
source ~/.zshrc
nvm --version
nvm ls-remote
# install node
nvm install --lts='Erbium'
nvm use default
# install newman
npm install -g newman
# install postgres
brew install postgresql
brew services start postgresql
brew cask install pgadmin4
# create postgres user
sudo psql -U juankuquintana postgres
create user yellowme with encrypted password 'root';
ALTER USER yellowme WITH SUPERUSER;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment