cygwin-portable-installer is a self-containing Windows batch file to perform an unattended installation of a portable Cygwin environment.
The installer has been implemented as a Batch script and not PowerShell script because in some corporate environments execution of PowerShell scripts isdisabled for non-administrative users via group policies.
C:\apps\cygwin-portable
git clone https://github.com/vegardit/cygwin-portable-installer --single-branch --branch master --depth 1 C:\apps\cygwin-portable
cygwin-portable-installer.cmd
. This will automatically:
cygwin-portable.cmd
batch file.You can customize the installer by either directly modifying the default settings in the cygwin-portable-installer.cmd
file,or by placing a separate file called cygwin-portable-installer-config.cmd
next to it where some or all of these settings are overwritten.
These settings are currently available:
:: set proxy if required (unfortunately Cygwin setup.exe does not have commandline options to specify proxy user credentials)
set PROXY_HOST=
set PROXY_PORT=8080
:: change the URL to the closest mirror https://cygwin.com/mirrors.html
set CYGWIN_MIRROR=https://linux.rz.ruhr-uni-bochum.de/download/cygwin
:: one of: auto,64,32 - specifies if 32 or 64 bit version should be installed or automatically detected based on current OS architecture
set CYGWIN_ARCH=auto
:: choose a user name under Cygwin
set CYGWIN_USERNAME=root
:: select the packages to be installed automatically via apt-cyg
set CYGWIN_PACKAGES=bash-completion,bc,bzip,coreutils,curl,dos2unix,expect,git,git-svn,gnupg,inetutils,jq,lz4,mc,nc,openssh,openssl,perl,psmisc,python37,pv,rsync,ssh-pageant,screen,subversion,unzip,vim,wget,zip,zstd
:: if set to 'yes' the local package cache created by cygwin setup will be deleted after installation/update
set DELETE_CYGWIN_PACKAGE_CACHE=no
:: if set to 'yes' the apt-cyg command line package manager (https://github.com/kou1okada/apt-cyg) will be installed automatically
set INSTALL_APT_CYG=yes
:: if set to 'yes' the bash-funk adaptive Bash prompt (https://github.com/vegardit/bash-funk) will be installed automatically
set INSTALL_BASH_FUNK=yes
:: if set to 'yes' Node.js (https://nodejs.org/) will be installed automatically
set INSTALL_NODEJS=yes
:: Use of the folder names found here https://nodejs.org/dist/ as version name.
set NODEJS_VERSION=latest-v14.x
:: one of: auto,64,32 - specifies if 32 or 64 bit version should be installed or automatically detected based on current OS architecture
set NODEJS_ARCH=auto
:: if set to 'yes' Ansible (https://github.com/ansible/ansible) will be installed automatically
set INSTALL_ANSIBLE=yes
set ANSIBLE_GIT_BRANCH=stable-2.10
:: if set to 'yes' AWS CLI (https://github.com/aws/aws-cli) will be installed automatically
set INSTALL_AWS_CLI=yes
:: if set to 'yes' testssl.sh (https://testssl.sh/) will be installed automatically
set INSTALL_TESTSSL_SH=yes
:: name of the GIT branch to install from, see https://github.com/drwetter/testssl.sh/
set TESTSSL_GIT_BRANCH=3.0
:: use ConEmu based tabbed terminal instead of Mintty based single window terminal, see https://conemu.github.io/
set INSTALL_CONEMU=yes
set CON_EMU_OPTIONS=-Title cygwin-portable ^
-QuitOnClose
:: if set to 'yes' the winpty (https://github.com/rprichard/winpty) will be installed automatically
set INSTALL_WINPTY=yes
set WINPTY_VERSION=0.4.3
:: add more path if required, but at the cost of runtime performance (e.g. slower forks)
set CYGWIN_PATH=%%SystemRoot%%\system32;%%SystemRoot%%
:: set Mintty options, see https://cdn.rawgit.com/mintty/mintty/master/docs/mintty.1.html#CONFIGURATION
set MINTTY_OPTIONS=--Title cygwin-portable ^
-o Columns=160 ^
-o Rows=50 ^
-o BellType=0 ^
-o ClicksPlaceCursor=yes ^
-o CursorBlinks=yes ^
-o CursorColour=96,96,255 ^
-o CursorType=Block ^
-o CopyOnSelect=yes ^
-o RightClickAction=Paste ^
-o Font="Courier New" ^
-o FontHeight=10 ^
-o FontSmoothing=None ^
-o ScrollbackLines=10000 ^
-o Transparency=off ^
-o Term=xterm-256color ^
-o Charset=UTF-8 ^
-o Locale=C
When you place a separate cygwin-portable-installer-post-tasks.cmd
file next to the cygwin-portable-installer.cmd
it will beexecuted automatically after the installation suceeded. You can use this file to perform additional configurations.
To update installed Cygwin packages execute the generated cygwin-portable-updater.cmd
file.
All files are released under the Apache License 2.0.
Individual files contain the following tag instead of the full license text:
SPDX-License-Identifier: Apache-2.0
This enables machine processing of license information based on the SPDX License Identifiers that are available here: https://spdx.org/licenses/.
WinSCP can be downloaded in the form of standalone Portable executables. The executables in the Portable executables package are identical to the executables in an Installation package. The difference
Portable OpenCL (pocl) 是一个高效的 OpenCL 标准实现,提供易移植的开源实现。该项目另外一个目的就是通过编译器优化实现性能的提升,减少人工优化的步骤。
PostgreSQL Portable 是为 Windows 提供的 PostgreSQL 便携版本。 PostgreSQLPortable 是开源的数据库打包,类似一个便携应用,可以在你的 iPod,U盘,移动硬盘上运行完整的 PostgreSQL 数据库,在运行的时候不会留下任何的个人信息,所以你可以在任何地方使用 PostgreSQL。 主要特性: 无安装要求,下载提取即可运行 运行一个完整
Portable Linux 是一个用来帮助你在U盘或者是可移动硬盘中安装Linux操作系统的工具。
Mozilla Sunbird是免费的个人信息管理软件。Sunbird计划被用于重建Mozilla日历模块。它的目标是制作一份基于Mozilla XUL用户界面语言的、跨平台的的日程管理软件。对于使用Firefox和Thunderbird的用户,可以很熟悉的界面使用这款崭新的日程管理软件。 另外,做为一个独立的日程表软件,尽管Sunbird已经能够非常稳定的运行于各种平台,但它目前仍处在试验阶段,
Portable Scribus是一款类似Adobe Pagemaker的开源电子杂志制作软件,可以用来制作个人文件、邮件列表、电子杂志类型的电子文档。它体积很小,可以放在U盘里,只需插入相应的电脑就可以使用。