Skip to content

Instantly share code, notes, and snippets.

@nordineb
Last active March 26, 2018 15:28
Show Gist options
  • Save nordineb/99cfb0e912c91c511fa8711395e496ef to your computer and use it in GitHub Desktop.
Save nordineb/99cfb0e912c91c511fa8711395e496ef to your computer and use it in GitHub Desktop.
install cygwin

Install Cygwin with powershell

mkdir "%PROGRAMFILES%\cygwinx86" -ErrorAction Ignore
(New-Object Net.WebClient).DownloadFile('https://cygwin.com/setup-x86.exe', "$env:TEMP\setup-x86.exe")
$cmdPath = "$env:TEMP\setup-x86.exe"
& $cmdPath -a x86 -v -q -n -N -d -R c:\cygwin -s http://cygwin.mirror.constant.com -l c:\localPackageDir -P wget,openssh,git,rsync,nano,curl,tar,openssh

Install apt-cyg

wget --no-check-certificate https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
chmod +x apt-cyg
mv apt-cyg /usr/local/bin
apt-cyg update
apt-cyg install tmux lynx mc gnupg2

Upgrade

 .\setup-x86_64.exe -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment