Open dogi opened 7 years ago
macosx
/usr/bin/bash -e "$(curl -fsSL https://raw.githubusercontent.com/dogi/ole--vagrant-community/master/macosx/install.sh)"
ubuntu
/usr/bin/bash -e "$(curl -fsSL https://raw.githubusercontent.com/dogi/ole--vagrant-community/master/ubuntu/install.sh)"
This works for me: (I created a simple script (install.bat) just to test the command)
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/FanisGk/ole--vagrant-community/master/windows/install.bat', 'install.bat')" && start install.bat
This is the one liner to start install.ps1:
@powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/dogi/ole--vagrant-community/master/windows/install.ps1', 'install.ps1')" && @powershell -NoProfile -ExecutionPolicy Bypass -Command ".\install.ps1"
Thanks
Analog to the way brew is handling the installation of the a package manager for open source software,
we would like to do the same thing with our install scripts
do research into how a one liner would look like which first downloads an install script and then executes it: