Skip to content

cmd 'code-server --install-exntension xxx.vsix' dosn't work. #2083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spcidealacm opened this issue Sep 11, 2020 · 4 comments
Closed

cmd 'code-server --install-exntension xxx.vsix' dosn't work. #2083

spcidealacm opened this issue Sep 11, 2020 · 4 comments
Milestone

Comments

@spcidealacm
Copy link

image
as you see cannot install extension through the command line. please fix it.

@spcidealacm
Copy link
Author

image
And even put it into the marketplace still cannot work.

@code-asher
Copy link
Member

Sorry about this, we have a bug where installing extensions doesn't work when doing it inside code-server's terminal. Will fix for 3.5.1.

@code-asher code-asher added this to the v3.5.1 milestone Sep 11, 2020
@code-asher
Copy link
Member

code-asher commented Sep 11, 2020

Two workarounds for now are to run the command outside of code-server or to unset the socket environment variable (code-server is trying to use this to open a file in the existing instance):

VSCODE_IPC_HOOK_CLI= code-server --install-extension <id>

@nhooyr
Copy link
Contributor

nhooyr commented Sep 11, 2020

Merged fix into master. Will be fixed in v3.5.1

@nhooyr nhooyr closed this as completed Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants