- Oh My Posh - Beautiful and customizable prompt themes
- PSReadLine - Advanced command-line editing and history
- Nerd Fonts - Rich icon and glyph support
- Auto-completion - Intelligent command and path completion
- Command History - Persistent command history across sessions
- Syntax Highlighting - Color-coded command syntax
This is a module of the Bearsampp project that provides PowerShell 7+ with enhanced console features including Oh My Posh for beautiful prompt themes, PSReadLine for advanced command-line editing, and Nerd Fonts for rich icon support.
The table shows the modules that are available in each version
| Module | Type | Full | Basic | Lite |
|---|---|---|---|---|
| Apache | Binary | |||
| Composer | Tool | |||
| ConsoleZ - deprecated | Tool | |||
| Cmder - pending | Tool | |||
| Ghostscript | Tool | |||
| Git | Tool | |||
| MailPit | Binary | |||
| MariaDB | Binary | |||
| Memcached | Binary | |||
| MySQL | Binary | |||
| ngrok | Tool | |||
| Node.js | Binary | |||
| Perl | Tool | |||
| PHP | Binary | |||
| phpMyAdmin | Application | |||
| phpPgAdmin | Application | |||
| PostgreSQL | Binary | |||
| Python | Tool | |||
| Ruby | Tool |
Requirements
- Windows 10 or later. ( Might run on Windows 7 but not supported )
- SETX : Open a command prompt and type
setx /?to check. ( Included in windows 10+ as of this date ) - Be a windows Admin user.
- Download and install the latest Bearsampp Prerequisites Package. ( Required )
Download
Download the latest release
View all Bearsampp releases
*See our FAQ for a list of the differences in versions
Modules
Bearsampp offers several versions of the various binaries, applications and tools for download:
Installation
Use a file archiver that supports 7z format like 7zip and extract the archive where you want.
You should not have any white-spaces in the path to Bearsampp as that will cause problems on some modules.
Configuration
Before starting Bearsampp, edit the configuration file Bearsampp.conf :
- lang - Language (see
Bearsampp\core\langsfolder for a complete list). Default :english - timezone - The default timezone used by all date/time functions. Default :
"America/Chicago" - notepad - The editor while opening files. Default :
"notepad.exe" - logsVerbose - Control the log output verbose (0=simple, 1=report, 2=debug, 3=trace). Default :
0 - scriptsTimeout - The default timeout when VBS/Batch are executed. May vary depending on your system. Default :
120
The language, browser & log level can also be changed by right clicking on the
icon and changing them there.
Usage
Launch Bearsampp.exe.
Upgrade
All instructions to upgrade from a previous release are added in the Upgrade notes page.
Contribute
Requirements
OpenJDK
You need OpenJDK ( minimum jdk 11 ) which can be obtained from here
if you use the .zip version of jdk then you will need to extract the archive on your computer (eg. C:\jdk) and add the path to java.exe (eg. C:\jdk\bin) to your environment var PATH.
It's easier to use the .msi installer.
To check if you have Java in your path, open a command prompt and type java -version :
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
When updating versions of Microsoft's JDK it does not remove the older version. You will need to use the Add/remove programs function of windows to remove the pre-existing version.
Gradle
Gradle is an exciting new build system that makes improving builds much easier. See our new video on how to use gradle. Introducing Gradle build system
Configuration
- Fork and clone the module of your choice.
- Clone dev in the parent folder of the module.
- Create a new pull request with your work.
For example :
cd C:\work\
git clone --recursive https://github.com/bearsampp/module-adminer.git
git clone --recursive https://github.com/bearsampp/dev.git
cd module-adminer\
Directory structure example :
[-] dev
| [-] build
| | | build-commons.xml
[-] bearsampp-{bin|app|tool}-{name}
| | build.xml
If you are not familiar with creating a pull request, you can create a new module like this :
- Increment the
build.releasein thebuild.propertiesfile using a YYYY.mm.dd format. Such as 2022.07.24 - If you want you can change the
build.path(defaultC:\bearsampp-build). - Open a command prompt in your module folder and call the Ant target
release:ant release. - Upload your release on a file hosting system like Sendspace.
- Create an issue on Bearsampp repository to integrate your release.