Idea: rustup but for IPFS!
This tool would:
ipfs command that launches the correct IPFS version (downloading it if necessary).V1:
V2:
V3:
The user must be able to:
ipfs $ARBITRARY_COMMAND and have that command run on the correct version of IPFS.ipfs update [latest] command to update to the latest stable version of their chosen IPFS implementation (go or js).ipfs update vX.Y.Z to update to a specific version of their chosen IPFS dist.ipfs update $lang-vX.Y.Z to switch to update to a specific version of $lang.ipfs update $lang-latest to switch to the latest IPFS version in $lang.--transport={ipfs,https,auto} to ipfs update to force a specific transport.Like rustup, this project should provide a virtual ipfs command that downloads the correct IPFS version/distribution and runs it. Unlike rustup, it should support downloading IPFS over IPFS if a working version of IPFS is already installed.
ipfs command is run:ipfs is installed:ipfs update command is run:ipfs is installed:ipfs cat /ipns/dist.ipfs.io/go-ipfs/latest.$IPFS_PATH/releases/$VERSION/$ARCHITECTURE.Update.Version.ipfs update $VERSION command is run, do the same thing but use the specified version.Prior art: https://github.com/alanshaw/iim
Most helpful comment
Prior art: https://github.com/alanshaw/iim