Skip to content

Commit a918046

Browse files
authored
Add a note on local windows installation in README (#79)
1 parent fa5d24b commit a918046

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,19 @@ npm install
8888
npm run local-install
8989
```
9090

91-
This will compile and package MongoDB for VS Code into a `.vsix` file and add the extension to your VS Code. If you get an error because the `code` command is not found, you need to install it in your `$PATH`.
91+
This will compile and package MongoDB for VS Code into a `.vsix` file and add the extension to your VS Code.
92+
93+
To install this locally on windows:
94+
```shell
95+
npm install
96+
.\node_modules\.bin\vsce.cmd package
97+
code --install-extension ./mongodb-vscode-*.vsix
98+
```
99+
100+
This will compile and package MongoDB for VS Code into a `.vsix` file and add the extension to your VS Code.
101+
102+
If you get an error because the `code` command is not found, you need to install it in your `$PATH`.
103+
92104
Open VS Code, launch the Commmand Palette (⌘+Shift+P on MacOS, Ctrl+Shift+P on Windows and Linux), type `code` and select "Install code command in \$PATH".
93105

94106
## License

0 commit comments

Comments
 (0)