Confirmed Goby runs on Mac OS and Linux for now. Try Goby on Windows and let us know the result.
Via Homebrew (binary installation for Mac OS)
Note: Please check the latest release before installing Goby via Homebrew
brew tap goby-lang/goby brew install goby
In the case,
$GOBY_ROOT is automatically configured.
Try this if you'd like to contribute Goby! Skip 1 if you already have Golang in your environment.
- Prepare Golang environment
- Install Golang >= 1.9
- Make sure
$GOPATHin your shell's config file( like .bashrc) is correct
- Add you
go get github.com/goby-lang/goby
- Set the Goby project's exact root path
$GOBY_ROOTmanually, which should be:
Installation on a Linux system
In order to install Go, Goby and PostgreSQL on a Linux system, see the wiki page.
Verifying Goby installation
goby -vto see the version.
goby -ito launch igb REPL.
require "uri"in igb.
FYI: You can just run
brew test goby to check Homebrew installation.
If you have any issue installing Goby, please let us know via Github issues
Goby searches the standard library files (
lib/**/*.gb, in the source tree) by default in the
lib/ subdirectory, relative to the Goby binary (
Language interpreter packages usually have entirely separate paths for the interpreter binary and the standard library files. When packaging Goby, it's possible to use the
$GOBY_LIBPATH environment variable to specify the standard library files search path of the compiled binary.
GOBY_LIBPATH=/usr/lib/goby-0.1.9/lib make build
will compile a binary which will search standard library files in