Skip to content

Instantly share code, notes, and snippets.

@Beyarz
Last active March 28, 2024 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Beyarz/cf6a806daa87de12c662f644eabdced3 to your computer and use it in GitHub Desktop.
Save Beyarz/cf6a806daa87de12c662f644eabdced3 to your computer and use it in GitHub Desktop.
Windows unix commands in CMD

Run unix stuff in cmd

Run: choco install msys

Symlink directory (some project assume its in C:\msys64): MKLINK /D "C:\msys64" "C:\tools\msys64"

Add the following path C:\msys64\usr\bin to your PATH environment variable

Now you shoule be able to run pacman -Q, choco list | sed s/msys2/test/g, help | grep disk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment