# Can't install plot?

**URL:** https://discourse.julialang.org/t/cant-install-plot/104928
**Category:** New to Julia
**Tags:** plots
**Created:** [October 13, 2023, 1:55pm UTC](https://discourse.julialang.org/t/cant-install-plot/104928 "2023-10-13T13:55:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Alex\_Beck](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex_beck/32/202454_2.png) [@Alex\_Beck](https://discourse.julialang.org/u/Alex_Beck)
#### Post date: [October 13, 2023, 1:55pm UTC](https://discourse.julialang.org/t/cant-install-plot/104928/1 "2023-10-13T13:55:36Z")

</div>

Hello,  
I wanted to do a little code in julia and using plot, so I watched the doc to install it and did what it was said. But when I put :  
Pkg.add(“Plots”)  
my command line say :  
syntax error near unexpected token `“Plots”'.  
Can somebody help me please ?

---

<div class="post-metadata">

### Author: ![Paul\_Soderlind](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paul_soderlind/32/1753_2.png) [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)
#### Post date: [October 13, 2023, 1:59pm UTC](https://discourse.julialang.org/t/cant-install-plot/104928/2 "2023-10-13T13:59:10Z")

</div>

`"Plots"` (not your citation markers)

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [October 13, 2023, 2:00pm UTC](https://discourse.julialang.org/t/cant-install-plot/104928/3 "2023-10-13T14:00:40Z")

</div>

Could you copy/paste exactly what you did in a fresh Julia session to get to that error? Initially I had the same thought as Paul but the wrong quotes give a different error:

```julia
julia> Pkg.add(“Plots”)
ERROR: syntax: invalid character "“" near column 9

```

This works for me as expected:

```julia
julia> import Pkg

julia> Pkg.add("Plots")

```

Please ensure to enclose your code in triple backticks ````` to ensure we see exactly the characters you entered.

---

<div class="post-metadata">

### Author: ![Alex\_Beck](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex_beck/32/202454_2.png) [@Alex\_Beck](https://discourse.julialang.org/u/Alex_Beck)
#### Post date: [October 13, 2023, 2:01pm UTC](https://discourse.julialang.org/t/cant-install-plot/104928/4 "2023-10-13T14:01:56Z")

</div>

I am sorry guys, I am just stupid, I didn’t launch the julia environment, so that’s my bad, now it’s working
