Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 660 Bytes

File metadata and controls

31 lines (25 loc) · 660 Bytes

Leetcode-cli

cli tool to get leetcode daily question

Example Usage:

leetcode-cli daily go
leetcode-cli daily python

Install

  1. You will need to install go on your machine: https://go.dev/doc/install
  2. Setup GOPATH

Add the following to your shell config

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

More information: https://go.dev/wiki/GOPATH#gopath-variable

  1. Install the binary
go install github.com/epicseven-cup/leetcode-cli@latest

There could be delays between the Goproxy and GitHub binarys, you can use the direct setup

GOPROXY=direct go install github.com/epicseven-cup/leetcode-cli@latest