NLEX v0.0.1 alpha • © 2025 Pewrie Bontal

New way to interact with Systems

What is NLEX?

Ever wish you could just tell your computer what to do, like you're just talking to it naturally? Now you can, with NLEX!

NLEX is your intelligent command-line assistant. Developed by Pewrie Bontal and written in Go, it cleverly operates between your terminal and your chosen shell. Its core mission: to translate your plain English instructions into executable shell commands.

To achieve this, NLEX uses an AI model. This allows it to accurately interpret your intent and generate the precise commands for your operating system, letting you interact with your system more intuitively than ever before.

[nlex]: Fetch the latest XKCD comic image, download it, convert it to grayscale, then overlay today's date in the bottom-right corner in red text, and save it as 'todays_xkcd_mod.png'

[comm]: curl -s https://xkcd.com/info.0.json | jq -r '.img' | (read IMG_URL; EXT=$(basename "$IMG_URL" | sed 's/.*\.//'); TEMP_FILE=$(mktemp "/tmp/xkcd_img_XXXXXX.$EXT"); curl -s "$IMG_URL" -o "$TEMP_FILE"; magick "$TEMP_FILE" -colorspace Gray -gravity SouthEast -fill \'\'\'#FF0000\'\'\' -pointsize 20 -annotate +10+10 "$(date +%Y-%m-%d)" todays_xkcd_mod.png; rm "$TEMP_FILE")

[nlex]: Check if it saved

[comm]: ls todays_xkcd_mod.png

todays_xkcd_mod.png

[summ]: Yes, it saved successfully

[nlex]: open it

[comm]: xdg-open todays_xkcd_mod.png

[nlex]: |

The Command Line, Reimagined.

Find Commands Easily

Save time looking up specific syntax. Describe your task in natural language, and let NLEX construct the appropriate command.

Learn Command Line Usage

Helpful for those who don't regularly use the command line and need assistance remembering specific commands.

Understand Your Commands

Get optional explanations for generated commands that clarify their structure and function, useful for learning or verification.

Execute with Confidence:

Review security considerations for commands before execution, promoting more informed and cautious usage.

Context-Aware Suggestions

NLEX can use your command history to provide more relevant follow-up actions and quick access to previous operations.

Your Shell, Your Rules

NLEX works with your preferred shell (Bash, Zsh, PowerShell) and offers settings to tailor its behavior to your needs.

Talk to Your Terminal. Naturally.

Experience a more intuitive way to interact with your command line

Ready to Transform Your Command Line Experience?

NLEX brings the power of natural language processing to your terminal, making complex tasks simple and accessible.

Quick Installation

$ curl -sSL https://nlex.bontal.net/install.sh | bash

After installation, simply type nlex to get started.

By downloading and using NLEX, you agree to our Terms of Service.