# Build and Test Osmosis Source Code

# Install Go 1.18

Currently, Osmosis uses Go 1.18 to compile the code.

Install Go 1.18 (opens new window) by following instructions there.

Verify the installation by typing go version in your terminal.

$ go version
go version go1.18.1 darwin/amd64
1
2

# Build Osmosis

In order to build Flink you need the source code. Either download the source of a release (opens new window) or clone the git repository (opens new window).

Build Osmosis from the source code:

cd osmosis
make build
1
2

After building, you should see a new executable file osmosis/build/osmosisd.

# Run Tests

Run tests from the source code:

cd osmosis
make test
1
2