Using and Mastering Cookiecutter Transcripts
Chapter: System setup and installing Cookiecutter
Lecture: Installing and upgrading Cookiecutter

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Now that you've verified that you have Python installed, you can install Cookiecutter. Now, in order to use Cookiecutter, you don't need
0:11 to know anything about Python, but it does use it as its underlined runtime so you have to have it installed.
0:15 Alright, so to install Cookiecutter, we're going to use Python's package manager, we're just going to say pip3 install cookiecutter
0:21 Now, this will install into Python 3, if for some reason you want to install it to Python 2 you would say pip2 install cookiecutter
0:28 Now this will work, but this is going to modify the global system setup for Python,
0:32 and that requires admin rights and you probably don't want to do that, so instead, we can say pip3 install --user cookiecutter
0:40 and then it just installs in your local user profile, and you can just go to the terminal and type cookiecutter whatever and it will run,
0:47 so this is probably the recommended way to do it, now if you're on windows, windows Python for whatever reason doesn't have a pip2, pip3 variation,
0:57 similarly it doesn't have a Python 2 and Python 3 executable variation like macOS and Linux do. I don't know why they don't,
1:05 it's really frustrating but you just have to make sure you use the right path to pip,
1:08 so it's pip install cookiecutter but pip can mean different things, and you've got ot make sure you are pointing
1:13 at the version you want to install it into. If you don't know, go and install it into Python 3.
1:19 Finally, if you've already installed it but you want to make sure you have the latest version, you can give it a --upgrade flag
1:24 and this will install it if it's not there, and upgrade it if it is. Awesome, if you run these commands, probably the last one is the best,
1:32 you will have Cookiecutter and you will be ready to start working with it throughout this course.


Talk Python's Mastodon Michael Kennedy's Mastodon