

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
SCALA VERSION UPDATE
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 VERSION CODE
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 You should see that some of the existing rows have been updated and new rows have been inserted.įor more information on these operations, see Table deletes, updates, and merges.The install command installs Scala applications in theĬonfigured when installing cs ( ~/.local/share/coursier/bin by default on Linux): $ cs install scalafmt forPath ( "/tmp/delta-table" ) // Update every even value by adding 100 to it deltaTable. Import io.delta.tables.* import .functions import DeltaTable deltaTable = DeltaTable.
