Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

cmd-wrapped

> 开发工具
Open source

‍ A CLI Tool for Command Line Insights

1.3K stars0 likes1 views
WebsiteGitHub

About

‍ A CLI Tool for Command Line Insights

cmd-wrapped

&nbsp;

&nbsp;

&nbsp;

A CLI to view your shell history stats, with support for zsh, bash, fish, nushell, and atuin.

Installation

  • Use Cargo
bash
cargo install cmd-wrapped
  • Download from Release

Unzip, chmod and run the binary file in the terminal.

  • Archlinux
bash
yay -S cmd-wrapped
  • Nix❄️
nix
nix run nixpkgs#cmd-wrapped

Usage

bash
# fetch current stats
cmd-wrapped

# fetch annual shell history stats for a specific year
cmd-wrapped 2024

# specify the target shell
cmd-wrapped -s 

Supported options for `` : zsh, bash, fish, nu (nushell), atuin.

[!NOTE]

In some cases, cmd-wrapped may fail to output correct data (such as all outputs being 0). This is because it relies on the timestamp track for each command, which sometimes requires configuring specific options extraly:

  • For Zsh - EXTENDED_HISTORY (oh-my-zsh has it enabled by default)
  • For Bash - HISTTIMEFORMAT (To enable it, run this command: echo 'HISTTIMEFORMAT="%Y/%m/%d %H:%M:%S "' >> ~/.bashrc )
  • For Nushell - Enable SQLite history storage: $env.config.history.file_format = "sqlite"

Commands executed before configuring the option won't be recorded with a timestamp and this will affect cmd-wrapped’s stats.

Credits & License

  • Special thanks to @jyi2ya for the cooool idea!
  • License: MIT

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustatuinbashclicommandline

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具