|
35 | 35 | - [简体中文](locales/zh-CN/README.md) |
36 | 36 | - [繁體中文](locales/zh-TW/README.md) |
37 | 37 | - ... |
38 | | - </details> |
| 38 | + </details> |
39 | 39 |
|
40 | 40 | --- |
41 | 41 |
|
@@ -66,10 +66,10 @@ Learn more: [Using Modes](https://docs.roocode.com/basic-usage/using-modes) • |
66 | 66 |
|
67 | 67 | <div align="center"> |
68 | 68 |
|
69 | | -| | | | |
70 | | -| :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------: | |
71 | | -| <a href="https://www.youtube.com/watch?v=Mcq3r1EPZ-4"><img src="https://img.youtube.com/vi/Mcq3r1EPZ-4/maxresdefault.jpg" width="100%"></a><br><b>Installing Roo Code</b> | <a href="https://www.youtube.com/watch?v=ZBML8h5cCgo"><img src="https://img.youtube.com/vi/ZBML8h5cCgo/maxresdefault.jpg" width="100%"></a><br><b>Configuring Profiles</b> | <a href="https://www.youtube.com/watch?v=r1bpod1VWhg"><img src="https://img.youtube.com/vi/r1bpod1VWhg/maxresdefault.jpg" width="100%"></a><br><b>Codebase Indexing</b> | |
72 | | -| <a href="https://www.youtube.com/watch?v=iiAv1eKOaxk"><img src="https://img.youtube.com/vi/iiAv1eKOaxk/maxresdefault.jpg" width="100%"></a><br><b>Custom Modes</b> | <a href="https://www.youtube.com/watch?v=Ho30nyY332E"><img src="https://img.youtube.com/vi/Ho30nyY332E/maxresdefault.jpg" width="100%"></a><br><b>Checkpoints</b> | <a href="https://www.youtube.com/watch?v=HmnNSasv7T8"><img src="https://img.youtube.com/vi/HmnNSasv7T8/maxresdefault.jpg" width="100%"></a><br><b>Context Management</b> | |
| 69 | +| | | | |
| 70 | +| :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------: | |
| 71 | +| <a href="https://www.youtube.com/watch?v=Mcq3r1EPZ-4"><img src="https://img.youtube.com/vi/Mcq3r1EPZ-4/maxresdefault.jpg" width="100%"></a><br><b>Installing Roo Code</b> | <a href="https://www.youtube.com/watch?v=ZBML8h5cCgo"><img src="https://img.youtube.com/vi/ZBML8h5cCgo/maxresdefault.jpg" width="100%"></a><br><b>Configuring Profiles</b> | <a href="https://www.youtube.com/watch?v=r1bpod1VWhg"><img src="https://img.youtube.com/vi/r1bpod1VWhg/maxresdefault.jpg" width="100%"></a><br><b>Codebase Indexing</b> | |
| 72 | +| <a href="https://www.youtube.com/watch?v=iiAv1eKOaxk"><img src="https://img.youtube.com/vi/iiAv1eKOaxk/maxresdefault.jpg" width="100%"></a><br><b>Custom Modes</b> | <a href="https://www.youtube.com/watch?v=Ho30nyY332E"><img src="https://img.youtube.com/vi/Ho30nyY332E/maxresdefault.jpg" width="100%"></a><br><b>Checkpoints</b> | <a href="https://www.youtube.com/watch?v=HmnNSasv7T8"><img src="https://img.youtube.com/vi/HmnNSasv7T8/maxresdefault.jpg" width="100%"></a><br><b>Context Management</b> | |
73 | 73 |
|
74 | 74 | </div> |
75 | 75 | <p align="center"> |
@@ -149,6 +149,32 @@ If you prefer to install the VSIX package manually: |
149 | 149 | code --install-extension bin/roo-cline-<version>.vsix |
150 | 150 | ``` |
151 | 151 |
|
| 152 | +### Nix Flake |
| 153 | + |
| 154 | +A `flake.nix` is provided for [Nix](https://nixos.org/) users: |
| 155 | + |
| 156 | +```sh |
| 157 | +nix develop # Enter dev shell with all dependencies |
| 158 | +pnpm install # Install npm packages |
| 159 | +pnpm build # Build the project |
| 160 | +pnpm test # Run tests |
| 161 | +pnpm vsix # Create VSIX package |
| 162 | +``` |
| 163 | + |
| 164 | +To build and install the extension directly: |
| 165 | + |
| 166 | +```sh |
| 167 | +nix build .#vsix && code --install-extension result/*.vsix |
| 168 | +``` |
| 169 | + |
| 170 | +The dev shell provides Node.js 20.x, pnpm, ripgrep, and build tools for native modules. |
| 171 | + |
| 172 | +After updating dependencies, run `nix run .#update-deps` to update `flake.lock` and the pnpm dependency hash. |
| 173 | + |
| 174 | +If flakes aren't enabled, prefix commands with: `nix --extra-experimental-features 'nix-command flakes' <command>` |
| 175 | +
|
| 176 | +> **Note:** Roo Code is also available as a pre-built extension in [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/editors/vscode/extensions/rooveterinaryinc.roo-cline/default.nix) via `vscode-extensions.rooveterinaryinc.roo-cline`. |
| 177 | +
|
152 | 178 | --- |
153 | 179 |
|
154 | 180 | We use [changesets](https://github.com/changesets/changesets) for versioning and publishing. Check our `CHANGELOG.md` for release notes. |
|
0 commit comments