-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
# Update Instructions | ||
|
||
To update your Juno, you need to follow the two steps -- both update Atom packages and Julia packages. | ||
To update your Juno, you need to follow the two steps – | ||
update both Atom packages and Julia packages, | ||
each of which constitutes a part of Juno. | ||
|
||
|
||
## 1. Update Atom Packages | ||
|
||
In this step, we install the latest versions of | ||
In this step, you install the latest versions of | ||
[`julia-client`](https://github.com/JunoLab/atom-julia-client) and | ||
[`ink`](https://github.com/JunoLab/atom-ink) | ||
packages. | ||
|
||
First, close all the Atom windows and type the following command into your terminal | ||
First, _**close all the Atom windows**_. | ||
|
||
And then type the following command into your terminal | ||
(e.g. `cmd` on Windows or the Terminal App on MacOS): | ||
|
||
```sh | ||
apm update | ||
``` | ||
|
||
If that also doesn’t work or if you want to only update Juno-related packages, | ||
If that doesn’t work, or if you want to only update Juno-related packages, | ||
try the commands below instead: | ||
|
||
```sh | ||
|
@@ -30,7 +34,7 @@ apm install julia-client | |
!!! note | ||
To fully update Atom packages, an Atom process that had been started _before_ updating the packages needs to be restarted. | ||
This is why we recommend you close all the Atom processes first. | ||
If you follow the above step, `julia-client` and `ink` will be the latest version the next time you open Atom . | ||
If you follow the above step, `julia-client` and `ink` will be latest the next time you open Atom . | ||
|
||
!!! warning | ||
It is possible that your Antivirus Software prevents certain files to be downloaded or | ||
|
@@ -44,16 +48,18 @@ apm install julia-client | |
|
||
## 2. Update Julia Packages | ||
|
||
Execute the following in a Julia prompt: | ||
Now you update Julia packages: | ||
[Atom.jl](https://github.com/JunoLab/Atom.jl) and | ||
[Juno.jl](https://github.com/JunoLab/Juno.jl). | ||
|
||
Start a Julia process _**outside of Juno**_, and then execute the following: | ||
|
||
```julia | ||
pkg> up Atom Juno | ||
``` | ||
|
||
If it doesn't work, try to execute below and see what hinders the updates of | ||
[Atom.jl](https://github.com/JunoLab/Atom.jl) and | ||
[Juno.jl](https://github.com/JunoLab/Juno.jl) | ||
in your environment. | ||
Atom.jl and Juno.jl in your environment. | ||
|
||
```julia | ||
pkg> rm Atom Juno | ||
|
@@ -63,16 +69,34 @@ pkg> add Juno@junojlver | |
|
||
where `@atomjlver` and `@junojlver` is the versions of Atom.jl and Juno.jl that you're trying to update to, respectively. | ||
|
||
!!! tip | ||
It is also possible to update Atom.jl and Juno.jl from Juno's REPL, | ||
but in some update cases Juno's REPL itself may be unfunctional because of | ||
the incompatibility between (already updated) Atom packages and (not-updated) Julia packages, | ||
and so we recommend you update Julia packages outside of Juno. | ||
|
||
Also note that when you update Julia packages from Juno's REPL | ||
and if the `Boot Mode` config setting is set to `Cycler`, | ||
you may need to restart Julia process _twice_ to reflect update changes. | ||
|
||
!!! warning | ||
The versioning of Atom.jl and Juno.jl doesn't necessarily match. | ||
For example, the current latest version of Atom.jl is `[email protected]` | ||
while that of Juno.jl is `[email protected]` | ||
|
||
## 3. The New Juno is Ready ! | ||
|
||
Congrat ! Now your Juno has been successfully updated. | ||
Let's start Atom, fire up Julia, and enjoy the new Juno ! | ||
|
||
We usually publish release notes at [Julia Discourse](https://discourse.julialang.org/c/tools/juno/l/latest); | ||
please check there for what new features/improvements/bugfixes are included within a release. | ||
|
||
## Troubleshooting | ||
|
||
In a case you still face a problem even after following the update instructions here, then please post | ||
on [Juno.jl GitHub repository](https://github.com/JunoLab/Juno.jl/issues) or | ||
at [Julia's discussion forum under the `Tooling ▶ Juno` category](https://discourse.julialang.org/c/tools/juno/l/latest), | ||
at [Julia Discourse under the `Tooling ▶ Juno` category](https://discourse.julialang.org/c/tools/juno/l/latest), | ||
and we're happy to help. | ||
|
||
!!! note | ||
|