Publish NuGet Packages with PowerShell

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

Deploying to this repository can be done by running the following command:

Publish modules

Publish-Module -Path <PATH_TO_FILE> -Repository <REPOSITORY_NAME> -NuGetApiKey <USER>:<API-KEY> -Verbose

Example

Publish-Module -Path /home/your-username/project -Repository john-nuget-local -NuGetApiKey sk_test_DI0OTQ6d0lrRU9OUGVqU2d -Verbose

Publish scripts

Publish-Script -Path <PATH_TO_FILE> -Repository <REPOSITORY_NAME> -NuGetApiKey <USER>:<API-KEY> -Verbose

Example

Publish-Script -Path /home/your-username/project -Repository john-nuget-local -NuGetApiKey sk_test_DI0OTQ6d0lrRU9OUGVqU2d -Verbose