Skip to content

[Q] How to switch to 1.2 version #860

Description

How can I downgrade to 1.2 version?

The 1.2 version is in $env:PSModulePath

- c:\Program Files\WindowsPowerShell\Modules\PSReadline\
|- 1.2
|- 2.0.0

I tried:

Install-Module -Name PSReadLine -RequiredVersion 1.2

But 2.0.0 version is installed.

Thank you for any advice.

Activity

  1. silverqx commented on Mar 6, 2019

    @silverqx
    Author

    I resolved this, I have to manually delete 2.0.0 version at c:\Program Files\WindowsPowerShell\Modules\PSReadline\2.0.0, after that

    Install-Module -Name PSReadLine -RequiredVersion 1.2
    

    works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions