File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,26 @@ Import-Module PSReadLine
48
48
49
49
In either case, you can create the appropriate file if you don't already have one.
50
50
51
+ Upgrading
52
+ ============
53
+
54
+ If you installed with ` PSGet ` you can run ` Update-Module PSReadLine ` .
55
+
56
+
57
+ If you've added it to your ` $PROFILE ` , when you run ` Update-Module PSReadLine ` you will get the following error
58
+
59
+ ```
60
+ Remove-Item : Cannot remove item
61
+ C:\Users\{yourName}\Documents\WindowsPowerShell\Modules\PSReadLine\PSReadline.dll: Access to the path
62
+ 'C:\Users\{yourName}\Documents\WindowsPowerShell\Modules\PSReadLine\PSReadline.dll' is denied.
63
+ At C:\Users\{yourName}\Documents\WindowsPowerShell\Modules\PsGet\PsGet.psm1:1009 char:52
64
+ ```
65
+
66
+ 1 . Run ` cmd.exe `
67
+ 2 . ` powershell -noprofile `
68
+ 3 . ` Update-Module PSReadLine `
69
+
70
+
51
71
Usage
52
72
=====
53
73
You can’t perform that action at this time.
0 commit comments