-
-
Save wbalbinot/44f94aa33429f2aaf222da49a0e648b2 to your computer and use it in GitHub Desktop.
# Based on (https://gist.github.com/bradp/bea76b16d3325f5c47d4) | |
# Thanks for sharing brad :) | |
# Check for Homebrew | |
# Install if we don't have it | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
# Update homebrew recipes | |
echo "Updating homebrew..." | |
brew update | |
echo "Installing other brew stuff..." | |
brew install tree | |
brew install node | |
#@TODO install our custom fonts and stuff | |
echo "Cleaning up brew" | |
brew cleanup | |
# Apps | |
apps=( | |
google-chrome | |
filezilla | |
visual-studio-code | |
nodejs | |
github | |
spotify | |
skype | |
insomnia | |
onedrive | |
slack | |
discord | |
teamviewer | |
telegram | |
adobe-creative-cloud | |
microsoft-office | |
figma | |
fontbase | |
virtualbox | |
) | |
# Install apps | |
echo "installing apps with Cask..." | |
brew cask install ${apps[@]} | |
# Clean the installation cache | |
brew cleanup | |
echo "Done!" |
#need more testing... | |
#!/bin/bash | |
# google-chrome-stable repository | |
sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
sudo add-apt-repository -y "deb http://dl.google.com/linux/chrome/deb/ stable main" | |
# Update the linux package manager | |
echo "Check for packagings update..." | |
apt update | |
# Upgrade those packages | |
echo "Upgradings packagins." | |
apt upgrade -y | |
# Install the snap if not installed | |
if test ! $(which snap); then | |
echo "Installing snap..." | |
apt install snapd -y | |
else | |
echo "Snap already installed." | |
fi | |
# Snap Apps | |
snapApps=" | |
spotify | |
discord | |
insomnia | |
telegram-desktop | |
figma-linux | |
" | |
# Install Apps | |
echo "Installing Snap Apps..." | |
snap install ${snapApps} | |
# Install "--" apps | |
snap install code --classic | |
snap install slack --classic | |
# Ubuntu Apps | |
ubuntuApps=" | |
google-chrome-stable | |
filezilla | |
nodejs | |
virtualbox | |
gnome-tweaks | |
steam | |
" | |
echo "Installing Ubuntu Apps..." | |
sudo apt-get -y install ${ubuntuApps} | |
echo "Remove cache for the applications..." | |
apt autoremove -y | |
echo "Installation is Done" |
# COMMAND | |
# iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/wbalbinot/44f94aa33429f2aaf222da49a0e648b2/raw/cb693df071142e2338b3f62cef7068b08904fd24/installWindows.ps1')) | |
# FOR WINDOWS | |
ECHO Installing apps | |
# Enable auto confirmation | |
ECHO Configure chocolatey for auto confirmation | |
choco feature enable -n allowGlobalConfirmation | |
# List of Apps | |
choco install googlechrome | |
choco install filezilla | |
choco install visualstudiocode | |
choco install nodejs | |
choco install winrar | |
choco install github-desktop | |
choco install spotify | |
choco install skype | |
choco install insomnia-rest-api-client | |
choco install onedrive | |
choco install slack | |
choco install discord | |
choco install teamviewer | |
choco install whatsapp | |
choco install telegram.install | |
choco install adobe-creative-cloud | |
choco install office365business | |
choco install figma | |
choco install fontbase | |
choco install virtualbox | |
choco install k-litecodecpackfull | |
# DEV | |
choco install mysql.workbench | |
# Games Launcher | |
choco install steam | |
choco install origin | |
choco install epicgameslauncher | |
choco install uplay | |
ECHO Disable chocolatey for auto confirmation | |
choco feature disable -n allowGlobalConfirmation |
# My configuration for new machines. A working on... |
Downloading origin
from 'https://download.dm.origin.com/origin/live/OriginSetup.exe'
Progress: 100% - Completed download of C:\Users\email\AppData\Local\Temp\chocolatey\origin\10.5.56.33908\OriginSetup.exe (228.83 MB).
Download of OriginSetup.exe (228.83 MB) completed.
Error - hashes do not match. Actual value was '7BC0362DCEEE16667DA842BC2BAE6FEB1012596F81C58CB9372511C95EC88DAAC7C38B3097C35D906FD3B34151EC2213E89F5D8C4BA9D42F6EF9C6FF25D0C0F2'.
ERROR: Checksum for 'C:\Users\email\AppData\Local\Temp\chocolatey\origin\10.5.56.33908\OriginSetup.exe' did not meet 'A5E1D465CB83EC2346B7576D53992720091AD8C0F9124E856CACB5415D63CD1357E85D963181AF8AD50998EBD65337A52C9EFD12B0957F4CC251F8FE3D588435' for checksum type 'sha512'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
The install of origin was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\origin\tools\chocolateyInstall.ps1'.
See log for details.
There are several problems with the linux script, needs better understanding of the bash script.
Just execute the installWindows.ps1 on my Windows machine, there was missing the installation of the Chocolatey itself. Update the script based on Chocolatey website