The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 13:15 UTC
docs: add nixpkgs installation instructions (#26750)
jan committed
Oct 29, 2026 at 02:56 UTC
7b87466731bfe3662fd86689e8754c494567bca8
2 files changed
+40
-7
README.md
+10
@@ -84,6 +84,16 @@ yay -S t3code-nightly-bin
84
85
The AUR packaging is maintained in this repository under [`packaging/aur`](./packaging/aur).
86
87
+#### Nix (nixpkgs)
88
+
89
+```bash
90
+nix profile add github:NixOS/nixpkgs/nixos-unstable#t3code
91
+```
92
+
93
+The package is maintained in [nixpkgs](https://github.com/NixOS/nixpkgs/tree/nixos-unstable/pkgs/by-name/t3/t3code)
94
+and includes the desktop app (`t3code-desktop`) and the `t3` command.
95
+See [Nix installation](./docs/user/install.md#nix-nixpkgs) for NixOS configuration and updates.
96
+
97
## Some notes
98
99
We are very very early in this project. Expect bugs.
docs/user/install.md
+30
-7
@@ -65,18 +65,41 @@ update it with `git pull` and a rebuild.
65
Download a release from [GitHub Releases](https://github.com/pingdotgg/t3code/releases),
66
or use a package manager:
67
68
-| Platform | Install |
69
-| ------------------ | ---------------------------------- |
70
-| Windows | `winget install T3Tools.T3Code` |
71
-| macOS | `brew install --cask t3-code` |
72
-| Debian, Ubuntu | `sudo apt install ./T3-Code-*.deb` |
73
-| Arch Linux | `yay -S t3code-bin` |
74
-| Arch Linux nightly | `yay -S t3code-nightly-bin` |
68
+| Platform | Install |
69
+| ------------------ | ------------------------------------------------------------ |
70
+| Windows | `winget install T3Tools.T3Code` |
71
+| macOS | `brew install --cask t3-code` |
72
+| Debian, Ubuntu | `sudo apt install ./T3-Code-*.deb` |
73
+| Arch Linux | `yay -S t3code-bin` |
74
+| Arch Linux nightly | `yay -S t3code-nightly-bin` |
75
+| Nix | `nix profile add github:NixOS/nixpkgs/nixos-unstable#t3code` |
76
77
The `.deb` updates itself like the other desktop builds. It asks for your
78
password to install each update. If your desktop has no password prompt, the
79
update fails. Download the new `.deb` and install it the same way.
80
81
+### Nix (nixpkgs)
82
+
83
+T3 Code is maintained in [nixpkgs](https://github.com/NixOS/nixpkgs/tree/nixos-unstable/pkgs/by-name/t3/t3code).
84
+The command above installs from `nixos-unstable` and requires Nix 2.30 or later with
85
+`nix-command` and `flakes` enabled. Launch the desktop app with `t3code-desktop`;
86
+the package also includes the `t3` command.
87
+
88
+On NixOS, you can instead add the package to your system configuration, using
89
+a nixpkgs revision that includes `t3code`:
90
+
91
+```nix
92
+environment.systemPackages = [ pkgs.t3code ];
93
+```
94
+
95
+Apply the change with `sudo nixos-rebuild switch`. For Home Manager, add
96
+`pkgs.t3code` to `home.packages` and run `home-manager switch`.
97
+
98
+Update a profile installation with `nix profile upgrade t3code`. For NixOS or
99
+Home Manager, update your configuration's nixpkgs input or channel and rebuild.
100
+Nix manages both the desktop app and the bundled
101
+`t3` command; use Nix to update them instead of the in-app updater or `t3 update`.
102
+
103
### The `t3` command
104
105
The desktop app includes the `t3` command-line tool. To run it from any