Replies: 1 comment 12 replies
-
chmod +x cliBootstrapped-1.2.2.jar
./cliBootstrapped-1.2.2.jar
# Welcome to Scala 3.4.1 (17, Java OpenJDK 64-Bit Server VM).
# Type in expressions for evaluation. Or try :help.
#
# scala> the scala-cli -e 'println("Hello from offline mode")' --offline --server=false --power
# The `--offline` option is experimental
# Please bear in mind that non-ideal user experience should be expected.
# If you encounter any bugs or have feedback to share, make sure to reach out to the maintenance team at https://github.com/VirtusLab/scala-cli
# Hello from offline mode What you will need, however, is prefilling your Docs on Alternatively prefilling your local In case of problems, let me know what doesn't work. |
Beta Was this translation helpful? Give feedback.
-
I need to install scala-cli on a Linux RHEL machine without internet.
I have downloaded
cliBootstrapped-1.2.2.jar
and moved it to that machine - but I don't have Coursier on that system.On that machine I have Java (versions 8 and 17) and Scala (version 3.3.1) installed. Is this enough to run scala-cli? A simple
java -jar cliBootstrapped-1.2.2.jar
doesn't seem to return. (It might try to download something.)How can I use
cliBootstrapped-1.2.2.jar
to run/install scala-cli?Beta Was this translation helpful? Give feedback.
All reactions