<s>[INST] How to check which version of Spark do I have? [/INST] In command line, to check the version of each item, type:

```
spark-submit --version
spark-shell --version
spark-sql --version
``` </s>