Skip to content

code: command not found #1929

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
Yegiri opened this issue Jul 30, 2020 · 4 comments
Closed

code: command not found #1929

Yegiri opened this issue Jul 30, 2020 · 4 comments

Comments

@Yegiri
Copy link

Yegiri commented Jul 30, 2020

I can Install 'code' command in PATH
image

Does the code-server have the same thing?

@code-asher
Copy link
Member

Not at the moment. I think the main use of this is to be able to open files from the command line right? We'll need to address #164 first.

@Yegiri
Copy link
Author

Yegiri commented Jul 30, 2020

I want to use the following command to install the extension through the terminal.

code --install-extension ms-python.pyhon

It is work in vscode.

So, do you know how to install extensions through the terminal in code-server.
Or in other words, do you know what command to add to the Dockerfile can pre-install extensions?

@code-asher
Copy link
Member

Ah I see. If you're using our Docker image code-server should already be in your path. Try running this in your terminal:

code-server --install-extension ms-python.pyhon

@Yegiri
Copy link
Author

Yegiri commented Jul 30, 2020

I'll have a try, thank you very much!

@Yegiri Yegiri closed this as completed Jul 31, 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

2 participants