How do I completely uninstall Hyperledger Composer (and underlying Hyperledger Fabric), including all dependencies, docker images and node/npm modules?
I had followed the following setup while installing: https://hyperledger.github.io/composer/installing/development-tools.html
I have done the following already:
npm uninstall -g composer-cli
npm uninstall -g composer-rest-server
npm uninstall -g generator-hyperledger-composer
npm uninstall -g yo
npm uninstall -g composer-playground
The install instructions download some Git repositories to a directory of your choice. Delete everything downloaded to whichever directory you chose. Bring down any running Fabric Docker networks, then remove all Fabric Docker containers and images. Worked!
As of August 2021, Hyperledger Composer is End of Life. None of the maintainers are actively developing new features. None of the maintainers are actively providing support via GitHub issues. However, if you wish to submit code changes via pull requests, these will be merged.
According to IBM, there are following three problems with Hyperledger Composer: Composer has been designed from the start to support multiple blockchain platforms, not just Fabric - but this design has come at a cost.
Hyperledger Composer is a set of collaboration tools for building blockchain business networks that make it simple and fast for business owners and developers to create smart contracts and blockchain applications to solve business problems. Built with JavaScript, leveraging modern tools including node.
I think you have the npm modules sorted.
To remove all docker containers and images:
docker kill $(docker ps -q)
docker rm $(docker ps -aq)
docker rmi $(docker images -q)
Remove composer cards folder rm -rf ~/.composer
To remove the scripts and tools to create Fabric: rm -rf ~/.fabric-tools
To remove docker-compose: sudo rm /usr/local/bin/docker-compose
To remove docker: sudo apt-get remove docker-ce
Check the "prereqs-ubuntu.sh" script to see the other "apt-get install" commands and see if you want to remove them too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With