# ipfs-update
The ipfs-update tool is a command-line utility that can be used to install and update Kubo. The easiest way to install ipfs-update is by using the pre-built binaries, detailed below. See the project repository (opens new window) if you'd prefer to build it from source.
# Install ipfs-update
You can download pre-built binaries from dist.ipfs.tech (opens new window). Binaries are also available from the IPFS Update GitHub release page (opens new window).
:::
# Install IPFS
The ipfs-update tool can be used to install Kubo.
To install a specific Kubo
<version-number>, run:ipfs-update install <version-number>To install the latest release of Kubo, use the
latesttag:ipfs-update install latest
TIP
When ipfs-update install is run and a version of IPFS is already installed, that version is stashed and can be reverted to later.
# Downgrade IPFS
Use the revert function to roll-back to a previous version of Kubo:
ipfs-update revert
ipfs-update revert reverts to the previously installed version of Kubo. This is useful if the newly installed version has issues and you would like to switch back to your older stable installation.
# Uninstall updater
To uninstall IPFS Update, delete the binary and ipfs-update from your PATH variable.
# Windows
Find the location of the
ipfs-update.exefile:gci -recurse -filter ipfs-update.exe -File -ErrorAction SilentlyContinue > Directory: C:\Users\<username>\Apps\ipfs-update_v1.9.0\ipfs-updateRemove the
ipfs-updatedirectory:Remove-Item -Recurse -Force C:\Users\<username>\Apps\ipfs-update_v1.9.0Delete the
ipfs-updatedirectory from thePATHvariable. This process differs between Windows installations, so please check the Microsoft documentation for details (opens new window).
# Linux & macOS
Find the location of the
ipfs-updatefile:sudo find / -name ipfs-update /usr/local/bin/ipfs-updateRemove the file:
sudo rm /usr/local/bin/ipfs-update