Skip to content

Instantly share code, notes, and snippets.

@cecepm
Last active February 28, 2022 18:24
Show Gist options
  • Save cecepm/f0fefd39b177e01fb428624eb7d63ed0 to your computer and use it in GitHub Desktop.
Save cecepm/f0fefd39b177e01fb428624eb7d63ed0 to your computer and use it in GitHub Desktop.
Install Cheat
  1. Download cheat
    curl -sL https://github.com/cheat/cheat/releases/download/4.2.2/cheat-linux-amd64.gz -o ~/cheat-linux-amd64.gz
    
  2. Extract
    gzip -d ~/cheat-linux-amd64.gz
    
  3. Copy cheat binary to /usr/local/bin
    sudo mv ~/cheat-linux-amd64 /usr/local/bin/cheat
    sudo chmod +x /usr/local/bin/cheat
    
  4. Create cheat config file
    mkdir -p ~/.config/cheat
    cheat --init > ~/.config/cheat/conf.yml
    
  5. Create cheatsheet folder
    mkdir -p ~/.config/cheat/cheatsheets/community
    mkdir -p ~/.config/cheat/cheatsheets/personal
    
  6. Download cheatsheet
    git clone https://github.com/cheat/cheatsheets ~/.config/cheat/cheatsheets/community
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment