Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scalaenv/scalaenv
Groom your app's Scala environment with scalaenv like rbenv :). Support offered for all official versions, including dotty and scala3!
https://github.com/scalaenv/scalaenv
dotty homebrew homebrew-formula scala scala-environment scala3
Last synced: about 7 hours ago
JSON representation
Groom your app's Scala environment with scalaenv like rbenv :). Support offered for all official versions, including dotty and scala3!
- Host: GitHub
- URL: https://github.com/scalaenv/scalaenv
- Owner: scalaenv
- License: mit
- Created: 2014-01-26T05:59:31.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T17:36:47.000Z (5 months ago)
- Last Synced: 2024-10-28T12:10:55.155Z (22 days ago)
- Topics: dotty, homebrew, homebrew-formula, scala, scala-environment, scala3
- Language: Shell
- Homepage:
- Size: 220 KB
- Stars: 124
- Watchers: 9
- Forks: 24
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
scalaenv
====[![Build Status](https://travis-ci.org/scalaenv/scalaenv.svg?branch=master)](https://travis-ci.org/scalaenv/scalaenv)
[![All Contributors](https://img.shields.io/badge/all_contributors-22-orange.svg?style=flat-square)](#contributors-)
Groom your app's Scala environment with scalaenv like [rbenv](https://github.com/sstephenson/rbenv) :)
Support offered for all official versions, including **dotty** and **scala3**.Do you need [**sbt**](http://www.scala-sbt.org) version management?
Please refer to [**sbtenv**](https://github.com/sbtenv/sbtenv) in the case of use **sbt**.### Installation
#### Basic GitHub Checkout
1. `git clone` scalaenv into `~/.scalaenv`.
~~~ sh
$ git clone git://github.com/scalaenv/scalaenv.git ~/.scalaenv
~~~2. Add `~/.scalaenv/bin` to your `$PATH` for access to the `scalaenv` command.
~~~ sh
$ echo 'export PATH="${HOME}/.scalaenv/bin:${PATH}"' >> ~/.zshrc
~~~3. Add `scalaenv init` to your shell to enable shims and autocompletion.
~~~ sh
$ echo 'eval "$(scalaenv init -)"' >> ~/.zshrc
~~~**Bash note**: Modify your `~/.bash_profile` file instead of `~/.zshrc`.
4. Restart your shell so that PATH changes take effect. (Opening a new
terminal tab will usually do it.) Now check if scalaenv was set up:~~~ sh
$ type scalaenv
#=> "scalaenv is a shell function"
~~~*Same as in previous step, use `~/.bash_profile` for Bash.*
5. Install each version of scala.
~~~ sh
$ scalaenv install scala-2.13.4
~~~If show all available version, please use the following command:
~~~ sh
$ scalaenv install -l
All available versions:
scala-2.13.1
scala-2.13.2
scala-2.13.3
scala-2.13.4
...
~~~If want to install manually, please download scala archive and extract into `~/.scalaenv/versions/`.
~~~ sh
$ curl -LO http://www.scala-lang.org/files/archive/scala-2.13.4.tgz
$ tar xf scala-2.13.4.tgz -C ~/.scalaenv/versions/
~~~#### Homebrew on macOS
As an alternative to installation via GitHub checkout, you can install scalaenv using the [Homebrew package manager](http://brew.sh) on macOS.
~~~ sh
$ brew update
$ brew install scalaenv
~~~Or, if you would like to install the latest development release:
~~~sh
$ brew install --HEAD scalaenv
~~~To upgrade HEAD package use `--fetch-HEAD` option:
~~~sh
$ brew upgrade --fetch-HEAD scalaenv
~~~### Version History
**0.1.15** (June, 5, 2024)
- Added missing versions
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.14...version/0.1.15)**0.1.14** (May, 29, 2021)
- Added version **2.12.14**
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.13...version/0.1.14)**0.1.13** (May, 17, 2021)
- Added version **2.13.6**
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.12...version/0.1.13)**0.1.12** (May, 13, 2021)
- Added version **3.0.0**
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.11...version/0.1.12)**0.1.11** (Apr, 27, 2021)
- Added version **3.0.0-RC3**
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.10...version/0.1.11)**0.1.10** (Apr, 1, 2021)
- Added version **3.0.0-RC2**
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.9...version/0.1.10)**0.1.9** (Feb, 23, 2021)
- Added version **2.13.5** and **3.0.0-RC1**
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.8...version/0.1.9)**0.1.8** (Feb, 12, 2021)
- Fix urls for 2.7.0 and 2.7.1
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.7...version/0.1.8)**0.1.7** (Feb, 2, 2021)
- Added version **2.10.0**
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.6...version/0.1.7)**0.1.6** (Jan, 24, 2021)
- Added version **2.12.13**
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.5...version/0.1.6)**0.1.5** (Jan, 6, 2021)
- Added many new archives, including dotty and scala3
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.4...version/0.1.5)**0.1.4** (June, 18, 2019)
- Added new archive (**2.13.0**)
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.3...version/0.1.4)**0.1.3** (Mar, 26, 2019)
- Added new archives (**2.12.7**, **2.12.8**, **2.13.0-RC1**)
- Fix the bug in `scalaenv install -l`
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.2...version/0.1.3)**0.1.2** (Sep, 10, 2018)
- fix `scalaenv install -l`
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.1...version/0.1.2)**0.1.1** (Sep 9, 2018)
- Fix #59
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.1.0...version/0.1.1)**0.1.0** (Nov 12, 2017)
- Added `scala-2.10.7` and `scala-2.11.12`
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.0.16...version/0.1.0)**0.0.16** (Oct 21, 2017)
- Added `scala-2.12.4`
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.0.15...version/0.0.16)**0.0.15** (Aug 17, 2017)
- Implemented `scalaenv uninstall`
- Enhanced `scalaenv install`
- Added usage for `scalaenv install`
- Added completions for `scalaenv install`
- etc...
- Added new scala archives (**2.12.3** and **2.13.0-M2**)
- [diff](https://github.com/scalaenv/scalaenv/compare/version/0.0.14...version/0.0.15)**0.0.14** (Jul 28, 2017)
* Added **dotty-0.2.0-RC1**
* Supported for fish shell :tada:
* https://github.com/scalaenv/scalaenv/pull/44**0.0.13** (Jun 25, 2017)
* dotty support :tada:
~~~sh
scalaenv install dotty-0.1.2-RC1
scalaenv global dotty-0.1.2-RC1-bin-SNAPSHOT
scalaenv rehash
dotr
~~~**0.0.12** (Apr 24, 2017)
* Added **Scala 2.11.9** - **Scala 2.11.11** , **Scala 2.12.2** - **Scala 2.13.0-M1**.
Thanks to @Kaioru..**0.0.11** (Feb 03, 2017)
* Added **Scala 2.12.1**.
Thanks to @3tty0n.**0.0.10** (Dec 05, 2016)
* Added **Scala 2.11.8**, **Scala 2.12.0-M4** - **2.12.0**.
Thanks to @odd, @3tty0n**0.0.9** (Jan 06, 2016)
* Added **Scala 2.12.0-M3** and more Scala 2.10 versions.
Thanks to @joprice**0.0.8** (Aug 25, 2015)
* Added **Scala 2.11.5** - **Scala 2.11.7**, **Scala 2.12.0-M1** - **2.12.0-M2**
Many thanks to @alexanderscott, @tdstein, @rwinzhang**0.0.7** (Nov 19, 2014)
* Added recipes for **Scala 2.11.1** - **Scala 2.11.4** by @zaneli
* Fixed a bug when run `versions` subcommand.**0.0.6** (Apr 18, 2014)
* Added recipes for **Scala 2.11.0** to *scala-install* built-in plugin.
**0.0.5** (Apr 16, 2014)
* Added recipes for **Scala 2.10.4** and **Scala 2.11.0-RCx** to *scala-install* built-in plugin.
* Added recipes for *old versions* to *scala-install* built-in plugin.**0.0.4** (Mar 25, 2014)
* Improved installation instruction by *scala-install* built-in plugin.
**0.0.3** (Mar 14, 2014)
* Added [Travis CI](https://travis-ci.org) status badge on README.
* Fixed a bug when run `rehash` subcommand.
* Fixed version string.**0.0.2** (Mar 04, 2014)
* Added completions for `Z shell` and `Bash`.
**0.0.1** (Jan 28, 2014)
* Initial public release.
## Contributors β¨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Matsuki, Hidenori
π§ π»
Yusuke Izawa
π§ π»
Shunsuke Otani
π§ π»
Bogdan-Eugen Mihai
π§ π»
Alex Ehrnschwender
π»
Taylor Steinberg
π»
Erwin Zhang
π»
Joseph Price
π»
Taichiro Yoshida
π»
Odd MΓΆller
π»
Michael Ledin
π»
Paolo G. Giarrusso
π»
Keith
π»
Anderson Mesquita
π»
Ι―ΜΉtΝ‘ΙΚ²i
π»
Shinichi TAMURA
π»
matsu-chara
π»
Alexander Ronald Altman
π»
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!