Skip to content

Conversation

@cary929
Copy link

@cary929 cary929 commented Nov 18, 2024

In some regions (like China), using curl to download files can be very slow and often interrupted. To solve this issue, you can pre-download the files locally and then use the following method. For example, to install the ant library, the default command is:

sdk install ant 1.9.7 [folder]

Set the parameter [folder] to the string "local" to enable local file installation. The actual command becomes:

sdk install ant 1.9.7 local
  • a GitHub Issue was opened for this feature / bug.
  • test coverage was added (Cucumber or Spock as appropriate).

Fixes #XXX

In some regions (like China), using curl to download files can be very slow and often interrupted. To solve this issue, you can pre-download the files locally and then use the following method. For example, to install the ant library, the default command is:

```
sdk install ant 1.9.7 [folder]
```

Set the parameter `[folder]` to the string "local" to enable local file installation. The actual command becomes:

```
sdk install ant 1.9.7 local
```
@helpermethod
Copy link
Member

Hi @cary929,

this is already possible

https://sdkman.io/usage#install-local-versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants