Quick Install

AsCode is written in Go with support for multiple platforms.

The latest release can be found at GitHub Releases., currently provides pre-built binaries for the following:

  • Linux
  • macOS (Darwin)
  • Windows

Binary (Cross-platform)

Download the appropriate version for your platform from GitHub Releases.. Once downloaded, the binary can be run from anywhere. You don’t need to install it into a global location.

Ideally, you should install it somewhere in your PATH for easy use. /usr/local/bin is the most probable location.

Linux

wget https://github.com/mcuadros/ascode/releases/download/v1.3.0/ascode-v1.3.0-linux-amd64.tar.gz
tar -xvzf ascode-v1.3.0-linux-amd64.tar.gz
mv ascode /usr/local/bin/

macOS (Darwin)

wget https://github.com/mcuadros/ascode/releases/download/v1.3.0/ascode-v1.3.0-darwin-amd64.tar.gz
tar -xvzf ascode-v1.3.0-darwin-amd64.tar.gz
mv ascode /usr/local/bin/

Source

Prerequisite Tools

Clone from GitHub

AsCode uses the Go Modules, so the easiest way to get started is to clone AsCode in a directory outside of the $GOPATH, as in the following example:

git clone https://github.com/mcuadros/ascode.git $HOME/ascode-src
cd $HOME/ascode-src
go install ./...