You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/installation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ Using [Homebrew](https://brew.sh/), you will need to install "openssl" and "cmak
107
107
Nushell releases are published as source to the popular Rust package registry [crates.io](https://crates.io/). This makes it easy to build and install the latest Nu release with `cargo`:
108
108
109
109
```nu
110
-
cargo install nu
110
+
cargo install nu --locked
111
111
```
112
112
113
113
The `cargo` tool will do the work of downloading Nu and its source dependencies, building it, and installing it into the cargo bin path.
Copy file name to clipboardExpand all lines: book/plugins.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Nushell also ships with several plugins that serve as examples or tools for plug
27
27
Core plugins are typically distributed with the Nushell release and should already be installed in the same directory as the Nushell executable. If this is the case on your system, core plugins should be using correct `nu-plugin` protocol version. If your package management system installs them separately, please make sure to update the core plugins whenever Nushell itself is updated.
28
28
29
29
::: tip Installing using Cargo
30
-
For example, when installing or upgrading Nushell directly from crates.io using `cargo install nu`, the corresponding core plugins for that version may also be installed or updated using `cargo install nu_plugin_<plugin_name>`.
30
+
For example, when installing or upgrading Nushell directly from crates.io using `cargo install nu --locked`, the corresponding core plugins for that version may also be installed or updated using `cargo install nu_plugin_<plugin_name> --locked`.
31
31
32
32
To install all of the default plugins, from within Nushell run:
33
33
@@ -37,7 +37,7 @@ To install all of the default plugins, from within Nushell run:
37
37
nu_plugin_gstat
38
38
nu_plugin_formats
39
39
nu_plugin_query
40
-
] | each { cargo install $in } | ignore
40
+
] | each { cargo install $in --locked } | ignore
41
41
```
42
42
43
43
:::
@@ -54,13 +54,13 @@ To install a third-party plugin on your system, you first need to make sure the
54
54
To install a plugin by name from crates.io, run:
55
55
56
56
```nu
57
-
cargo install nu_plugin_<plugin_name>
57
+
cargo install nu_plugin_<plugin_name> --locked
58
58
```
59
59
60
60
When installing from a repository (e.g., GitHub), run the following from inside the cloned repository:
61
61
62
62
```nu
63
-
cargo install --path .
63
+
cargo install --path . --locked
64
64
```
65
65
66
66
This will create a binary file that can be used to add the plugin.
Copy file name to clipboardExpand all lines: es/book/instalacion.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,23 +113,23 @@ brew install openssl cmake
113
113
Una vez instaladas las depependencias que Nu necesita, podemos instalarla usando el comando `cargo` que viene con el compilador Rust.
114
114
115
115
```
116
-
> cargo install nu
116
+
> cargo install nu --locked
117
117
```
118
118
119
119
¡Eso es todo! Cargo hará el trabajo de descarga Nu junto con sus dependencias, construirla e instalarla en el bin path de cargo para que podamos arrancarlo.
120
120
121
121
Si deseas instalar con más funcionalidades, puedes hacer:
122
122
123
123
```
124
-
> cargo install nu --features=stable
124
+
> cargo install nu --locked --features=stable
125
125
```
126
126
127
127
Para todas las funcionalidades disponibles, la manera más fácil es descargar la fuente de Nu y construírlo usted mismo usando las herramientas de Rust:
Copy file name to clipboardExpand all lines: pt-BR/book/instalacao.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,15 +95,15 @@ brew install openssl cmake
95
95
Quando tivermos todas as dependências de que o Nu precisa, podemos instalá-lo usando o comando `cargo`, que vem junto com o compilador Rust.
96
96
97
97
```nu
98
-
> cargo install nu
98
+
> cargo install nu --locked
99
99
```
100
100
101
101
Pronto! A ferramenta cargo fará o download do Nu e das dependências do fonte, o build e a instalação no caminho bin do cargo, de forma que possamos rodá-lo.
102
102
103
103
Se quiser instalar todas as funcionalidades, inclusive algumas opcionais divertidas, você pode usar:
104
104
105
105
```nu
106
-
> cargo install nu --features=stable
106
+
> cargo install nu --locked --features=stable
107
107
```
108
108
109
109
Para esse comando funcionar, certifique-se de ter todas as dependências (mostradas acima) instaladas no seu sistema.
0 commit comments