Installation directoryĪpplications are installed in OS-specific directories. This is useful if you create your own application descriptors. There also exists a Contrib channel io.get-coursier:apps-contrib, which is not used by default, and can be enabled with -contrib.įor example: $ cs install -contrib proguardīoth of those are defined on GitHub, where you can see the full list of applications that they contain.įeel free to send pull requests to add applications to the Contrib channel.Ĭustom channels can be provided with -channel. It can be disabled with the -default-channels=false option. $ cs list -dir /m圜ustomDirectoryĪpplication descriptors are pulled via "channels": repositories listing available applications and how they must be installed.īy default, coursier uses the Main channel io.get-coursier:apps. However, you can explicitly provide aĭifferent directory with the -dir flag if you have your install directory inĪ custom location. List the applications in your default installationĭirectory. The list command lists all the installed applications. $ cs uninstall amm # ammonite is installed as "amm" List Note also that some applications have a different name when installedĪnd when used and uninstalled: $ cs install ammonite The install command by looking for its metadata in it. Installed by the install command, not files put in the installationĭirectory by other means. Note that the uninstall command only uninstalls applications previously If you need to reinstall it, use the installation instructions again. The above command uninstalls cs itself as well! It also accepts a -all option to uninstall all applicationsįrom the installation directory. Pass it the application names of applications to uninstall, like $ cs uninstall scala scalac The uninstall command uninstalls applications previously installed Update all installed applications at once with $ cs update Update specific applications with cs update, like $ cs update coursier Search for the application you are looking for with cs search: $ cs search fmt $ JAVA_OPTS="-Xmx2g -Dfoo=bar -Dvalue=123" scalaīoth kinds of options can be mixed, like $ JAVA_OPTS="-Xmx2g -Dfoo=bar" scala -J-Dvalue=123 $ scala -J-Xmx2g -J-Dfoo=bar -J-Dvalue=123 by setting the JAVA_OPTS environment variable.by prefixing Java options with -J, and / or.One can pass Java arguments to the installed applications: The list command allows you to view all of your currently installed The uninstall command allows to uninstall it: $ cs uninstall scala Running cs update with no argument updates all the installed applications: $ cs update The update command updates installed applications if newer versions are available: $ cs update scala The search command can help you find the application you are looking for: $ cs search fmt If the installation directory is not already on your PATH, you may add it for the current session with $ eval " $(cs install -env)" # add installation directory in PATH in the current session Scala code runner version 2.12.15 - Copyright 2002-2021, LAMP/EPFL and Lightbend, Inc. This can be used to install a specific version of Scala itself: $ cs install scala:2.12.15 scalac:2.12.15 You may give a specific version number as follows: $ cs install scalafmt:2.4.2 icls format, or a jar created through the File | Manage IDE Settings | Export Settings menu), or an Eclipse color scheme in the XML format.The install command installs Scala applications in theĬonfigured when installing cs ( ~/.local/share/coursier/bin by default on Linux): $ cs install scalafmt Import Scheme: click to import an IntelliJ IDEA color scheme (you can either import a file in an internal. This command is only available for copies or imported schemes, since the predefined schemes cannot be deleted. This command is only available for copies or imported schemes, since the predefined schemes cannot be renamed.ĭelete: click to delete the current scheme. Rename: click to rename the current scheme. Available if a predefined color scheme has been selected and changed.Įxport: click to export the current scheme to a file. Restore Defaults: click to reset the selected color scheme to the initial defaults shipped with IntelliJ IDEA. Press Enter to save the new scheme, or Escape to cancel operation. Select the color scheme to be used in your workspace.Ĭlick this button to invoke the following commands (depending on the selected scheme):ĭuplicate: click to save the currently selected Color settings as a new scheme.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |