# nodus init

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

Source: https://www.nodus-compute.ai/docs/reference/cli/nodus_init/
Build revision: 4ebfc6023eeed1bd55d9969af1612182a7b0c7ff

## 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://www.nodus-compute.ai/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
```
