when I run substrate-node-template, some command use "--base-path" to specify custom base path. However, I want to know what is the default path if I don't set "--base-path". Thank you in advance!!!!

1 Answer 1


Different OS has different default path.

For linux, it is $HOME/.local/share/<CHAIN_NAME>.

Also, when you run the chain, it will show:

2023-03-16 00:33:24 💾 Database: RocksDb at /xxx/db/full

/xxx is what you are looking for.

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.