Skip to content

Commit 9a9de86

Browse files
committed
Update readme
1 parent 1a56385 commit 9a9de86

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ From the source code directory, execute the following command:
3030

3131
To install it locally, using the source:
3232

33-
```
33+
```powershell
3434
Import-Module .\dotnet-new\dual-projects\dual-projects.psm1
3535
3636
# Example from a local directory to test scripts changes, you can load the module with absolute path:
@@ -189,15 +189,25 @@ Register-PSRepository -Name MyGetFeed -SourceLocation $PSGallerySourceUri -Publi
189189

190190
Install the module from that custom MyGet feed:
191191

192-
```
193-
Install-Module -Name "dual-projects" -RequiredVersion "1.0.0" -Repository MyGetFeed -Scope CurrentUser
192+
```powershell
193+
# Only for the current user
194+
Install-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Repository MyGetFeed -Scope CurrentUser
195+
196+
# For all users (required an elevated terminal)
197+
Install-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Repository MyGetFeed
198+
199+
# Update the module (force is required to overrite the old version)
200+
Update-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Force
201+
202+
# List installed modules
203+
Get-InstalledModule -Name "dual-projects"
194204
```
195205

196206
> > > > > > > Update README and fix DualProjects props options
197207
198208
Publish to that custom MyGet feed:
199209

200-
```
210+
```powershell
201211
$APIKey = 'YOUR-API-KEY'
202212
Publish-Module -Path dotnet-new -NuGetApiKey $APIKey -Repository ForEvolveFeed -Verbose
203213
```

0 commit comments

Comments
 (0)