Skip to content
New issue

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

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

Already on GitHub? # to your account

Code-Server (VSCode) #5581

Closed
alexanderadam opened this issue Jul 23, 2020 · 6 comments
Closed

Code-Server (VSCode) #5581

alexanderadam opened this issue Jul 23, 2020 · 6 comments

Comments

@alexanderadam
Copy link

alexanderadam commented Jul 23, 2020

Link to home page and sources

  1. Home page: https://coder.com/
  2. Source code: https://github.com/cdr/code-server

Additional information

Currently I'm using code-server on Termux within an Ubuntu chroot (the idea came from @AdaRoseCannon's medium post).

What I did was:
Making the Ubuntu chroot (I used the 20.04 branch though). And the following steps within that chroot:

$ wget https://github.com/cdr/code-server/releases/download/3.4.1/code-server-3.4.1-linux-arm64.tar.gz
$ tar -xvf ./code-server-3.4.1-linux-arm64.tar.gz
$ rm ./code-server-3.4.1-linux-arm64.tar.gz
$ mv code-server-3.4.1-linux-arm64 /lib/code-server
$ ln -s /lib/code-server/bin/code-server /bin/code-server
$ apt-get install net-tools # it also works fine without net-tools but it gives some warnings

It works perfectly, but I have to maintain dependencies within the Ubuntu chroot now, too.
So it would be great if it would simply be natively available as a termux package.
The releases contain a packaged node version, too in case that makes any difference.

This is how it looks like:

Screenshot of Code-Server on Samsung DeX / VSCode

@Grimler91
Copy link
Member

You can install it directly in termux with yarn global add code-server, discussed in this issue: #5416.
We generally don't provide packages for things that can be installed through other package managers so I'll close this

@Hax4us
Copy link
Contributor

Hax4us commented Jul 23, 2020

In termux , yarn add code-server

@Hax4us
Copy link
Contributor

Hax4us commented Jul 23, 2020

@Grimler91 oops difference of couple of seconds

@Grimler91
Copy link
Member

@Hax4us ;)

@AdaRoseCannon
Copy link

Nice, didn't know about that here are the official instructions from code-server:

https://github.com/cdr/code-server/blob/master/doc/install.md#yarn-npm

@ppoffice
Copy link

I just created a step-by-step tutorial for installing code-server in Termux. I'm linking it here in case someone needs it:

https://gist.github.com/ppoffice/b9e88c9fd1daf882bc0e7f31221dda01

@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants