Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
AI Shell is an interactive shell that provides a chat interface for AI language models. For the best experience, install the following packages:
- The command-line shell (
aish
) interface - The AIShell module for PowerShell
This article explains how to install these packages on your system.
System requirements
AI Shell is supported on the following platforms:
Install AI Shell
For convenience, you can use installaishell.ps1
script to install AI Shell.
On Windows, this script:
- Installs
aish.exe
to$env:LOCALAPPDATA\Programs\AIShell
and adds it to your PATH - Installs the AIShell module to your module path location
On macOS, this script:
- Installs the
aish
executable to/usr/local/AIShell
- Due to some limitations, the AIShell module is not installed
Note
This script only works on Windows and Mac systems. Linux users need to follow the manual installation instructions.
Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-aishell.ps1') }"
To uninstall AI Shell, invoke the same expression with the -Uninstall
parameter.
Invoke-Expression "& { $(Invoke-RestMethod 'https://aka.ms/install-aishell.ps1') } -Uninstall"
To manually install AI Shell, follow the instructions for your platform:
Download the latest version from the GitHub releases page. Choose the file that matches your system architecture. For example,
AIShell-1.0.0-preview.2-win-x64.zip
.Extract the contents of the ZIP file to a location on your system.
Add the extracted folder to your PATH environment variable.
Install the AI Shell module from the PowerShell Gallery.
Install-PSResource -Name AIShell