2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

sbtインストール

Posted at

#sbtのインストール
scalaの勉強を始めるにあたってまずはビルドツールであるsbtをインストールした。
Mac OSの場合はHonebrewでインストールできた。
$ brew install sbt
バージョン確認は
$ sbt --launcher-version
sbt launcher version 1.0.4
でできた。
$ sbt --versionだと


[info] Loading project definition from /Users/hisashi/sbt/project
[info] Loading settings for project sbt from build.sbt ...
[info] Set current project to sbt (in build file:/Users/hisashi/sbt/)
[error] Expected symbol
[error] Not a valid command: --
[error] Expected 'debug'
[error] Expected 'info'
[error] Expected 'warn'
[error] Expected 'error'
[error] Expected 'addPluginSbtFile'
[error] --version
[error]   ^

というエラーが出る。sbtのバージョンによってコマンドが違うらしい。

$ sbt console
で対話形式で実行できる。
https://dwango.github.io/scala_text/
を読みながら勉強していく。今後つまずいたところとかをまとめていきたい。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?