# 9fans/go — Usage Guide `9fans.net/go` provides Go packages for interacting with Plan 9 and ports of common Plan 9 libraries and tools. ## Installation ``` go install 9fans.net/go/...@latest ``` Requires a Go toolchain (see `go.mod` for the module's Go version). ## What the module provides | Area | Path | Purpose | |------|------|---------| | Plan 9 client libraries | `plan9/` | File-system (9P) client, plan9 command helpers (`plan9/client`, `plan9/srv9p`, ...) | | Drawing primitives | `draw/` | Graphics/raster operations (`draw/memdraw`, ...) | | Acme editor tooling | `acme/` | Programmatic access to the Acme editor | | Command-line ports | `cmd/` | Ports of Plan 9 commands: `acme`, `devdraw`, `sam`, `samterm` | | Games | `games/` | Plan 9 game ports | | Tracing utility | `p9trace/` | Trace 9P conversations | | Plumbing | `plumb/` | Plan 9 plumber message format support | ## Importing packages Packages are imported by their full module path, e.g.: ```go import "9fans.net/go/plan9/client" ``` Command binaries are installed with: ``` go install 9fans.net/go/cmd/sam@latest go install 9fans.net/go/cmd/acme@latest ``` ## Getting help Full API reference: https://pkg.go.dev/9fans.net/go Command-specific usage is available via the usual conventions (`-h` flag or command documentation on pkg.go.dev).