Code Monkey home page Code Monkey logo

scalaenv's Introduction

scalaenv

Build Status

Groom your app's Scala environment with scalaenv like rbenv :)

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.10.3

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

    $ scalaenv install -l
    All available versions:
      scala-2.10.1
      scala-2.10.2
      scala-2.10.3
      ...

    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.10.3.tgz
    $ tar xf scala-2.10.3.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.2 (Seq, 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

0.0.16 (Oct 21, 2017)

  • Added scala-2.12.4

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)

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.

scalaenv's People

Contributors

3tty0n avatar alexanderscott avatar andersonvom avatar blaisorblade avatar c18t avatar dataich avatar joprice avatar kaioru avatar mazgi avatar odd avatar rwinzhang avatar tmshn avatar zaneli avatar

Watchers

 avatar  avatar

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.