Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sbtenv/sbtenv

Groom your sbt environment.
https://github.com/sbtenv/sbtenv

homebrew homebrew-formula sbt scala

Last synced: 24 days ago
JSON representation

Groom your sbt environment.

Awesome Lists containing this project

README

        

sbtenv
======

[![Build Status](https://travis-ci.org/sbtenv/sbtenv.svg?branch=master)](https://travis-ci.org/sbtenv/sbtenv)

[![All Contributors](https://img.shields.io/badge/all_contributors-16-orange.svg?style=flat-square)](#contributors-)

Groom your sbt environment.

Do you need [**Scala**](http://www.scala-lang.org) version management?
Please refer to [**scalaenv**](https://github.com/scalaenv/scalaenv) in the case of use **Scala**.

### Installation

1. `git clone` sbtenv into `~/.sbtenv`.

~~~ sh
$ git clone git://github.com/sbtenv/sbtenv.git ~/.sbtenv
~~~

2. Add `~/.sbtenv/bin` to your `$PATH` for access to the `sbtenv` command.

~~~ sh
$ echo 'export PATH="${HOME}/.sbtenv/bin:${PATH}"' >> ~/.zshrc
~~~

3. Add `sbtenv init` to your shell to enable shims and autocompletion.

~~~ sh
$ echo 'eval "$(sbtenv 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 sbtenv was set up:

~~~ sh
$ type sbtenv
#=> "sbtenv is a shell function"
~~~

*Same as in previous step, use `~/.bash_profile` for Bash.*

5. Install each version of sbt.

~~~ sh
$ sbtenv install sbt-0.13.1
~~~

If show all available version, please use the following command:

~~~ sh
$ sbtenv install -l
All available versions:
sbt-0.12.1
sbt-0.12.2
sbt-0.12.3
...
~~~

If want to install manually, please download sbt archive and extract into `~/.sbtenv/versions/`.

~~~ sh
$ curl -LO http://repo.scala-sbt.org/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.13.1/sbt.tgz
$ mkdir -p ~/.sbtenv/versions/sbt-0.13.1
$ tar xf sbt.tgz -C ~/.sbtenv/versions/sbt-0.13.1/
~~~

### Version History

**0.0.24** (May 13, 2021)
- Added *sbt-1.5.2*
- [#83](https://github.com/sbtenv/sbtenv/pull/83)

**0.0.23** (Apr 27, 2021)
- Added *sbt-1.5.1* and latest *dotty* releases
- [#82](https://github.com/sbtenv/sbtenv/pull/82)

**0.0.22** (Apr 4, 2021)
- Added *sbt-1.5.0* and latest *dotty* releases
- [#81](https://github.com/sbtenv/sbtenv/pull/81)

**0.0.21** (Mar 22, 2021)
- Added *sbt-1.5.0-RC2*
- [#80](https://github.com/sbtenv/sbtenv/pull/80)

**0.0.20** (Mar 16, 2021)
- Added *sbt-1.5.0-RC1*
- [#79](https://github.com/sbtenv/sbtenv/pull/79)

**0.0.19** (Mar 11, 2021)
- Added *sbt-1.4.9*
- [#78](https://github.com/sbtenv/sbtenv/pull/78)

**0.0.18** (Mar 8, 2021)
- Added *sbt-1.4.8*
- [#77](https://github.com/sbtenv/sbtenv/pull/77)

**0.0.17** (Jan 31, 2021)
- Added *sbt-1.4.7*
- [#76](https://github.com/sbtenv/sbtenv/pull/76)

**0.0.16** (Jan 5, 2021)
- Added *sbt-1.4.5*, *sbt-1.4.6* and all *dotty* releases
- [#75](https://github.com/sbtenv/sbtenv/pull/75)

**0.0.15** (Jul 11, 2018)

- Support fish shell by [@ikuo-suyama](https://github.com/ikuo-suyama)
- [#37](https://github.com/sbtenv/sbtenv/pull/37)

**0.0.14** (Mar 03, 2018)

- Added *sbt 1.0.0* - *sbt 1.1.1*
- [#31](https://github.com/sbtenv/sbtenv/pull/31), [#32](https://github.com/sbtenv/sbtenv/pull/32), [#33](https://github.com/sbtenv/sbtenv/pull/33), [#35](https://github.com/sbtenv/sbtenv/pull/35)
- Added *sbt 0.13.16* - *sbt 0.13.17*
- [#34](https://github.com/sbtenv/sbtenv/pull/34)

**0.0.13** (Jun 27, 2017)

* Added *sbt 0.13.15*
* Added *sbt 0.13.14*
* Fixed an issue with sbt distributions with non-standard folders ( Thanks @j1mr10rd4n )

**0.0.12** (Dec 26, 2016)

* Added *sbt 0.13.13*

**0.0.11** (Aug 24, 2016)

* Added *sbt 0.13.12*

**0.0.10** (Mar 16, 2016)

* Added *sbt 0.13.11*

**0.0.9** (Aug 25, 2015)

* Added *sbt 0.13.6* - *sbt 0.13.9*
Many thanks to @alexanderscott

**0.0.8** (Aug 06, 2014)

* Added recipe for *sbt 0.13.5* to *sbt-install* built-in plugin.

**0.0.7** (May 24, 2014)

* Improved version management: will apply version, if there is a `build.properties` file.
* Fixed a bug when run `versions` subcommand.

**0.0.6** (Apr 15, 2014)

* Added recipe for *sbt 0.13.2* to *sbt-install* built-in plugin.

**0.0.5** (Mar 25, 2014)

* Improved installation instruction by *sbt-install* built-in plugin.

**0.0.4** (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.3** (Mar 06, 2014)

* Fixed minor bugs.

**0.0.2** (Mar 04, 2014)

* Added completions for `Z shell` and `Bash`.

**0.0.1** (Jan 30, 2014)

* Initial public release.

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Matsuki, Hidenori

🚧 💻

Shunsuke Otani

💻

Alex Ehrnschwender

💻

Tom Regan

💻

sungkmi

💻

Jim Riordan

💻

Jeff Wilde

💻



sawadashota

💻

Steven Swor

💻

T.A

💻

Ikuo Suyama

💻

Ryo Ochiai

💻

Ryo Matsumoto

💻

Kyousuke Abe

💻



TAKAHASHI Osamu

💻

Alexander Ronald Altman

💻

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!