Skip to content

Commit 7d1c3c9

Browse files
Update README.md for windows (#95)
Added instructions to help Windows users install the plugin *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. You must list at least one issue.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* ## Pre-launch Checklist - [ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [ ] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [ ] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [ ] I signed the [CLA]. - [ ] I listed at least one issue that this PR fixes in the description above. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] I added new tests to check the change I am making, or this PR is [test-exempt]. - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#overview [Tree Hygiene]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 2a71e46 commit 7d1c3c9

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,35 @@ gemini extensions update flutter
4040
gemini extensions uninstall flutter
4141
```
4242

43+
**Note for Windows users:** There is currently a [known issue](https://github.com/google-gemini/gemini-cli/issues/10616) with installing extensions on Gemini CLI for Windows. The workaround is as follows:
44+
45+
1. Follow instructions above to attempt to install the plugin (this will fail).
46+
```bash
47+
gemini extensions install https://github.com/gemini-cli-extensions/flutter.git
48+
```
49+
50+
2. In the command line, navigate to the folder in the home user's path where the code was downloaded (USER is the user's username)
51+
```bash
52+
cd %TEMP%
53+
```
54+
55+
3. Locate the folder for the downloaded extension. It will be the latest titled "gemini-extension<hash>" where <hash> is a 6 character string. Change into this directory.
56+
```bash
57+
cd gemini-extension123456
58+
```
59+
60+
4. There should be a zip file in this folder called "win32.flutter.zip". Unpack this file using `tar` (available in modern Windows versions) or by right-clicking it in File Explorer and selecting "Extract All...".
61+
62+
```bash
63+
tar xvf win32.flutter.zip
64+
```
65+
66+
5. Use the path flag to gemini installation
67+
68+
```bash
69+
gemini extensions install --path %TEMP%\gemini-extension123456
70+
```
71+
4372
### 2. Available Commands
4473

4574
The new commands will be available in new Gemini CLI sessions. The following commands will be available (with or without the `flutter:` prefix):

0 commit comments

Comments
 (0)