1 - Open Powershell as administrator and run
Install-Module -Name Octoposh -force
The Install-Module
cmdlet is part of the Windows Management Framework 5.0 Preview
2 - Run
Import-Module Octoposh
3 - From the same console run Get-command -module OctoPosh
to list all the module's cmdlets