Code Monkey home page Code Monkey logo

scalaenv

Build Status

All Contributors

Groom your app's Scala environment with scalaenv like rbenv :) Support offered for all official versions, including dotty and scala3.

Do you need sbt version management? Please refer to sbtenv in the case of use sbt.

Installation

Basic GitHub Checkout

  1. git clone scalaenv into ~/.scalaenv.

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

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

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

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

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

  5. Install each version of scala.

    $ scalaenv install scala-2.13.4

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

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

    $ 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 on macOS.

$ brew update
$ brew install scalaenv

Or, if you would like to install the latest development release:

$ brew install --HEAD scalaenv

To upgrade HEAD package use --fetch-HEAD option:

$ brew upgrade --fetch-HEAD scalaenv

Version History

0.1.14 (May, 29, 2021)

  • Added version 2.12.14
  • diff

0.1.13 (May, 17, 2021)

  • Added version 2.13.6
  • diff

0.1.12 (May, 13, 2021)

  • Added version 3.0.0
  • diff

0.1.11 (Apr, 27, 2021)

  • Added version 3.0.0-RC3
  • diff

0.1.10 (Apr, 1, 2021)

  • Added version 3.0.0-RC2
  • diff

0.1.9 (Feb, 23, 2021)

  • Added version 2.13.5 and 3.0.0-RC1
  • diff

0.1.8 (Feb, 12, 2021)

  • Fix urls for 2.7.0 and 2.7.1
  • diff

0.1.7 (Feb, 2, 2021)

  • Added version 2.10.0
  • diff

0.1.6 (Jan, 24, 2021)

  • Added version 2.12.13
  • diff

0.1.5 (Jan, 6, 2021)

  • Added many new archives, including dotty and scala3
  • diff

0.1.4 (June, 18, 2019)

  • Added new archive (2.13.0)
  • diff

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

0.1.2 (Sep, 10, 2018)

  • fix scalaenv install -l
  • diff

0.1.1 (Sep 9, 2018)

0.1.0 (Nov 12, 2017)

  • Added scala-2.10.7 and scala-2.11.12
  • diff

0.0.16 (Oct 21, 2017)

  • Added scala-2.12.4
  • diff

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

0.0.14 (Jul 28, 2017)

  • Added dotty-0.2.0-RC1
  • Supported for fish shell πŸŽ‰

0.0.13 (Jun 25, 2017)

  • dotty support πŸŽ‰
    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 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):


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

scalaenv's Projects

scalaenv icon scalaenv

Groom your app's Scala environment with scalaenv like rbenv :). Support offered for all official versions, including dotty and scala3!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.