Skip to content

Instantly share code, notes, and snippets.

@scottnixonjr
Last active February 2, 2021 18:18
Show Gist options
  • Save scottnixonjr/c51cb1cfd71143e477a3efebb53ebe24 to your computer and use it in GitHub Desktop.
Save scottnixonjr/c51cb1cfd71143e477a3efebb53ebe24 to your computer and use it in GitHub Desktop.

CLI Cheatsheet

Shell

echo quotes are only needed for special characters

quotes are only needed for special characters

' strong quote

" weak quote

echo '$HOME is where you store stuff'

$HOME is where you store stuff

vs.

echo "$HOME is where you store stuff"

/Users/scott is where you store stuff

Environment Variables

TMPDIR allows you specific your temporary directory. Set the temp directory and pip respected that location.

export TMPDIR=temppip

pip install -e ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment