To push a package to Artifactory, run the following command:
dotnet nuget push <PACKAGE_NAME> --api-key --source artifactorychoco push <PACKAGE_NAME> -s artifactory
Example
dotnet nuget push demo-app.1.2.3.nupkg --api-key sk_test_51HxxxxxxREDACTED --source artifactorychoco push john-nuget-choco-local -s artifactory