mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
add value to PSGet demo
This commit is contained in:
1 parent
ca1780255f
commit
a4146d2586
1 file changed
+5
-3
@@ -4,11 +4,13 @@
|
||||
Get-PackageProvider #(should show 2 providers - NuGet,PowerShellGet)
|
||||
|
||||
## Using PowerShellGet find and install other demos
|
||||
# Value: equivalent of pypi
|
||||
# Look for all the modules we'll be demoing today
|
||||
Find-Module -Tag 'Open PowerShell','Demos'
|
||||
# Pipe this to Install-Module to install them
|
||||
Find-Module -Tag 'Open PowerShell','Demos' | Install-Module -Verbose
|
||||
Get-Module
|
||||
|
||||
# Find and Download node.js from nuget.org
|
||||
Find-Package -Name node.js -ProviderName NuGet -Verbose -Source http://nuget.org/api/v2
|
||||
# Note that ScriptAnalyzer gets installed because the VSCode demo is dependent upon it
|
||||
|
||||
# Register trusted endpoints
|
||||
Register-PackageSource -Name NuGet -Location http://nuget.org/api/v2 -Trusted -ProviderName NuGet
|
||||
|
||||
Reference in new issue
Block a user