ConCygSys is a tool that installs portable CygWin environment and connects to portable ConEmu console emulator. All required software in one folder
This is an independent fork of amazing cygwin-portable-installer project. At first minimally modified for sysadmin purposes, later on filled with improvements and new features
- downloads and installs the latest CygWin and makes it fully portable, so you can:
- move ConCygSys folder to a diffent directory at any time
- duplicate ConCygSys by copying its folder
- rename the folder
- run from USB or network drive
- use it in folders with spaces
- downloads and installs the latest portable ConEmu (optional)
- only pure base with a couple of config files to make the installtion portable, no hacks with CygWin/ConEmu code
- the installer is flexible, you can customize the installation process per your requirements (see customization)
Disable antivirus software on your PC during installation. Why it is recommended
- Create a folder on your PC where you want to store the installation
- Download
ConCygSys-installer.cmd
from this link (right click > save link as) to that folder - (Optional) Customize installation per your requirements
- Launch
ConCygSys-installer
- Once the installation is finished, run CygWin via one of the following launchers (you can try them one-by-one to find the most suitable option for you):
CygWin-Cmd
to run CygWin in standard Windows consoleCygWin-ConEmu
to run CygWin via ConEmu - multitab quake-style console - (RECOMMENDED)CygWin-MinTTY
to run CygWin via MinTTY terminal emulator - fully xterm-compatible, but without multitab and quake-style support
Default behaviour of CygWin console:
- Select by Left Click and release - copy
- Right click - paste
Shortcuts if using CygWin via ConEmu console:
- Ctrl+` - open/hide console (quake style)
- Double click on Tab - rename a tab
- Double click on Tab Panel - open a new tab
- Win+LShift+E - split tab to right 50/50
- Win+LShift+O - split tab to bottom 50/50
- Win+T - open CygWin via Connector
- Win+B - open CygWin via standard command line
- Win+M - open CygWin via MinTTY (default task)
- Win+U - open WSL if installed
- Download
ConCygSys-installer.cmd
from this link (right click > save link as) to existing ConCygSys directory - Launch
ConCygSys-installer
This will update CygWin, its packages and ConCygSys portable configuration files. ConEmu is already set to update itself regularily
Backup your own .bashrc rules if you upgrade from very first release of ConCygSys
If you open ConCygSys-installer.cmd
with NotePad on your PC before installation, you will get a control over the installation settings. They can be found in SCRIPT SETTINGS section.
All settings are accompanied with description. Preview
- What is the path to Windows drives when I'm in CygWin console?
/mnt/DRIVE
BTW, different Windows files are symlinked in CygWin environment. For instance, /etc/hosts
file in CygWin is linked to %WINDIR%\System32\drivers\etc\hosts
; if you go to /proc/registry
folder, you will see Windows registry structure
Many Windows programs can be executed from CygWin as well, for instance:
ipconfig /flushdns
- to flush your local DNS cache
- Can I change CygWin username after installation?
Yes, just open your ConCygSys\cygwin\cygwin-settings.cmd
file with NotePad and set a new username in CYGWIN_USERNAME=
line
- Can I change CygWin home folder after installation?
Yes, just open your ConCygSys\cygwin\cygwin-settings.cmd
file with NotePad and set a new username in CYGWIN_USERNAME=
line
- How can I install a package from command line?
If you choose to install apt-cyg
(enabled by default in installer) later you can istall packages from command line, for instance:
apt-cyg install nano
- I cannot find a package I require, what should I do?
You can still build it from source, below are some examples for the reference:
All files are released under the Apache License 2.0.