- Run Powershell
- Install scoop
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
- Install curl, git and openssh
scoop install curl
scoop install git
scoop install openssh
- Make PS beautifull and smarter
scoop install concfg
concfg import solarized small
scoop install pshazz
- Install MongoDB
$ scoop install mongodb
$ mkdir c:\data\db
$ mkdir c:\data\log
$ touch C:\Users\basir\scoop\apps\mongodb\mongod.cfg
edit mongod.cfg
systemLog:
destination: file
path: c:\data\log\mongod.log
storage:
dbPath: c:\data\db
$ mongod --config C:\Users\basir\scoop\apps\mongodb\mongod.cfg --install
$ net start MongoDB
Remove Mongo Windows Service:
mongod --remove