Copper
  • Intro to Copper
  • Getting Started
    • Installation
    • Create Project
      • Go Templates
      • Tailwind
      • React
      • React + Tailwind
      • REST API
  • Guides
    • HackerNews Clone
    • Deploy with Fly.io
  • The Basics
    • Directory Structure
    • Dependency Injection
  • Core
    • App Lifecycle
    • Configuration
    • Error Handling
    • Logging
  • HTTP
    • Routing
    • Read & Write JSON
    • HTML Views
    • Middleware
  • SQL
    • Queries
    • Migrations
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

Installation

Install Copper CLI

$ go install github.com/gocopper/cli/cmd/copper@latest

Ensure your copper installation works correctly

$ copper -h

Troubleshoot

If copper -h didn't work, it probably means that $GOPATH/bin is not in your $PATH. Add the following to ~/.zshrc or ~/.bashrc -

export PATH=$HOME/go/bin:$PATH

Then, restart your terminal session and try copper -h again.

PreviousIntro to CopperNextCreate Project

Last updated 2 years ago

Was this helpful?