How to start code-server with yarn ? #4890
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 --help Try running those commands except the grey ones(comments), you'll be fine! |
Beta Was this translation helpful? Give feedback.
-
My terminal with this commands
oops
i take
the
??
Nice !
terminal
and i open it in firefox
well, it start =) |
Beta Was this translation helpful? Give feedback.
-
Oh, I forgot to mention - the curl adds the sourcing to the .bashrc file so a shell restart like |
Beta Was this translation helpful? Give feedback.
-
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-server
start the server with everything in defaultHow to do a -h ?
how to pass the configuration file?
thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions