Package undefvarerror: top level scope at none:0

So I just started learning Julia. I installed the Julia 1.0.5 64 bit windows version. Installation went smoothly. However I have not been able to add IJulia package. Each time I type Pkg.add(“IJulia”) , I get the error message

ERROR : UndefVarError: pkg not defined
top level scope at none:0

Please help!

Do using Pkg first.

1 Like