In the VTEX IO platform, all code configuration is bundled in what we call apps.
Therefore, when using the VTEX Store Framework, you will need to install several applications to your VTEX account in order to properly build the desired storefront.
In addition to that, if you are developing a new project, installing an app is a fundamental step for testing the reliability of your new code settings. Once your app is already published, you are able to install it in any workspace you may be working on.
Remember the following: private apps (apps without the
billingOptions
field in itsmanifest.json
file) can only be installed in the VTEX account where it was published. Public apps with freebillingOptions
can be installed in any VTEX account by any admin user. Lastly, public apps with billablebillingOptions
can only be installed by admin users with the License Manager'sBuyApp
permission. Once this installation takes place, the app will be charged by the end of every month in the accounts that installed it.
Instructions
- Using your terminal and the VTEX IO CLI, make sure you are logged into the desired account and using the desired workspace.
- Then, run one of the following commands according to your needs and scenario:
vtex install {appVendor}.{appName}
orvtex install {appVendor}.{appName}@x
- To install the latest stable version of the app;vtex install {appVendor}.{appName}@{appVersion}
- To install a specific version of the app;vtex install {appVendor}.{appName}@ˆ{appVersion}
- To install any available version from the{appVersion}
onwards.
When specifying the {appVersion}
, bear in mind the permitted structures:
@8.0.10
@8.0.10-beta.3
@8.x
@^8.0.10
@^8.0.10-beta.1
VTEX IO CLI only interprets installation commands with ranges by majors. This means minors and patches can only be specified in scenarios where one of the structures stated above is being used. App versions as
@8.0.x
or@8.2
are no longer allowed.