Select your language

Modules

About

PowerShell module source

This module provides PowerShell 7+ with enhanced console features including:

  • Oh My Posh - Beautiful and customizable prompt themes
  • PSReadLine - Advanced command-line editing and history
  • Nerd Fonts - Rich icon and glyph support
Font Requirement: This PowerShell module requires CaskaydiaCove NF (Cascadia Code Nerd Font) to display Oh My Posh icons and glyphs correctly. The font should be installed system-wide via Bearsampp prerequisites.

Installation

  • Download and install bearsampp.
  • If you already have installed bearsampp, stop it.
  • Download a PowerShell version of your choice.
  • Extract archive in bearsampp\\tools\\powershell\\. Directory structure example :
\[-\] bearsampp

| \[-\] tools

| | \[-\] powershell

| | | \[-\] powershell7.5.4

| | | bearsampp.conf

  • Edit the bearsampp.conf file and replace the key powershellVersion with the correct version.
  • Start bearsampp.

Features

  • Oh My Posh Themes - Beautiful, customizable prompt themes with rich visual indicators
  • PSReadLine - Advanced command-line editing with syntax highlighting
  • Auto-completion - Intelligent command and path completion
  • Command History - Persistent command history across sessions
  • Nerd Font Icons - Rich visual indicators and glyphs

Configuration

Changing Oh My Posh Theme

Edit the PowerShell profile (Microsoft.PowerShell_profile.ps1) and change the theme file:

$ohMyPoshTheme = Join-Path $env:POSH_ROOT "themes\\YOUR_THEME.omp.json"

Available themes are in vendor/oh-my-posh/themes/. Popular themes include:

  • paradox (default) - Clean and informative
  • agnoster - Classic powerline theme
  • powerlevel10k_rainbow - Colorful and feature-rich
  • atomic - Minimalist design

Browse all themes at ohmyposh.dev/docs/themes

Building from Source

To build the PowerShell module from source:

Prerequisites

  • Java JDK 8 or later
  • Gradle 8.0+
  • 7-Zip (for .7z format)
  • Git

Build Commands

# Clone the repository
git clone https://github.com/bearsampp/module-powershell.git
cd module-powershell

# Verify build environment
gradle verify

# Build a specific version
gradle release -PbundleVersion=7.5.4

# Build all available versions
gradle releaseAll

# List available versions
gradle listVersions

Documentation

Releases

  •  : Latest
  •  : Beta
  • : Archive/EOL
  • : Security release

View all releases

Our Supporters

Sorry, this website uses features that your browser doesn't support. Upgrade to a newer version of Firefox, Chrome, Safari, or Edge and you'll be all set.