# Unable to install modules after installing PS core 6

**URL:** <https://forums.powershell.org/t/unable-to-install-modules-after-installing-ps-core-6/13402>\
**Category:** PowerShell Help\
**Created:** [November 11, 2019, 9:30pm UTC](https://forums.powershell.org/t/unable-to-install-modules-after-installing-ps-core-6/13402 "2019-11-11T21:30:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwhitmore](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/cwhitmore/32/14_2.png) [@cwhitmore](https://forums.powershell.org/u/cwhitmore)\
**Post date:** [November 11, 2019, 9:30pm UTC](https://forums.powershell.org/t/unable-to-install-modules-after-installing-ps-core-6/13402/1 "2019-11-11T21:30:10Z")

</div>

I installed PS core 7, rebooted and installed PS core 6. When I launch PS core 6 I can’t install modules and PackageManagement is missing when I listed modules. When I try to installed PackageManagement I get the following error:

> install-module : The 'install-module' command was found in the module 'PowerShellGet', but the module could not be loaded. For more information, run 'Import-Module PowerShellGet'. At line:1 char:1 + install-module PackageManagement + ~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (install-module:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

&nbsp;

---

<div class="post-metadata">

**Author:** ![kpatnayakuni](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kpatnayakuni/32/19_2.png) [@kpatnayakuni](https://forums.powershell.org/u/kpatnayakuni)\
**Post date:** [November 12, 2019, 12:41am UTC](https://forums.powershell.org/t/unable-to-install-modules-after-installing-ps-core-6/13402/2 "2019-11-12T00:41:35Z")

</div>

Check ‘PowerShellGet’ package provider is installed or not using `Get-PackageProvider`, if not use the command below to get it installed.

[pre]

Find-PackageProvider -Name PowerShellGet | Install-PackageProvider -Force

[/pre]

Thank you.

---

<div class="post-metadata">

**Author:** ![cwhitmore](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/cwhitmore/32/14_2.png) [@cwhitmore](https://forums.powershell.org/u/cwhitmore)\
**Post date:** [November 12, 2019, 7:04am UTC](https://forums.powershell.org/t/unable-to-install-modules-after-installing-ps-core-6/13402/3 "2019-11-12T07:04:18Z")

</div>

That did it. Thanks Kiran!

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:31pm UTC](https://forums.powershell.org/t/unable-to-install-modules-after-installing-ps-core-6/13402/4 "2024-05-16T20:31:08Z")

</div>

Closed on May 16, 2024, 8:31pm UTC


