Follow the below steps to install the latest version of PostgreSQL on Windows by scoop package manager.
scoop install postgresql -g
<# | |
.SYNOPSIS | |
Script to Initialize my custom powershell setup. | |
.DESCRIPTION | |
Script uses scoop | |
.NOTES | |
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
Author: Mike Pruett | |
Date: October 18th, 2018 |
I hereby claim:
To claim this, I am signing this object:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
bash Miniconda3-latest-Linux-x86_64.sh | |
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh | |
sudo bash nodesource_setup.sh | |
sudo apt-get install -y nodejs | |
sudo npm install pm2@latest -g | |
# pm2 startup | |
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u ubuntu --hp /home/ubuntu | |
sudo chown ubuntu:ubuntu /home/ubuntu/.pm2 /home/ubuntu/.pm2/rpc.sock /home/ubuntu/.pm2/pub.sock |