Title: Getting started with aah framework Desc: It is very easy to start and work with aah framework. Keywords: getting started, aah, aah Go web framework
It is very easy to start and work with aah. Let's make sure you have Go environment ready.
Note: Since v0.12.0
aah requires >= go1.11
.
aah user have multiple ways to install CLI into their system.
Note: Everytime you update Go, you must reinstall aah CLI, using one of the methods below.
macOS, Linux, BSD systems and Windows with Cygwin.
# Installs latest version of aah CLI
$ curl -s https://aahframework.org/install-cli | bash
# OR
$ wget -qO- https://aahframework.org/install-cli | bash
$ git clone -b 'version-number' --single-branch --depth 1 https://github.com/go-aah/tools.git aah-cli
# on *nix systems
$ cd aah-cli/aah && env GO111MODULE=on go install
# on Windows
$ set GO111MODULE=on
$ cd aah-cli/aah
$ go install
Checking aah CLI version. Learn more about aah CLI.
aah --version
Congratulations, you have successfully installed aah CLI and it's ready to use :).
It is very easy to use aah CLI tool. Learn more about aah CLI using aah help
.
# Go to application base directory
aah run
Open up the browser then navigate to address http://localhost:8080 to see aah application in action.
You will see a page like:
![aah first app]({{aah_cdn_host}}/assets/img/docs/aah-first-app-home-page.png)