rust_notebooks/01_geting_started/00_Installation.ipynb

54 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"cells": [
{
"cell_type": "markdown",
"id": "14550fee-0ae7-4870-b779-3d03b9d79b2b",
"metadata": {},
"source": [
"## 😊 Installing rustup on Linux or macOS\n",
"\n",
"If youre using Linux or macOS, open a terminal and enter the following command:\n",
"\n",
"```sh\n",
"$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh\n",
"```\n",
"\n",
"The command downloads a script and starts the installation of the `rustup` tool, which installs the latest stable version of Rust. You might be prompted for your password. If the install is successful, the following line will appear:\n",
"\n",
"```sh\n",
"Rust is installed now. Great!\n",
"```\n",
"\n",
"## 😊 Updating and 😭 Uninstalling\n",
"\n",
"Once Rust is installed via `rustup`, updating to a newly released version is easy. From your shell, run the following update script:\n",
"\n",
"```sh\n",
"$ rustup update\n",
"```\n",
"\n",
"```sh\n",
"$ rustup self uninstall\n",
"```"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Rust",
"language": "rust",
"name": "rust"
},
"language_info": {
"codemirror_mode": "rust",
"file_extension": ".rs",
"mimetype": "text/rust",
"name": "Rust",
"pygment_lexer": "rust",
"version": ""
}
},
"nbformat": 4,
"nbformat_minor": 5
}