You'll need to install the PowerShell Universal server. There are a lot of ways to do so but you can use the command line below to get started quickly.
You can install PowerShell Universal as a service. Ensure that PowerShell is running as administrator or the service won't install correctly.
Invoke-WebRequest https://imsreleases.blob.core.windows.net/universal/production/2.2.1/PowerShellUniversal.2.2.1.msi -OutFile Universal.msimsiexec /i Universal.msi /qn
You can install PowerShell Universal using the following shell script.
wget https://imsreleases.blob.core.windows.net/universal/production/2.2.1/Universal.linux-x188.8.131.52.zipsudo apt install unzipunzip Universal.linux-x184.108.40.206.zip -d PSUchmod +x ./PSU/Universal.Server./PSU/Universal.Server
You can install PowerShell Universal using the Universal PowerShell module.
Install-Module UniversalInstall-PSUServer -AddToPathStart-PSUServer -Port 5000
wget https://imsreleases.blob.core.windows.net/universal/production/2.2.1/Universal.linux-arm.2.2.1.zipunzip Universal.linux-arm.2.2.1.zip -d ./PSUchmod +x ./PSU/Universal.Server./PSU/Universal.Server
By default, PowerShell Universal is running on port 5000 of localhost. You can access the admin console with the user name
admin and any password.
We recommend installing the PowerShell Universal Visual Studio Code Extension to provide the best possible editing experience.
You can connect to your instance of PowerShell Universal, browse and insert samples and get up and running right away.
Install the extension by searching for it in the extension page and clicking Install.
Click the PowerShell Universal icon on the left hand side and the extension will attempt to connect using the default URL and user name. The extension will notify you once it has connected.
Samples are available via the sample browser. You can select a sample and insert it into your PowerShell Universal instance. You'll need to save the file that is opened by Visual Studio Code for the sample to be inserted.
Learn more about the various features of PowerShell Universal