diff --git a/README.md b/README.md index 3f505f5..d97b531 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,115 @@ Windows: stores PATH in the registry. Mac & Linux: stores PATH in `~/.config/envman/PATH.sh` +## Downloads + +### MacOS + +MacOS (darwin): [64-bit Download ](https://rootprojects.org/pathman/dist/darwin/amd64/pathman) + +``` +curl https://rootprojects.org/pathman/dist/darwin/amd64/pathman -o pathman +``` + +### Windows + +
+See download options +Windows 10: [64-bit Download](https://rootprojects.org/pathman/dist/windows/amd64/pathman.exe) + +``` +powershell.exe $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://rootprojects.org/pathman/dist/windows/amd64/pathman.exe -OutFile pathman.exe +``` + +**Debug version**: + +``` +powershell.exe $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest https://rootprojects.org/pathman/dist/windows/amd64/pathman.debug.exe -OutFile pathman.debug.exe +``` + +Windows 7: [32-bit Download](https://rootprojects.org/pathman/dist/windows/386/pathman.exe) + +``` +powershell.exe "(New-Object Net.WebClient).DownloadFile('https://rootprojects.org/pathman/dist/windows/386/pathman.exe', 'pathman.exe')" +``` + +**Debug version**: + +``` +powershell.exe "(New-Object Net.WebClient).DownloadFile('https://rootprojects.org/pathman/dist/windows/386/pathman.debug.exe', 'pathman.debug.exe')" +``` + +
+ +### Linux + +
+See download options + +Linux (64-bit): [Download](https://rootprojects.org/pathman/dist/linux/amd64/pathman) + +``` +curl https://rootprojects.org/pathman/dist/linux/amd64/pathman -o pathman +``` + +Linux (32-bit): [Download](https://rootprojects.org/pathman/dist/linux/386/pathman) + +``` +curl https://rootprojects.org/pathman/dist/linux/386/pathman -o pathman +``` + +
+ +### Raspberry Pi (Linux ARM) + +
+See download options + +RPi 4 (64-bit armv8): [Download](https://rootprojects.org/pathman/dist/linux/armv8/pathman) + +``` +curl https://rootprojects.org/pathman/dist/linux/armv8/pathman -o pathman` +``` + +RPi 3 (armv7): [Download](https://rootprojects.org/pathman/dist/linux/armv7/pathman) + +``` +curl https://rootprojects.org/pathman/dist/linux/armv7/pathman -o pathman +``` + +ARMv6: [Download](https://rootprojects.org/pathman/dist/linux/armv6/pathman) + +``` +curl https://rootprojects.org/pathman/dist/linux/armv6/pathman -o pathman +``` + +RPi Zero (armv5): [Download](https://rootprojects.org/pathman/dist/linux/armv5/pathman) + +``` +curl https://rootprojects.org/pathman/dist/linux/armv5/pathman -o pathman +``` + +
+ +### Add to PATH + +**Windows** + +``` +mkdir %userprofile%\bin +move pathman.exe %userprofile%\bin\pathman.exe +%userprofile%\bin\pathman.exe ~\bin +``` + +**All Others** + +``` +chmod a+x ./pathman +mkdir -p ~/.local/bin +mv ./pathman ~/.local/bin +pathman add ~/.local/bin +``` + # add ```bash