diff --git a/docs/install/ipfs-updater.md b/docs/install/ipfs-updater.md index d58c42f8e..dc8072c0c 100644 --- a/docs/install/ipfs-updater.md +++ b/docs/install/ipfs-updater.md @@ -1,7 +1,7 @@ --- title: IPFS updater description: The IPFS updater is a command-line tool originally used to help users update their IPFS version. Learn how to install, upgrade, and downgrade Kubo using the IPFS updater. -current-ipfs-updater-version: v1.8.0 +current-ipfs-updater-version: v1.9.0 --- # IPFS updater @@ -18,22 +18,22 @@ You can download pre-built binaries from [`dist.ipfs.tech`](https://dist.ipfs.te ```powershell cd ~ - wget https://dist.ipfs.tech/ipfs-update/v1.8.0/ipfs-update_v1.8.0_windows-amd64.zip -Outfile ipfs-update_v1.8.0_windows-amd64.zip + wget https://dist.ipfs.tech/ipfs-update/v1.9.0/ipfs-update_v1.9.0_windows-amd64.zip -Outfile ipfs-update_v1.9.0_windows-amd64.zip ``` 2. Unzip the file and move it somewhere handy: ```powershell - Expand-Archive -Path ipfs-update_v1.8.0_windows-amd64.zip -DestinationPath ~\Apps\ipfs-update_v1.8.0 + Expand-Archive -Path ipfs-update_v1.9.0_windows-amd64.zip -DestinationPath ~\Apps\ipfs-update_v1.9.0 ``` -3. Move into the `ipfs-update_v1.8.0` folder and check that the `ipfs-update.exe` works: +3. Move into the `ipfs-update_v1.9.0` folder and check that the `ipfs-update.exe` works: ```powershell - cd Apps\ipfs-update_v1.8.0\ipfs-update\ + cd Apps\ipfs-update_v1.9.0\ipfs-update\ .\ipfs-update.exe --version - > ipfs-update version 1.8.0 + > ipfs-update version 1.9.0 ``` While you can use `ipfs-update` right now, it's better to add `ipfs-update.exe` to your `PATH` by using the following steps. @@ -45,7 +45,7 @@ You can download pre-built binaries from [`dist.ipfs.tech`](https://dist.ipfs.te > Path > ---- - > C:\Users\Johnny\Apps\ipfs-update_v1.8.0\ipfs-update + > C:\Users\Johnny\Apps\ipfs-update_v1.9.0\ipfs-update ``` 5. Check if a profile file for PowerShell already exists: @@ -71,7 +71,7 @@ You can download pre-built binaries from [`dist.ipfs.tech`](https://dist.ipfs.te 7. Add the address you just copied to PowerShell's `PATH` by adding it to the end of the `Microsoft.PowerShell_profile.ps1` file stored in `Documents\WindowsPowerShell`: ```powershell - Add-Content C:\Users\Johnny\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 "[System.Environment]::SetEnvironmentVariable('PATH',`$Env:PATH+';;C:\Users\Johnny\Apps\ipfs-update_v1.8.0\ipfs-update')" + Add-Content C:\Users\Johnny\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 "[System.Environment]::SetEnvironmentVariable('PATH',`$Env:PATH+';;C:\Users\Johnny\Apps\ipfs-update_v1.9.0\ipfs-update')" ``` 8. Close and reopen your PowerShell window. Test that your `PATH` is set correctly by going to your home folder and asking `ipfs-update` for the version: @@ -80,7 +80,7 @@ You can download pre-built binaries from [`dist.ipfs.tech`](https://dist.ipfs.te cd ~ ipfs-update --version - > ipfs-update version 1.8.0 + > ipfs-update version 1.9.0 ``` If you get an error during the next start of PowerShell while loading the profile file, you need to change `ExecutionPolicy` of PowerShell to `Unrestricted` as described in the [Microsoft PowerShell documentation](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-7). @@ -90,13 +90,13 @@ You can download pre-built binaries from [`dist.ipfs.tech`](https://dist.ipfs.te 1. Download the macOS binary from [`dist.ipfs.tech`](https://dist.ipfs.tech/#ipfs-update). ```bash - curl -O https://dist.ipfs.tech/ipfs-update/v1.8.0/ipfs-update_v1.8.0_darwin-amd64.tar.gz + curl -O https://dist.ipfs.tech/ipfs-update/v1.9.0/ipfs-update_v1.9.0_darwin-amd64.tar.gz ``` 2. Unzip the file: ```bash - tar -xvzf ipfs-update_v1.8.0_darwin-amd64.tar.gz + tar -xvzf ipfs-update_v1.9.0_darwin-amd64.tar.gz > x ipfs-update/install.sh > x ipfs-update/ipfs-update @@ -116,7 +116,7 @@ You can download pre-built binaries from [`dist.ipfs.tech`](https://dist.ipfs.te ```bash ipfs-update --version - > ipfs-update version 1.8.0 + > ipfs-update version 1.9.0 ``` ### Linux @@ -124,13 +124,13 @@ You can download pre-built binaries from [`dist.ipfs.tech`](https://dist.ipfs.te 1. Download the Linux binary from [`dist.ipfs.tech`](https://dist.ipfs.tech/#ipfs-update). ```bash - wget https://dist.ipfs.tech/ipfs-update/v1.8.0/ipfs-update_v1.8.0_linux-amd64.tar.gz + wget https://dist.ipfs.tech/ipfs-update/v1.9.0/ipfs-update_v1.9.0_linux-amd64.tar.gz ``` 2. Unzip the file: ```bash - tar -xvzf ipfs-update_v1.8.0_linux-amd64.tar.gz + tar -xvzf ipfs-update_v1.9.0_linux-amd64.tar.gz > x ipfs-update/install.sh > x ipfs-update/ipfs-update @@ -150,7 +150,7 @@ You can download pre-built binaries from [`dist.ipfs.tech`](https://dist.ipfs.te ```bash ipfs-update --version - > ipfs-update version 1.8.0 + > ipfs-update version 1.9.0 ``` ## Install IPFS @@ -190,13 +190,13 @@ To uninstall IPFS Update, delete the binary and `ipfs-update` from your `PATH` v ```powershell gci -recurse -filter ipfs-update.exe -File -ErrorAction SilentlyContinue - > Directory: C:\Users\Johnny\Apps\ipfs-update_v1.8.0\ipfs-update + > Directory: C:\Users\Johnny\Apps\ipfs-update_v1.9.0\ipfs-update ``` 2. Remove the `ipfs-update` directory: ```powershell - Remove-Item -Recurse -Force C:\Users\Johnny\Apps\ipfs-update_v1.8.0 + Remove-Item -Recurse -Force C:\Users\Johnny\Apps\ipfs-update_v1.9.0 ``` 3. Delete the `ipfs-update` directory from the `PATH` variable. This process differs between Windows installations, so please check the [Microsoft documentation for details](https://docs.microsoft.com/en-us/cpp/build/setting-the-path-and-environment-variables-for-command-line-builds?view=msvc-160).