Skip to content

Commit 8635b8f

Browse files
committed
Update README
1 parent 440ffc2 commit 8635b8f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -174,20 +174,23 @@ Use a custom MyGet feed:
174174
Import-Module PowerShellGet
175175
$PSGalleryPublishUri = 'https://www.myget.org/F/forevolve/api/v2/package'
176176
$PSGallerySourceUri = 'https://www.myget.org/F/forevolve/api/v2'
177-
Register-PSRepository -Name MyGetFeed -SourceLocation $PSGallerySourceUri -PublishLocation $PSGalleryPublishUri
177+
Register-PSRepository -Name ForEvolveFeed -SourceLocation $PSGallerySourceUri -PublishLocation $PSGalleryPublishUri
178+
179+
# To unregister a source
180+
Unregister-PSRepository -Name ForEvolveFeed
178181
```
179182

180183
Install the module from that custom MyGet feed:
181184

182185
```powershell
183186
# Only for the current user
184-
Install-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Repository MyGetFeed -Scope CurrentUser
187+
Install-Module -Name "dual-projects" -RequiredVersion "1.1.1" -Repository MyGetFeed -Scope CurrentUser
185188
186189
# For all users (required an elevated terminal)
187-
Install-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Repository MyGetFeed
190+
Install-Module -Name "dual-projects" -RequiredVersion "1.1.1" -Repository MyGetFeed
188191
189192
# Update the module (force is required to overrite the old version)
190-
Update-Module -Name "dual-projects" -RequiredVersion "1.1.0" -Force
193+
Update-Module -Name "dual-projects" -RequiredVersion "1.1.1" -Force
191194
192195
# List installed modules
193196
Get-InstalledModule -Name "dual-projects"

0 commit comments

Comments
 (0)