solc-select icon indicating copy to clipboard operation
solc-select copied to clipboard

Accept `latest` as an argument for `install` and `use`

Open ardislu opened this issue 3 years ago • 1 comments

Currently, solc-select install only accepts a specific version number or the word all. solc-select use only accepts a specific version.

It would be convenient if these commands accepted latest as an alias for the latest version of Solidity. For example (assuming 0.8.17 is the latest version of Solidity):

$ solc-select install latest
Installing '0.8.17'...
Version '0.8.17' installed.

And:

$ solc-select use latest
Switched global version to 0.8.17

ardislu avatar Dec 13 '22 03:12 ardislu

I am also looking for this feature, as I am implementing this in a CI job that needs to check that the contracts compile to multiple versions including the latest one.

CJ42 avatar Jan 05 '23 14:01 CJ42

I'll close this issue as this feature got released in v1.0.4

elopez avatar Dec 31 '24 10:12 elopez