1. Prerequisites
Make sure you haveGo 1.26.6 or laterinstalled on your machine. You can verify your version with:
go version
2. Install the GoKS CLI
Install thegokscommand-line interface globally using standard Go tooling:
go install github.com/misbakhul29/goks@latestNote: Ensure that$(go env GOPATH)/binis present in your system$PATH.
3. Create a New Application
Usegoks newto scaffold an application with file-system routing, Tailwind CSS v4, and opinionated folder conventions:
goks new myapp
cd myapp
go mod tidy4. Start the Dev Server
Launch the local development environment with instant hot reloading, background Tailwind compilation, and runtime error overlay:
goks devOpen your browser athttp://localhost:3000. Editing any.goxor Go file will trigger instant browser reloads.
5. Add UI Components (Optional)
GoKS includes a shadcn-inspired component CLI generator. Add accessible, pre-styled Tailwind components into your workspace:
goks ui add button input card6. Build for Production
When you are ready to deploy, generate a self-contained single executable with all WebAssembly, templates, and stylesheets embedded:
goks build --standalone