Download Visual Studio Code
Install Visual Studio Code
Double-click the downloaded Visual Studio Code installer and, if you accept the license agreement, proceed with the install.
Visual Studio Code is used to author / modify the Lane PowerShell scripts and is the Microsoft preferred PowerShell integrated development environment (IDE).
Install the PowerShell extension
Open Visual Studio Code and install the PowerShell extension by clicking on the Extensions icon in the left-hand side menu.
tip
If you are using PowerShell for the first time in Visual Studio, you will need to set up the PowerShell extension to use the PowerShell version that you installed in the previous step.
note
You can also download the extension from its Marketplace page and install the downloaded VSIX file:
Download the PowerShell extension from Visual Studio Marketplace.
code --install-extension ms-vscode.PowerShell-<version>.vsix
D:\Lane\Support\PowerShell\pwsh.exe
Run your first Lane command:
The Get-LaneVersion command is the most simple way to validate that you are using the latest version of Lane:
Import-Module Lane
Get-LaneVersion