 If you've ever coded in Python before you know we make extensive use of environments so whether you use virtual environments or condo or mini condo that's anaconda or mini condo you create these environments and you install your packages specifically for that environment and you don't want to mix and match those because you might get packaging dependencies or you're just installing a bunch of packages that you really don't need and I think that happens a lot in Julia where we just install Julia and then in our base environment we're just going to add all our packages and one day when it comes to updating the packages which in the ripples were easy you just hit the right square bracket and you just say update you're going to find a lot of your packages upgrade but some of them are going to downgrade to earlier versions and that might be totally unusable so don't put all your packages just in your base Julia installation rather create different environments or create a different environment for each of your projects and it is very simple to do once you've done it you can just add your packages specifically to that project in that environment and keep the versions that you're interested in and is working for you in that project so we're going to go to a terminal I'm going to show you how to do it on a mac but it's the same for other operating systems and we're going to create an environment and into which we will install just a single package it's very simple to do I've opened the terminal here on my mac os system and you see the term base there this is indeed a bash shell so I installed miniconda for my python coding and development and I selected this bash terminal for mac os so what we want to do is just change directory to where we want our environment a Julia environment to to be so I'm going to go to documents documents I have a Julia folder there so let's go there so we see we are in the Julia folder we're going to use the package the PKG package in Julia to do to create our environment for us so we're going to type Julia and then E and then we're going to have an opening and closing single quotation mark so we're going to say using PKG and then a semicolon space because we want some other code as well so PKG dot generate and what we want to generate we're going to pass as a string the name of this environment so I'm going to call this my youtube environment this is something silly which I will delete later and then we close that and we have to close that single quotation mark so Julia dash E that's going to open up Julia it's going to load the PKG package and it's going to use PKG dot generate and it's going to generate this environment for us what is what this is going to do is it's going to create a folder inside of where we are at the moment and remember for me I'm in documents forward slash Julia so let's run that and there we go we see generating project youtube and there's a youtube forward slash project dot to ml file and then youtube forward slash src for source and then youtube dot jl so it's created a default jl file for us we can create many more dot jl files inside of that source that src sub folder and we can even change what is in that default at the moment so let's go into this newly created sub folder then this newly created folder inside of our documents forward slash Julia folder so wherever you want to create this so let's just change directory into that and if we now do ls or few in windows it's going to be dir for directory and you see there's a project dot toml file and the source file src now what you want to do when you inside of this folder now where you can see that project dot toml file is you want to say Julia dash dash project equals full stop so Julia dash dash project equals full stop that's going to activate this environment for us and remember you must change directory into your directory that we've created that holds this environment so let's do that and now we can see Julia has started and if i now go to the package system remember that's the right square bracket notice i'm in the youtube environment now that's no longer the 1.4 or whatever version of Julia you're running we are not in that in that environment anymore we are now in an environment where we are only dealing with what is inside of this project so let's hit the backspace i'm going to say using pkg there we go and then pkg dot add and let's add a package so let's make just the data frames package data frames and close but now i'm going to use another keyword argument preserve and i'm going to set that preserve direct so if you look at the website for the package pkg package you'll notice that there are a couple of these values for the preserve keyword so what this is going to do for us it is just going to keep this version that we have now so if we add other packages we're not going to change this version of the data frames package so let's do that and it's now going to install this package for us now if you've installed other packages inside of the base environment just your standard julia environment you're going to see that if you run status on this environment now let's do that this right click to get into the package to say st you see it's only data frames that we have there now and that is written to your toml files specific to this project so let's escape from there and now we can just say exit open close parentheses and we are outside of our environment now so make use of this remember those two lines of code you're really just going to use the dash e setting julia dash e and then inside of your sets of quotation marks you're going to create that and then remember just to activate with a dash dash project keyword that we that we use i hope you found that helpful please create different environments so that you don't have these problems of their dependencies upgrading or downgrading at least other packages that you use so create these environments if you've used python before of course you're used to creating these different environments specifically if you use a virtual environment so you use condors environments