> For the complete documentation index, see [llms.txt](https://rivet.itg.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rivet.itg.sh/cli.md).

# CLI

```
* rivet init [name]                          - Scaffolds basic rivet configuration, files, and directories
* rivet link                                 - Link the package in the global node_modules
* rivet watch [src]                          - Watch and compile changes to contracts
* rivet compile [src]                        - Compile contracts from the [src] to JSON
* rivet publish                              - Publish the package with an optional version bump
* rivet config                               - Displays current configuration options
* rivet version <version|major|minor|patch>  - Bump the package version
```
