From 2c283a28649a692fea764894415cfa6b74fe2f5b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 25 Feb 2021 17:37:41 -0700 Subject: [PATCH] remove old download urls --- README.md | 107 +++++++++++++++--------------------------------------- 1 file changed, 29 insertions(+), 78 deletions(-) diff --git a/README.md b/README.md index ab9552b..dd379db 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ pathman help Where is the PATH managed? -- **Windows 10**: stores `PATH` in the registry. -- **Mac** & **Linux**: stores `PATH` in `~/.config/envman/PATH.env` +- **Windows 10**: stores `PATH` in the registry. +- **Mac** & **Linux**: stores `PATH` in `~/.config/envman/PATH.env` Note for **Windows 10** users: due to differences in how `cmd.exe`, PowerShell, and `pathman` use and interpret strings, spaces, paths, and variables, you'll get more consistent results if you: -- Use `~` rather than `%USERPROFILE%` or `$Env:USERPROFILE` -- Use `/` rather than `\` for delimiting paths +- Use `~` rather than `%USERPROFILE%` or `$Env:USERPROFILE` +- Use `/` rather than `\` for delimiting paths ## Install @@ -65,88 +65,39 @@ pathman add ~/.local/bin ## Downloads -### MacOS +[Webi](https://webinstall.dev/pathman) () is the preferred install method, +but you can also download from [Git Releases](https://git.rootprojects.org/root/pathman/releases): +. -MacOS (darwin): [64-bit Download ](https://rootprojects.org/pathman/dist/darwin/amd64/pathman) +MacOS (including Apple Silicon M1), Linux, Raspberry Pi: -``` -curl https://rootprojects.org/pathman/dist/darwin/amd64/pathman -o pathman -chmod +x ./pathman +```bash +tar xvf pathman-v*.tar.gz +chmod a+x ./pathman +./pathman --help ``` -### Windows +Windows 10: -
-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 +```bash +tar.exe xvf pathman-v*.zip +.\pathman.exe --help ``` -Windows 7: [32-bit Download](https://rootprojects.org/pathman/dist/windows/386/pathman.exe) +### Supported Platforms -``` -powershell.exe "(New-Object Net.WebClient).DownloadFile('https://rootprojects.org/pathman/dist/windows/386/pathman.exe', 'pathman.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 -chmod +x ./pathman -``` - -Linux (32-bit): [Download](https://rootprojects.org/pathman/dist/linux/386/pathman) - -``` -curl https://rootprojects.org/pathman/dist/linux/386/pathman -o pathman -chmod +x ./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` -chmod +x ./pathman -``` - -RPi 3 (armv7): [Download](https://rootprojects.org/pathman/dist/linux/armv7/pathman) - -``` -curl https://rootprojects.org/pathman/dist/linux/armv7/pathman -o pathman -chmod +x ./pathman -``` - -ARMv6: [Download](https://rootprojects.org/pathman/dist/linux/armv6/pathman) - -``` -curl https://rootprojects.org/pathman/dist/linux/armv6/pathman -o pathman -chmod +x ./pathman -``` - -RPi Zero (armv5): [Download](https://rootprojects.org/pathman/dist/linux/armv5/pathman) - -``` -curl https://rootprojects.org/pathman/dist/linux/armv5/pathman -o pathman -chmod +x ./pathman -``` - -
+- MacOS + - Apple Silicon M1 + - Intel x86_64 +- Windows 10, 8, 7 +- Linux + - amd64 / x86_64 + - 386 +- Raspberry Pi (Linux ARM) + - RPi 4 (64-bit armv8) + - RPi 3 (armv7) + - ARMv6 + - RPi Zero (armv5) # CLI Help (API)