nyagos
詳細情報
| タイトル | nyagos |
|---|---|
| URL | https://nyaos.org/ |
| バージョン | ver 4.4.20_2 |
| 更新日 | 2026/10/16 |
| 追加日 | 2013/08/17 |
| 種別 | フリーソフト |
| 説明 | Windows,DOS,OS/2上の DOS窓/コマンドプロンプト上で動作するコマンドラインシェル。 |
レビュー

NYAGOSはプログラミング言語GOとLuaで書かれたコマンドラインシェル。
WindowsにはUNIXと互換性のあるシェルがいくつか存在するが、そのほとんどは「X: \DIRFILE.EXT」のようなWindowsのPATHスタイルをサポートしていない。NYAOSはそのようなPATHスタイルをサポートしているほか次のような特徴をもっている。
- UNIX風のシェル。キーバインディングや履歴、エイリアス、保管機能など。
- CMD.EXEのようなWindowsのスタイルに従ったシェル。Windowsのパスフォーマットや、DOS風のビルトインコマンド
- カラーコマンドライン。
- ユニコードサポート。
- 組み込みLS。
- SKKサポート。
Windows 7/8.1/10/11に対応している。
スクリーンショット
更新グラフ
バージョン履歴
Changes in 4.4.19_0 (English)
Bug fixes
- Changed type command to require at least one argument, matching CMD.exe behavior. (#489,#490)
(This avoids a race condition where a SIGINT from Ctrl-C could be delayed and incorrectly cancel the subsequent command.)
New Features
- Made input prediction case-insensitive. (go-readline-ny#20, #476 and #477, thanks to @emisjerry)
- Changed the behavior of the Escape key to act as a prefix key instead of clearing input.(#483, #485) This ensures that:
- Escape sequences such as
\x1B[A(arrow keys
- Escape sequences such as
Changes in v4.4.18_1 (English)
Bug fixes
-
Fixed a bug where existing content was not cleared when opening a file with Lua
io.open(..., "w")
(#471, #472 Thanks to @emisjerry)
Internal changes
- Upgraded github.com/nyaosorg/go-box from v2.2.1 to v3.0.0. (#453)
- Replaced deprecated readline.GetKey with go-ttyadapter/tty8 in
nyagos.getkeys. (#454) - Fix: staticcheck: should omit nil check; len() for nil slices is defined as zero (S1009) (#455)
- Removed internal Lua functions
nyagos.resetcharwidthandnyagos.setrunewidth, which used deprecated APIs from go-readline-ny
Changes in v4.4.18_0 in (English)
- Embedded Lua scripts in the top level of
nyagos.d/into the executable- Makes it easy to set up on other environments — just copy nyagos.exe and your .nyagos.
- The scripts on
nyagos.d/are no longer loaded automatically. Use%APPDATA%/NYAOS_ORG/nyagos.dinstead - Scripts under
nyagos.d/catalogare handled as before. If you use them, make sure to copy them as well.
- Enable building Windows/arm64 binary (build only; runtime untested)
- Fixed an issue where candidates were not shown during environment variable name completion
- Update SKK library: go-readline-skk to v0.6.0:
- Enabled conversion and word registration for words containing slashes in the conversion result
- Added support
Changes in v4.4.17_2 (English)
- Fixed an issue where multiple Ctrl-C inputs during command execution could affect subsequent commands.
(#449: Thanks to @fushihara)
Changes in v4.4.17_2 (Japanese)
- コマンド処理中に複数回 Ctrl-C が押下された際、二回目以降が次のコマンド実行時に処理されてしまう問題を修正
(#449: Thanks to @fushihara)
Changes in v4.4.17_1 (English)
- Fixed an issue where, when
%USERPROFILE%wasC:\Users\fooand the current directory wasC:\Users\fool,$Pin%PROMPT%was incorrectly replaced with~l. -
Fixed a crash in environment variable name completion when multibyte characters (e.g., Japanese) appeared before the variable name. The bug was caused by misinterpreting the byte offset of the
%sign (which marks the start of the variable) as a character index.- Note: This issue was not introduced by recent changes. It has been confirmed to exist as early as 2019. (Earlier versions have not been tested due to build environment limitations.)
Please share your thoughts and feedback on this
Changes in v4.4.17_0 (English)
- The kill buffer in NYAGOS previously interacted with the OS clipboard by default. This behavior has been changed so that it no longer does so by default. To enable clipboard integration, set
nyagos.option.clipboard = truein~\.nyagos. - Syntax highlighting:
- The highlighted environment variable is now limited to text that starts with a letter and contains only alphanumeric characters.
- The highlighted option can now contain
-anywhere, not just at the beginning.
- Added support for customizing the color of input prediction.
- e.g.,
nyagos.option.predict_color = "\027[0;31;1m"(red). - Rest
- e.g.,
The dicscussion for this release is #443
Changes on 4.4.16_0
Removed features and Deprecations
- Remove
nyagos.d/catalog/neco.lua - Remove Lua function:
nyagos.msgbox - Remove the feature to define
grepas an alias offindstr.exewhengrep.exedoes not exist. It was the undocumented feature.
New features
Readline
- PowerShell 7-style input prediction
- When one or more characters are typed, the most recent entry in the history that starts with the typed characters is displayed inline (in blue it
- (#442) Move back
aliasandset.luatonyagos.d/and enable to use the Lua codes likeset "ENV=VALUE"andalias "NAME=DEFINE". In 4.4.15_0, it was put onnyagos.d/catalog/andrequire "aliasandset"was neccessary to use (Thx @naoyaikeda) - Fix: the day of the week part of
%DATE%was incorrect (%DATE%was expected like2024/04/19 金in Japan, but2024/04/19 1919) - Fix the runtime error when
this:replacefrom(0,...)is called in the key-handling lua-function. Instead, it returns {nil,error-message}
-- On 4.4.15, typing C-I causes crash of nyagos. nyagos.key["C-I"] =
