# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rivet.itg.sh/cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
