English
code-server
code-server is the open source VS Code that runs in a browser. You use it without accepting Microsoft's terms, and you can write code with it on a phone too.
SystemsLinuxWindowsmacOS
EditionsInternationalChina
Sincev0.5.0
Its extensions come from Open VSX, and each account runs one instance. On Windows its card is grey, because code-server has no Windows version. On Windows, you can use VS Code.
Supported systems
| System | Architecture | First Neutrino Hub version |
|---|---|---|
| Linux | amd64, arm64 | 0.5.0 |
| macOS | Apple silicon, Intel | 0.5.0 |
Install
Open the panel in a browser, sign in, and select the system to install on in the lower half of the sidebar. Check that Available accounts lists your account. If it does not, add it first with the steps in Add an account.
In the Module configuration area, select + Add module. In the dialog, select the code-server card, then select Close after the card is highlighted.

1Select + Add module 
2Select code-server 
3Select Close After the dialog closes, select the code-server row in the list on the left, and its tab appears on the right. Select Install.

1Select code-server 
2Select Install The tab lists every step while it downloads an archive and unpacks it, which usually takes less than a minute. When the tab shows installed, select Start.

1Installing 
2Select Start The tab shows running, no accounts. Select Configure, and the settings open under it. Under Enabled accounts, select your account.

1Select Configure 
2Select lab Select Apply code-server. The account shows running, and Applied. appears under it. The install is complete.

1Select Apply code-server 
2Applied
Use
Before you start, add your phone or computer to the hub, as Join the hub describes.
Open the client, go to the Apps page, and find the code-server (lab) row, with the account name in parentheses. Select Use. The row gains a local address, and its buttons become Stop, Configure and Open. Select Open.


The browser opens the editor, with no password to enter. The first open shows a welcome page; select open a folder in it and choose your project folder to start writing code. The menu in the top-left corner has Terminal, which opens this account's terminal.

When you finish, return to the client and select Stop, and the local address closes with it. When the sign-in expires, return to the client and select Open again.
On a phone, the steps are the same: on the Apps page, select Use, then Open.
Share
code-server can generate a link with App share, and the other person opens it in a browser without installing any software.
In the panel sidebar, select Services, find the code-server (lab) row, and select Share.

In the dialog, enter a Name that helps you identify the share; the other person does not see it. The yellow notice under it says that the other person uses this app as this account. Expires defaults to 7 days, and you can choose another option before you select Generate link. Select Copy right away, send the link, then select Done; after the dialog closes, the panel no longer shows the link.

1Enter a name 
2Select Generate link 
3Select Copy
The other person opens the link without signing in, goes straight to the editor described earlier, and uses the same account as you.
Risks and limits
If the other person opens the terminal inside, they can read and write this account's files and run commands. Send the link only to people you trust.
A development server you start in code-server does not appear in the client. To use one, declare it as Add an existing service describes.
Settings
Apart from enabling accounts, the following settings can stay at their defaults:
| Setting | Where | Purpose |
|---|---|---|
| Enabled accounts | Configure on the tab | Each selected account runs one instance |
| Update, Install another version… | Under the tab's state | Change the version; for the steps, see Change the version |
| AI tools use the hub's gateway | Account form in Available accounts | This account's tools use the AI gateway |
| Extensions | Extensions on the left of the editor | Search, then select Install |
Uninstall
On the code-server tab, select Uninstall. The dialog states that each account's settings and extensions stay in its home folder. Select Uninstall to confirm.


If an error appears, see Troubleshooting.
