# Virto Commerce Module Template for "dotnet new"

**URL:** <https://www.virtocommerce.org/t/virto-commerce-module-template-for-dotnet-new/387>\
**Category:** dev\
**Created:** [October 12, 2021, 7:02am UTC](https://www.virtocommerce.org/t/virto-commerce-module-template-for-dotnet-new/387 "2021-10-12T07:02:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OlegoO](https://yyz2.discourse-cdn.com/flex032/user_avatar/www.virtocommerce.org/olegoo/32/27_2.png) [@OlegoO](https://www.virtocommerce.org/u/OlegoO)\
**Post date:** [October 12, 2021, 7:02am UTC](https://www.virtocommerce.org/t/virto-commerce-module-template-for-dotnet-new/387/1 "2021-10-12T07:02:33Z")

</div>

Version of Virto Commerce Module Template for “dotnet new” is available.

![dotnet-new-template-2021-10-12](https://canada1.discourse-cdn.com/flex032/uploads/virtocommerce/original/1X/6bdb5d55ef63d0826fb73303b2cd3956a95a96b4.gif)

## How to install template from NuGet repository

Open Windows PowerShell CMD and Run command

```auto
dotnet new --install VirtoCommerce.Module.Template

```

## How to create a new module from a template

- Open Windows PowerShell CMD
- Navigate to your sources folder
- Run command

```auto
dotnet new vc-module --ModuleName CustomerReviews --Author "Jon Doe" --CompanyName VirtoCommerce --PlatformVersion "3.84.0" --PlatformNuGetPackageVersion "3.84.0"

```

where

- –ModuleName your module name and vc-module- **CustomerReviews** folder with module solution will be created
- –Author your name
- –CompanyName your company name
- **PlatformVersion** and **PlatformNuGetPackageVersion** parameters have “3.84.0”. “3.84.0” default values respectively. You can skip these parameters if you use default versions.

## Source

> **[GitHub - VirtoCommerce/vc-cli-module-template: dotnet new cli module template for virto commerce...](https://github.com/VirtoCommerce/vc-cli-module-template)**
>
> dotnet new cli module template for virto commerce modules: default, database agnostic and experience.

Any comments, feedback are welcome.
