The Nihongo Yet Another GOing Shell
July 8, 2026 · View on GitHub
The Nihongo Yet Another GOing Shell
<English> / <Japanese>
NYAGOS - Nihongo Yet Another GOing Shell is a versatile command-line shell that blends bash-like command-line editing with seamless integration of Windows file system paths and batch files. It offers extensive customization through the Lua scripting language and supports modern predictive input features.

Key Features
UNIX-Like Shell Behavior
- Keybindings
- By default, keybindings are similar to Bash.
- Customizable via Lua scripts in
%USERPROFILE%\.nyagos.nyagos.key.c_u = "KILL_WHOLE_LINE" - Lua functions can be bound to keys:
nyagos.key.f1 = function(this) nyagos.exec("start vim.exe") end
- History and Aliases
- Supports
Ctrl-Phistory search and!-stylecommand recall. - Alias system similar to DOSKEY:
nyagos.alias["g++"] = "g++.exe -std=gnu++17 $*" - Lua-powered aliases:
nyagos.alias["lala"] = function(args) nyagos.exec("ls", "-al", unpack(args)) end
- Supports
- Custom Command Completion (Bash-Style Tab Completion)
- Allows defining completions for specific commands.
nyagos.complete_for["go"] = function(args) if #args == 2 then return { "bug", "doc", "fmt", "install", "run", "version", "build", "env", "generate", "list", "test", "vet", "clean", "fix", "get", "mod", "tool" } else return nil -- file completion end end
- Allows defining completions for specific commands.
- Predictive Completion (PowerShell 7-Like)
- Suggests completions based on command history.
- Predictions can be accepted using
Ctrl-For the right arrow key.
Windows Compatibility
- Seamless Batch File Execution
- Runs Windows batch files (
.batand.cmd) as if executed directly in CMD.exe. - Captures environment variable changes and directory switches made within batch files.
- Runs Windows batch files (
- CMD.EXE-Like Features
- Supports Windows path formats (
C:\path\to\file). - Maintains a separate current directory for each drive.
- Includes built-in equivalents for common DOS commands (
copy,move, etc.). - No additional DLLs required, and no registry modifications.
- Supports Windows path formats (
Enhanced User Experience
- Colorized Command-Line Interface
- Unicode Support
- Full compatibility with Windows Unicode APIs.
- Supports pasting and editing of Unicode characters.
- Special Unicode literals:
%U+XXXX%and$Uxxxxfor prompts.
- Built-in
lsCommand- Supports colorized output (
-ooption). - Displays hard links, symbolic links, and junction targets.
- Supports colorized output (
- Support SKK (Simple Kana Kanji conversion program) - Setup Guide
Supported Platforms
- Windows 7, 8.1, 10, 11, Windows Server 2008 or later
- Linux (experimental)
Install
Download Binary
Download the latest stable release from:
Use "Scoop installer"
C:> scoop install nyagos
Use "Chocolatey installer"
C:> choco install nyagos
Build from source (snapshot)
If you want to try the latest snapshot version, you can install it via go install:
C:> go install github.com/nyaosorg/nyagos@latest
⚠️ Note: This builds a development snapshot, not the latest stable release.
Contents
Changelog
4.4.x / 4.3.x / 4.2.x / 4.1.x / 4.0.x
Documents
- Install
- Option for NYAGOS
- Editor
- Built-in commands
- What is done on the Startup
- Substitution
- Lua functions extenteded by NYAGOS
- Uninstall
- How To build
- How to setup SKK
License
You can use, copy and modify under the New BSD License.
Contributing
- Bug reports and improvement suggestions are welcome. You may write them in either English or Japanese.
- Please write comments in the code and commit messages in English.
- If a
developbranch exists at the time of your pull request, please target it. Otherwise,masteris fine. - Test code and documentation updates that accompany code changes are appreciated, but not required. They can be added later if necessary.
Acknowledgement
nocd5 / mattn / hattya / shiena / atotto / ironsand / kardianos / malys / pine613 / NSP-0123456 / hokorobi / amuramatsu / spiegel-im-spiegel / rururutan / hogewest / cagechi / Matsuyanagi / Shougo / orthographic-pedant / HABATA Katsuyuki / hisomura / tsuyoshicho / rane-hs / hami-jp / 3bch / AoiMoe / DeaR / gracix / orz-- / zkangaroo / maskedw / tyochiai / masamitsu-murase / hazychill / erw7 / tignear / crile / fushihara / ChiyosukeF / beepcap / tostos5963 / sambatriste / terepanda / Takmg / nu8 / tomato3713 / tGqmJHoJKqgK / juggler999 / zztkm / 8exBCYJi5ATL / ousttrue / kgasawa / HAYASHI-Masayuki / naoyaikeda / emisjerry
Author
- hymkor - HAYAMA Kaoru (a.k.a zetamatta)