github.com/smintz/nomad@v0.8.3/website/source/docs/commands/job/init.html.md.erb (about) 1 --- 2 layout: "docs" 3 page_title: "Commands: job init" 4 sidebar_current: "docs-commands-job-init" 5 description: > 6 The job init command is used to generate a skeleton jobspec template. 7 --- 8 9 # Command: job init 10 **Alias: `nomad init`** 11 12 The `job init` command creates an example [job specification][jobspec] in the 13 current directory that demonstrates some common configurations for tasks, task 14 groups, runtime constraints, and resource allocation. 15 16 Please refer to the [jobspec][] and [drivers](/docs/drivers/index.html) 17 pages to learn how to customize the template. 18 19 ## Examples 20 21 Generate an example job file: 22 23 ```text 24 $ nomad job init 25 Example job file written to example.nomad 26 ``` 27 28 [jobspec]: /docs/job-specification/index.html "Nomad Job Specification"