If I want to remove an installation and start fresh which directories and files should I rm? This is on a system with a remote database and chain (I'll delete the node database manually with psql if that doesn't present issues?). Thanks.

1 Answer 1


If you are using Docker, stop your node by clicking CTRL + C & remove the container and its volumes by typing docker rm -v chainlink.

After that, remove the Docker image by typing docker image ls to see all Docker images on your system and then find IMAGE_ID for smartcontract/chainlink and type docker image rm IMAGE_ID

Finally, delete the ~/.chainlink directory and its contents.

If you are running node from source, delete the directory containing the source code cloned from the repo.

  • Thanks - the ~/.chainlink directory had escaped me!
    – BillWilson
    Feb 21, 2022 at 18:54
  • On reflection this is an answer for docker and does not answer the question? eg the gobin directory still has the chainlink executable and a great deal of other stuff, and these arent removed by this solution. I think this is an answer for docker but the question is about linux as per the title thnx.
    – BillWilson
    Feb 21, 2022 at 22:29
  • Thanks again btw for answering - I'm having some success by deleting the ~./chainlink dir plus the gobin dir contents. I don't delete the source I just make install from it again - which is much quicker so there is still stuff in place I guess?
    – BillWilson
    Feb 21, 2022 at 23:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.