Skip to content

Commit de08c1a

Browse files
Merge pull request #1255 from KeilChris/fix_for_issue_1245
Adapted command line to the latest changes
2 parents e862f2c + abdf573 commit de08c1a

File tree

1 file changed

+10
-10
lines changed
  • content/learning-paths/microcontrollers/vcpkg-tool-installation

1 file changed

+10
-10
lines changed

content/learning-paths/microcontrollers/vcpkg-tool-installation/usage.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The following commands help you to work with `vcpkg`. The most important one is
1515
#### Activate tools specified by vcpkg-configuration.json
1616

1717
```bash { output_lines = "2-8" }
18-
vcpkg activate
18+
vcpkg-shell activate
1919

2020
warning: vcpkg-artifacts is experimental and may change at any time.
2121
Artifact Version Status Dependency Summary
@@ -28,7 +28,7 @@ microsoft:tools/ninja-build/ninja 1.10.2 installed Ninja is a
2828
#### Deactivate artifacts specified by vcpkg-configuration.json
2929
3030
```bash { output_lines = "2-4" }
31-
vcpkg deactivate
31+
vcpkg-shell deactivate
3232
3333
warning: vcpkg-artifacts is experimental and may change at any time.
3434
Deactivating: /Users/myuser/projects/myproject
@@ -37,7 +37,7 @@ Deactivating: /Users/myuser/projects/myproject
3737
#### Activating tools without vcpkg-configuration.json
3838
3939
```bash { output_lines = "2-5" }
40-
vcpkg use cmsis-toolbox
40+
vcpkg-shell use cmsis-toolbox
4141
4242
warning: vcpkg-artifacts is experimental and may change at any time.
4343
Artifact Version Status Dependency Summary
@@ -47,7 +47,7 @@ arm:tools/open-cmsis-pack/cmsis-toolbox 2.0.0 installed Arm distrib
4747
#### Retrieve all available versions of a tool
4848
4949
```bash { output_lines = "2-14" }
50-
vcpkg use open-cmsis-pack
50+
vcpkg-shell use open-cmsis-pack
5151
5252
warning: vcpkg-artifacts is experimental and may change at any time.
5353
error: Unable to resolve artifact: open-cmsis-pack
@@ -68,7 +68,7 @@ Possible matches:
6868
#### For example, tools
6969
7070
```bash { output_lines = "2-16" }
71-
vcpkg find artifact tools
71+
vcpkg-shell find artifact tools
7272
7373
warning: vcpkg-artifacts is experimental and may change at any time.
7474
Artifact Version Summary
@@ -85,7 +85,7 @@ arm:tools/arm/uv2csolution v1.0.0 *.uvprojx/*.uvmpw to csol
8585
#### For example, compilers
8686
8787
```bash { output_lines = "2-9" }
88-
vcpkg find artifact compilers
88+
vcpkg-shell find artifact compilers
8989
9090
warning: vcpkg-artifacts is experimental and may change at any time.
9191
Artifact Version Summary
@@ -100,27 +100,27 @@ arm:compilers/arm/armclang 6.20.0
100100
#### Create a new vcpkg-configuration.json file
101101
102102
```shell
103-
vcpkg new --application
103+
vcpkg-shell new --application
104104
```
105105
106106
#### Add artifact to vcpkg-configuration.json file
107107
108108
```shell
109-
vcpkg add artifact cmake
109+
vcpkg-shell add artifact cmake
110110
```
111111
112112
#### Remove artifact to vcpkg-configuration.json file
113113
114114
```shell
115-
vcpkg remove microsoft:tools/kitware/cmake
115+
vcpkg-shell remove microsoft:tools/kitware/cmake
116116
```
117117
118118
#### Update a registry
119119
120120
For example, the `arm` registry:
121121
122122
```shell
123-
vcpkg x-update-registry arm
123+
vcpkg-shell x-update-registry arm
124124
```
125125
126126
Before using the Arm Compiler, you need to activate a license. The next step shows how to do that.

0 commit comments

Comments
 (0)