88 88
88 "" ,d
88 88
8b,dPPYba, ,adPPYYba, 8b,dPPYba, ,adPPYba, 88 ,d8 88 MM88MMM
88P' `"8a "" `Y8 88P' `"8a a8" "8a 88 ,a8" 88 88
88 88 ,adPPPPP88 88 88 8b d8 8888[ 88 88
88 88 88, ,88 88 88 "8a, ,a8" 88`"Yba, 88 88,
88 88 `"8bbdP"Y8 88 88 `"YbbdP"' 88 `Y8a 88 "Y888
- β‘ A lightweight, fast, and efficient cross-platform development setup for Linux (x86/arm), OSX
- β¨ No sudo required - Everything installs to
$HOME/.pixi, completely user-local - πͺ Pixi as a shell tool manager - Keep your tools up-to-date by declarative management
- π¦ dotter as a simple dotfile manager that links / unlinks dotfiles in nanokit
- π zsh π© sheldon π starship - Modern shell experience with plugin management
Install pixi following the official installation guide:
curl -fsSL https://pixi.sh/install.sh | shIf your system doesn't have curl, you can use wget:
wget -qO- https://pixi.sh/install.sh | shWarning
Now restart your terminal or shell to make the installation effective.
Install GitHub CLI (recommended) or git:
pixi global install gh
# or
pixi global install gitUsing π git:
git clone https://github.com/denkiwakame/nanokit.git
cd nanokitUsing gh (recommended - includes SSH key setup):
gh auth login
# Where do you use GitHub? β GitHub.com
# What is your preferred protocol? β SSH
# Generate a new SSH key? β Yes
# How would you like to authenticate? β Login with a web browsergh repo clone denkiwakame/nanokit
cd nanokitUsing π git:
git clone https://github.com/denkiwakame/nanokit.git
cd nanokit./nanokit installThat's all you need to get started!
Caution
nanokit configures zsh as the default shell for the terminal emulator (e.g. tmux) and use it only for interactive sessions.
We recommend using a system-managed shell such as /usr/bin/zsh (or /bin/bash)
as the login shell.
Pixi installs zsh in a user-space environment and locks it together with its runtime
dependencies (e.g. ncurses, libgcc; see pixi global tree --environment zsh).
If this environment fails, using it as a login shell can prevent system login (e.g. via SSH or WSL). https://tim.siosm.fr/blog/2023/12/22/dont-change-defaut-login-shell/
If you prefer more control over the installation process or are setting up on an existing machine with custom configurations
pixi global install dotter-rsCheck what will be symlinked (dry run):
dotter -d # dry run: confirm what happensDeploy the symlinks:
dotter deployInstall all necessary tools defined in the global configuration:
pixi global syncLaunch zsh shell or tmux:
zshtmuxEverything is setup automatically via π© sheldon.
dotter undeploy -d
dotter undeploy
touch ~/.pixi/manifests/pixi-global.toml
pixi global syncFor local terminals, installing fonts is recommended. Fonts will be installed to $HOME/.local/fonts.
| π§ Linux | π Mac OS | πͺ Windows Terminal |
|---|---|---|
./setup_fonts.sh |
brew tap homebrew/cask-fonts brew install --cask font-hack-nerd-font |
choco install nerd-fonts-hackNote: Requires administrator privileges |
See Starship Presets for more customization options.
The following tools are available through pixi-global.toml:
| Tool | Description | Exposed Command | GitHub | |
|---|---|---|---|---|
| π | git | Version control system | git, git-cvsserver, git-receive-pack, git-shell, git-upload-archive, git-upload-pack, gitk, scalar |
git/git |
| gh | GitHub CLI | gh |
cli/cli | |
| π | git-lfs | Version control system | git-lfs |
git/git |
| π | tig | TUI client for Git | tig |
jonas/tig |
| π | zsh | Z shell | zsh, zsh-5.9 |
zsh-users/zsh |
| π© | sheldon | Fast and configurable shell plugin manager | sheldon |
rossmacarthur/sheldon |
| π | starship | Minimal, beautifl prompt for any shell | starship |
starship/starship |
| π¦ | dotter-rs | Dotfile manager | dotter |
SuperCuber/dotter |
| π | sshs | TUI client for ssh | sshs |
quantumsheep/sshs |
| π | htop | Interactive process viewer | htop |
htop-dev/htop |
| π | bottom | System monitor | btm |
ClementTsang/bottom |
| π | fzf | Fuzzy finder | fzf |
junegunn/fzf |
| π | tree | Directory tree display | tree |
Old-Man-Programmer/tree |
| π | go-ghq | Git repository manager | ghq |
x-motemen/ghq |
| π² | gwq | Git worktree manager | gwq |
d-kuro/gwq |
| π | zoxide | Smart directory jumper | zoxide |
ajeetdsouza/zoxide |
| π οΈ | make | Build automation tool | make |
mirror/make |
| π | xsel | X11 clipboard manipulation | xsel |
kfish/xsel |
| ποΈ | pueue | Local job queue manager | pueue, pueued |
Nukesor/pueue |
| πͺ | tmux | Terminal multiplexer | tmux |
tmux/tmux |
| π½ | dua-cli | Disk usage analyzer | dua |
Byron/dua-cli |
| π½ | diskonaut | Disk space navigator | diskonaut |
imsnif/diskonaut |
| π¦ | bat | Better cat with syntax highlighting | bat |
sharkdp/bat |
| π | lsdeluxe | Modern ls replacement | lsd |
lsd-rs/lsd |
| βοΈ | nodejs | Node.js runtime | node, npm, npx |
nodejs/node |
| βοΈ | jq | Command-line JSON processor | jq |
jqlang/jq |
| π | xh | Friendly and fast tool for sending HTTP requests | xh |
ducaale/xh |
| βοΈ | rclone | rsync for cloud storage | rclone |
rclone/rclone |
| βοΈ | aws | CLI for AWS | aws aws_completer |
aws/aws-cli |
| π | neovim | Neovim with Node.js, Lua, Python support | nvim |
neovim/neovim |
| π | helix | A post-modern modal text editor | hx |
helix-editor/helix |
Add your favorite tools with:
pixi search <package-name>
pixi global install <package-name> # e.g. pixi global install python=3.13This will automatically update the pixi-global.toml configuration.
pixi global updateautomatically upgrade all tools except for version-pinned packages.
see Pixi Global: Declarative Tool Installation for details.
Customize your prompt by editing starship.toml. See Starship Themes.
For detailed configuration options, see the Starship documentation.
Manage plugins by editing zshrc and sheldon.toml.
For more plugin management options, see the Sheldon documentation.
Manage symlinks for dotfiles by editing .dotter/global.toml.
For detailed configuration options, see the dotter documentation.
The combination of ghq and zoxide creates a magical workflow for repository management:
ghq provides a clean way to organize remote repository clones. When you run:
ghq get {repo-url}It automatically clones the repository to a well-structured directory hierarchy under ~/ghq, regardless of your current location. For example:
ghq get https://github.com/user/project
# Creates: ~/ghq/github.com/user/projectOnce you cd into any directory, zoxide remembers that location. You can then use:
zi # Interactive fuzzy finder for visited directories
z <partial-name> # Jump to directory matching the patternNo more cd ../../../project - just zi and you're there! π―
gwq is to branches what ghq is to repositories β a structured, ghq-style manager for git worktree. Instead of juggling git worktree add ../some-path by hand, gwq lays worktrees out under $GHQ_ROOT using the naming template configured in gwq.toml:
$GHQ_ROOT/github.com/{owner}/{repo}.{branch}
Common commands:
gwq add <branch> # create a worktree for <branch> (auto-cd into it)
gwq list # list avaialable worktrees
gwq remove # prune a worktreeWith auto_cd_on_add = true (already set in gwq.toml) and the shell integration sourced in zshrc (source <(gwq completion zsh)), gwq add drops you straight inside the new worktree, π zoxide quietly memorizes the path along the way. So next time, just zi and you're back in the worktree you wanted. π―
The tmux configuration uses Ctrl+a as the prefix key (instead of the default Ctrl+b). Here are the essential key bindings:
| Key Binding | Description |
|---|---|
Ctrl+a then ? |
Show help and all key bindings |
Ctrl+a then r |
Reload tmux configuration |
| Key Binding | Description |
|---|---|
Ctrl+a then c |
Create new window (in current directory) |
Ctrl+a then w |
Choose window from list |
Ctrl+a then n |
Next window |
Ctrl+a then p |
Previous window |
| Key Binding | Description |
|---|---|
Ctrl+a then - |
Split window horizontally |
Ctrl+a then | |
Split window vertically |
Ctrl+a then h |
Move to left pane |
Ctrl+a then j |
Move to bottom pane |
Ctrl+a then k |
Move to top pane |
Ctrl+a then l |
Move to right pane |
| Key Binding | Description |
|---|---|
Ctrl+a then [ |
Enter copy mode |
v |
Start selection (in copy mode) |
y |
Copy selection (in copy mode) |
q |
Exit copy mode |
π‘ Tip: All panes and windows are created in the current working directory for better workflow.
Basic commands to get started:
vi- Launch Neovim:q- Quit Neovim:checkhealth- Check Neovim configuration:Lazy- Plugin manager interfaceCtrl+P- Fuzzy file finder
To reduce the risk of installing recently-published (and potentially compromised) packages, nanokit ships release-age cooldown configs for npm and uv, managed by dotter.
A 7-day cooldown blocks the majority of real-world supply chain incidents, since compromised packages are typically caught and pulled within hours or days. See Package Managers Need to Cool Down and Dependency Cooldowns.
| Tool | Config file | Setting | Min version |
|---|---|---|---|
| npm | npmrc β $HOME/.npmrc |
min-release-age=7 (days) |
npm v11.10.0+ |
| uv | uv.toml β $HOME/.config/uv/uv.toml |
exclude-newer = "7 days" |
uv 0.11.2+ |
Pixi's exclude-newer is currently workspace-only β it is not available in user-level ~/.pixi/config.toml (config reference). Add it manually to each project's pixi.toml | pyproject.toml:
[workspace]
exclude-newer = "7d" # requires pixi v0.67.0+This applies to both conda and PyPI packages within that workspace. For pixi global (i.e. pixi-global.toml), cooldown is not yet supported upstream.
Want to test nanokit without affecting your current setup? Create a temporary user:
sudo adduser nanokit
su - nanokit
# Try nanokit setup hereCleanup test user:
sudo userdel -r nanokit # Remove user and home directory