# nodus init

> Scaffold a manifest or app.py in the current directory

Source: https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_init/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

## nodus init

Scaffold a manifest or app.py in the current directory

```plaintext
nodus init [job|app|agent|sandbox] [flags]
```

### Examples

```plaintext
  nodus init            # job.yaml
  nodus init app        # app.py for nodus run app.py
```

### Options

```plaintext
      --force         Replace an existing file
  -h, --help          help for init
      --name string   Resource or App name (default: the directory name)
```

### Options inherited from parent commands

```plaintext
      --context string   Context from the config file to use
      --org string       Organization (selects the context for that org)
  -p, --project string   Project to work in
  -v, --verbose          Log each API request (never credentials)
```

### SEE ALSO

* [nodus](https://nodus-platform-site.pages.dev/docs/reference/cli/nodus/) - Run compute Jobs on Nodus

### Tested examples

These invocations run in CI against the CLI’s fake API.

Terminal window

```sh
nodus init
nodus init app --name demo
```
