Skip to content
\n

Then, in macOS:

\n
$ code-server --help\ncode-server 4.93.1 69df01185ce2f80e99c9e4f8c8de1907cc7a9bc5 with Code 1.93.1\n\nUsage: code-server [options] [path]\n    - Opening a directory: code-server ./path/to/your/project\n    - Opening a saved workspace: code-server ./path/to/your/project.code-workspace\n\nOptions\n      --auth                             The type of authentication to use. [password, none]\n      --password                         The password for password authentication (can only be passed in via $PASSWORD or the config file).\n      --hashed-password                  The password hashed with argon2 for password authentication (can only be passed in via $HASHED_PASSWORD or the config file).\n                                         Takes precedence over 'password'.\n      --cert                             Path to certificate. A self signed certificate is generated if none is provided.\n      --cert-host                        Hostname to use when generating a self signed certificate.\n      --cert-key                         Path to certificate key when using non-generated cert.\n      --disable-telemetry                Disable telemetry.\n      --disable-update-check             Disable update check. Without this flag, code-server checks every 6 hours against the latest github release and\n                                         then notifies you once every week that a new release is available.\n      --disable-file-downloads           Disable file downloads from Code. This can also be set with CS_DISABLE_FILE_DOWNLOADS set to 'true' or '1'.\n      --disable-file-uploads             Disable file uploads.\n      --disable-workspace-trust          Disable Workspace Trust feature. This switch only affects the current session.\n      --disable-getting-started-override Disable the coder/coder override in the Help: Getting Started page.\n      --disable-proxy                    Disable domain and path proxy routes.\n   -h --help                             Show this output.\n      --locale                           Set vscode display language and language to show on the login page, more info see\n                                         https://en.wikipedia.org/wiki/IETF_language_tag\n      --open                             Open in browser on startup. Does not work remotely.\n      --bind-addr                        Address to bind to in host:port. You can also use $PORT to override the port.\n      --config                           Path to yaml config file. Every flag maps directly to a key in the config file.\n      --socket                           Path to a socket (bind-addr will be ignored).\n      --socket-mode                      File mode of the socket.\n      --trusted-origins                  Disables authenticate origin check for trusted origin. Useful if not able to access reverse proxy configuration.\n   -v --version                          Display version information.\n      --user-data-dir                    Path to the user data directory.\n      --extensions-dir                   Path to the extensions directory.\n      --list-extensions                  List installed VS Code extensions.\n      --force                            Avoid prompts when installing VS Code extensions.\n      --install-extension                Install or update a VS Code extension by id or vsix. The identifier of an extension is `${publisher}.${name}`.\n                                         To install a specific version provide `@${version}`. For example: 'vscode.csharp@1.2.3'.\n      --enable-proposed-api              Enable proposed API features for extensions. Can receive one or more extension IDs to enable individually.\n      --uninstall-extension              Uninstall a VS Code extension by id.\n      --show-versions                    Show VS Code extension versions.\n      --github-auth                      GitHub authentication token (can only be passed in via $GITHUB_TOKEN or the config file).\n      --proxy-domain                     Domain used for proxying ports.\n   -e --ignore-last-opened               Ignore the last opened directory or workspace in favor of an empty window.\n   -n --new-window                       Force to open a new window.\n   -r --reuse-window                     Force to open a file or folder in an already opened window.\n -vvv --verbose                          Enable verbose logging.\n  -an --app-name                         The name to use in branding. Will be shown in titlebar and welcome message\n   -w --welcome-text                     Text to show on login page\n      --abs-proxy-base-path              The base path to prefix to all absproxy requests\n
\n

In Ubuntu:

\n
$ code-server --help\ncode-server 1.93.1\n\nUsage: code-server [options][paths...]\n\nTo read from stdin, append '-' (e.g. 'ps aux | grep code | code-server -')\n\nOptions\n  -d --diff <file> <file>                    Compare two files with each other.\n  -m --merge <path1> <path2> <base> <result> Perform a three-way merge by providing paths for two modified versions of a file, the\n                                             common origin of both modified versions and the output file to save merge results.\n  -a --add <folder>                          Add folder(s) to the last active window.\n  -g --goto <file:line[:character]>          Open a file at the path on the specified line and character position.\n  -n --new-window                            Force to open a new window.\n  -r --reuse-window                          Force to open a file or folder in an already opened window.\n  -w --wait                                  Wait for the files to be closed before returning.\n  -h --help                                  Print usage.\n  -c --stdin-to-clipboard                    copies the STDIN to the clipboard\n\nExtensions Management\n  --list-extensions                   List the installed extensions.\n  --show-versions                     Show versions of installed extensions, when using --list-extensions.\n  --category <category>               Filters installed extensions by provided category, when using --list-extensions.\n  --install-extension <ext-id | path> Installs or updates an extension. The argument is either an extension id or a path to a\n                                      VSIX. The identifier of an extension is '${publisher}.${name}'. Use '--force' argument to\n                                      update to latest version. To install a specific version provide '@${version}'. For example:\n                                      'vscode.csharp@1.2.3'.\n  --uninstall-extension <ext-id>      Uninstalls an extension.\n  --update-extensions                 Update the installed extensions.\n\nTroubleshooting\n  -v --version Print version.\n  --verbose    Print verbose output (implies --wait).\n  -s --status  Print process usage and diagnostics information.\n
","upvoteCount":1,"answerCount":4,"acceptedAnswer":{"@type":"Answer","text":"

Actually:

\n","upvoteCount":1,"url":"https://github.com/coder/code-server/discussions/7050#discussioncomment-11057493"}}}

Why code-server --help so different in macos and unbuntu? #7050

Answered by qupig
qupig asked this question in General
Discussion options

You must be logged in to vote

Replies: 4 comments 58 replies

Comment options

You must be logged in to vote
3 replies
@im-coder-lg
Comment options

@qupig
Comment options

@im-coder-lg
Comment options

Comment options

You must be logged in to vote
10 replies
@qupig
Comment options

@im-coder-lg
Comment options

@qupig
Comment options

@im-coder-lg
Comment options

@im-coder-lg
Comment options

Comment options

@qupig
Comment options

Answer selected by qupig
Comment options

You must be logged in to vote
44 replies
@code-asher
Comment options

@qupig
Comment options

@code-asher
Comment options

@qupig
Comment options

@code-asher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants