docs/content/en/reference/references/mesheryctl/model/import.md
Import models
Import models by specifying the directory, file, or URL. You can also provide a template JSON file and registrant name
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl model import [flags] </div> </pre>Import model
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl model import --file [URI] </div> </pre>Import model from a URL to a meshery model
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl model import --file [URL] </div> </pre>Import model from an OCI artifact
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl model import --file [OCI] </div> </pre>Import model from a tar.gz file
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl model import --file [path-to-model.tar.gz] </div> </pre>Import model from a path
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl model import --file [path-to-model] </div> </pre>Import model using CSV files
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl model import --file [path-to-csv-directory] </div> </pre>Go back to [command reference index]({{< ref "reference/references/mesheryctl/_index.md" >}}), if you want to add content manually to the CLI documentation, please refer to the [instruction]({{< ref "project/contributing/contributing-cli.md#preserving-manually-added-documentation" >}}) for guidance.