How to start code-server with yarn ? #4890
Unanswered
Alexis-Fayeulle
asked this question in
General
Replies: 3 comments 1 reply
|
Raspberry Pis use npm or yarn to install code-server. This is how I set it up: # Install node14-lts with `nvm`
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install 14
# Install `yarn` with `npm`
npm i -g yarn
# Install code-server with `yarn`
yarn global add code-server
# Start `code-server`, this works from any directory!
code-server
# version of code-server
code-server --version
# help (manpage?)
code-server --helpTry running those commands except the grey ones(comments), you'll be fine! |
0 replies
|
My terminal with this commands oops i take the ?? Nice !
terminal and i open it in firefox well, it start =) |
1 reply
|
Oh, I forgot to mention - the curl adds the sourcing to the .bashrc file so a shell restart like |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to setup my raspberry with code-server
the installer install yarn version
I have never used yarn and I want to do ./code-server -h
I can't find anything in google
yarn exec code-serverstart the server with everything in defaultHow to do a -h ?
how to pass the configuration file?
thanks for your help
All reactions