mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# cs install
|
|
|
|
> Install an application in the installation directory onfigured when installing `cs` (to enable the binary to be loaded add to your `.bash_profile` the `$ eval "$(cs install --env)"` command).
|
|
> More information: <https://get-coursier.io/docs/cli-install>.
|
|
|
|
- Install a specific application:
|
|
|
|
`cs install {{application_name}}`
|
|
|
|
- Install a specific version of an application:
|
|
|
|
`cs install {{application_name}}:{{application_version}}`
|
|
|
|
- Search an application by a specific name:
|
|
|
|
`cs search {{application_partial_name}}`
|
|
|
|
- Update a specific application if available:
|
|
|
|
`cs update {{application_name}}`
|
|
|
|
- Update all the installed applications:
|
|
|
|
`cs update`
|
|
|
|
- Uninstall a specific application:
|
|
|
|
`cs uninstall {{application_name}}`
|
|
|
|
- List all installed applications:
|
|
|
|
`cs list`
|
|
|
|
- Pass specific Java options to an installed application:
|
|
|
|
`{{application_name}} {{-Jjava_option_name1=value1 -Jjava_option_name2=value2 ...}}`
|