MSYS2: Difference between revisions

From David's Wiki
No edit summary
Line 5: Line 5:
** Note: You can also install with <code>choco install msys2</code> but you will need to set start menu shortcuts yourself
** Note: You can also install with <code>choco install msys2</code> but you will need to set start menu shortcuts yourself
* Install common developer tools
* Install common developer tools
** <code>pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake git</code>
** <code>pacman -S --needed base-devel cmake git</code>
** <code>pacman -S --needed mingw-w64-x86_64-toolchain</code>


==Package Management==
==Package Management==

Revision as of 20:16, 15 April 2020

Bash for windows

Getting Started

  • Install Msys2 from https://www.msys2.org/
    • Note: You can also install with choco install msys2 but you will need to set start menu shortcuts yourself
  • Install common developer tools
    • pacman -S --needed base-devel cmake git
    • pacman -S --needed mingw-w64-x86_64-toolchain

Package Management

Reference

# Install a package
pacman -S <package>

# Uninstall a package
pacman -R <package>