Using Source
You will need a copy of the nats-server source locally and will need to be in the jetstream branch.
nats-server -js
Output
nats-server -js -sd /tmp/test
Output
// enables jetstream, an empty block will enable and use defaults
// jetstream data will be in /data/nats-server/jetstream
store_dir: "/data/nats-server"
max_memory_store: 1073741824
// 10GB
}