Skip to content

sbtenv/sbtenv

Repository files navigation

sbtenv

Build Status

All Contributors

Groom your sbt environment.

Do you need Scala version management?
Please refer to scalaenv in the case of use Scala.

Installation

  1. git clone sbtenv into ~/.sbtenv.

    $ git clone git://github.com/sbtenv/sbtenv.git ~/.sbtenv
  2. Add ~/.sbtenv/bin to your $PATH for access to the sbtenv command.

    $ echo 'export PATH="${HOME}/.sbtenv/bin:${PATH}"' >> ~/.zshrc
  3. Add sbtenv init to your shell to enable shims and autocompletion.

    $ 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:

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

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

  5. Install each version of sbt.

    $ sbtenv install sbt-0.13.1

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

    $ 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/.

    $ 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

0.0.23 (Apr 27, 2021)

  • Added sbt-1.5.1 and latest dotty releases

0.0.22 (Apr 4, 2021)

  • Added sbt-1.5.0 and latest dotty releases

0.0.21 (Mar 22, 2021)

  • Added sbt-1.5.0-RC2

0.0.20 (Mar 16, 2021)

  • Added sbt-1.5.0-RC1

0.0.19 (Mar 11, 2021)

  • Added sbt-1.4.9

0.0.18 (Mar 8, 2021)

  • Added sbt-1.4.8

0.0.17 (Jan 31, 2021)

  • Added sbt-1.4.7

0.0.16 (Jan 5, 2021)

  • Added sbt-1.4.5, sbt-1.4.6 and all dotty releases

0.0.15 (Jul 11, 2018)

0.0.14 (Mar 03, 2018)

  • Added sbt 1.0.0 - sbt 1.1.1
  • Added sbt 0.13.16 - sbt 0.13.17

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 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):


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 specification. Contributions of any kind welcome!