Run
curl -fsSL "http://srv.klo.dev/update/latest/linux/x86_64?stream=pro:latest" -o klothoAnd then:
sudo chmod +x klothoFinally add Klotho to Path:
PATH=$PATH:~/klothoThis is because I've downloaded Klotho in my root user folder.
Check the documentation: LINK HERE
go run main.gocurl "localhost:3000/hello"
# -> Hello from Klotho!
curl "localhost:3000/hello/your-name"
# -> Hello your-name!If you haven't already login, run the following command:
klotho --loginE.G.
klotho . --app my-first-app --provider aws --outDir _compiledThis will generate /_compiled directory
Open the ./_compiled/my-first-app.png diagram created alongside the cloud application:
