1
1
mirror of https://github.com/mcuadros/ascode synced 2025-02-18 07:31:33 +01:00
ascode/docs/install/index.html

11 lines
4.5 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="ie=edge"><title>Quick Install - AsCode - Terraform Alternative Syntax</title><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=https://ascode.run/images/favicon.png><link rel=stylesheet href=/css/style.min.df49831c6872564dff31a5f0978a9571f2c8110b513d4b3b1fc8ead41dcdc9f0.css></head><body class="page page-default-single"><div id=main-menu-mobile class=main-menu-mobile><ul><li class=menu-item-home><a href=/><span>Home</span></a></li><li class=menu-item-docs><a href=/docs/><span>Docs</span></a></li><li class=menu-item-github><a href=https://github.com/mcuadros/ascode><span>GitHub</span></a></li></ul></div><div class=wrapper><div class=header><div class=container><div class=logo><a href=https://ascode.run><img alt=Logo src=/images/logo-header.svg></a></div><div class=logo-mobile><a href=https://ascode.run><img alt=Logo src=/images/logo-header.svg></a></div><div id=main-menu class=main-menu><ul><li class=menu-item-home><a href=/><span>Home</span></a></li><li class=menu-item-docs><a href=/docs/><span>Docs</span></a></li><li class=menu-item-github><a href=https://github.com/mcuadros/ascode><span>GitHub</span></a></li></ul></div><button id=toggle-main-menu-mobile class="hamburger hamburger--slider" type=button>
<span class=hamburger-box><span class=hamburger-inner></span></span></button></div></div><div class="main container pt-2 pt-md-6 pb-3 pb-md-6"><div class=row><div class="col-12 col-md-3 mb-3"><div class=sidebar><div class=docs-menu><h4><a href=/docs/>Documentation</a></h4><ul><li><a class=active href=/docs/install/>Quick Install</a></li><li><a href=/docs/getting-started/>Getting Started</a></li><li><a href=/docs/starlark/>Language definition</a></li><li><a href=/docs/reference/>API Reference</a></li><li><a href=/docs/example/>Examples</a></li><li><a href=/docs/github-action/>GitHub Action</a></li><li><a href=/docs/_home/></a></li></ul></div></div></div><div class="col-12 col-md-9"><h1 class=title>Quick Install</h1><div class=content><p>AsCode is written in <a href=https://golang.org/>Go</a> with support for multiple platforms.</p><p>The latest release can be found at <a href=https://github.com/mcuadros/ascode/releases>GitHub Releases.</a>, currently provides pre-built binaries for the following:</p><ul><li>Linux</li><li>macOS (Darwin)</li><li>Windows</li></ul><h2 id=binary-cross-platform>Binary (Cross-platform)</h2><p>Download the appropriate version for your platform from <a href=https://github.com/mcuadros/ascode/releases>GitHub Releases.</a>. Once downloaded, the binary can be run from anywhere. You dont need to install it into a global location.</p><p>Ideally, you should install it somewhere in your PATH for easy use. <code>/usr/local/bin</code> is the most probable location.</p><h3 id=linux>Linux</h3><div class=highlight><pre class=chroma><code class=language-sh data-lang=sh>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/
</code></pre></div><h3 id=macos-darwin>macOS (Darwin)</h3><div class=highlight><pre class=chroma><code class=language-sh data-lang=sh>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/
</code></pre></div><h2 id=source>Source</h2><h3 id=prerequisite-tools>Prerequisite Tools</h3><ul><li><a href=https://git-scm.com/>Git</a></li><li><a href=https://golang.org/>Go</a> (at least Go 1.12)</li></ul><h3 id=clone-from-github>Clone from GitHub</h3><p>AsCode uses the <a href=https://github.com/golang/go/wiki/Modules>Go Modules</a>, so the easiest way to get started is to clone AsCode in a directory outside of the <code>$GOPATH</code>, as in the following example:</p><div class=highlight><pre class=chroma><code class=language-sh data-lang=sh>git clone https://github.com/mcuadros/ascode.git <span class=nv>$HOME</span>/ascode-src
<span class=nb>cd</span> <span class=nv>$HOME</span>/ascode-src
go install ./...
</code></pre></div></div></div></div></div></div></div><div class=sub-footer><div class=container><div class=row><div class=col-12><div class=sub-footer-inner><ul><li><a href=https://github.com/mcuadros/ascod>Documentation version v1.3.0</a></li><li>Template by <a href=https://www.zerostatic.io>Robert Austin</a></li></ul></div></div></div></div><script type=text/javascript src=/js/scripts.min.be6fe1294698d6acd837c5182149cd1a24daae9fa1903ce810c264539d254d62.js></script></body></html>