From 2b5070427ab9679b3276f6b910a697de8ccb946a Mon Sep 17 00:00:00 2001 From: Dwaraka Nath Date: Wed, 26 Oct 2016 21:44:29 +0530 Subject: [PATCH 1/2] Added a package manager for Windows Author: Dwaraka Nath --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9cd79cb..a5c6b20 100644 --- a/README.md +++ b/README.md @@ -575,6 +575,8 @@ These items are relevant *only* on Windows. - An alternative option to get GNU developer tools (such as GCC) on Windows is [MinGW](http://www.mingw.org/) and its [MSYS](http://www.mingw.org/wiki/msys) package, which provides utilities such as bash, gawk, make and grep. MSYS doesn't have all the features compared to Cygwin. MinGW is particularly useful for creating native Windows ports of Unix tools. +- There is an unofficial package manager for Windows - [Chocolatey](https://chocolatey.org/), which is more similar to the likes of `aptitude` and `yum` found in linux distros. + ## More resources - [awesome-shell](https://github.com/alebcay/awesome-shell): A curated list of shell tools and resources. From 185a6a4ec286abca2c40840f6ae8edf6214992ed Mon Sep 17 00:00:00 2001 From: Dwaraka Nath Date: Mon, 31 Oct 2016 17:38:02 +0530 Subject: [PATCH 2/2] Re-Organizing Windows Utilities --- README.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a5c6b20..97c34b0 100644 --- a/README.md +++ b/README.md @@ -553,30 +553,34 @@ These are items relevant *only* on OS X. These items are relevant *only* on Windows. +- There is an unofficial package manager for Windows with a CLI interface - [Chocolatey](https://chocolatey.org/), which is more similar to the likes of `aptitude` and `yum` found in linux distros. + +- Access the Windows registry with `regtool`. + +- You can perform and script most Windows system administration tasks from the command line by learning and using `wmic`. + +### CLI Tools for **nix** utilities + +- An option to get Unix look and feel under Windows is [Cash](https://github.com/dthree/cash). Note that only very few Unix commands and command-line options are available in this environment. + - On Windows 10, you can use [Bash on Ubuntu on Windows](https://msdn.microsoft.com/commandline/wsl/about), which provides a familiar Bash environment with Unix command line utilities. On the plus side, this allows Linux programs to run on Windows. On the other hand this does not support the running of Windows programs from the Bash prompt. +- An alternative option to get GNU developer tools (such as GCC) on Windows is [MinGW](http://www.mingw.org/) and its [MSYS](http://www.mingw.org/wiki/msys) package, which provides utilities such as bash, gawk, make and grep. MSYS doesn't have all the features compared to Cygwin. MinGW is particularly useful for creating native Windows ports of Unix tools. + +#### Cygwin + - Access the power of the Unix shell under Microsoft Windows by installing [Cygwin](https://cygwin.com/). Most of the things described in this document will work out of the box. - Install additional Unix programs with the Cygwin's package manager. - Use `mintty` as your command-line window. -- Access the Windows clipboard through `/dev/clipboard`. - - Run `cygstart` to open an arbitrary file through its registered application. -- Access the Windows registry with `regtool`. +- Access the Windows clipboard through `/dev/clipboard`. - Note that a `C:\` Windows drive path becomes `/cygdrive/c` under Cygwin, and that Cygwin's `/` appears under `C:\cygwin` on Windows. Convert between Cygwin and Windows-style file paths with `cygpath`. This is most useful in scripts that invoke Windows programs. -- You can perform and script most Windows system administration tasks from the command line by learning and using `wmic`. - -- Another option to get Unix look and feel under Windows is [Cash](https://github.com/dthree/cash). Note that only very few Unix commands and command-line options are available in this environment. - -- An alternative option to get GNU developer tools (such as GCC) on Windows is [MinGW](http://www.mingw.org/) and its [MSYS](http://www.mingw.org/wiki/msys) package, which provides utilities such as bash, gawk, make and grep. MSYS doesn't have all the features compared to Cygwin. MinGW is particularly useful for creating native Windows ports of Unix tools. - -- There is an unofficial package manager for Windows - [Chocolatey](https://chocolatey.org/), which is more similar to the likes of `aptitude` and `yum` found in linux distros. - ## More resources - [awesome-shell](https://github.com/alebcay/awesome-shell): A curated list of shell tools and resources.