1.2 KiB
1.2 KiB
@cosmwasm/cli
Installation and first run
The cosmwasm-cli executable is available via npm. We recommend local
installations to your demo project. If you don't have one yet, just
mkdir cosmwasm-cli-installation && cd cosmwasm-cli-installation && yarn init --yes.
locally with yarn
$ yarn add @cosmwasm/cli --dev
$ ./node_modules/.bin/cosmwasm-cli
locally with npm
$ npm install @cosmwasm/cli --save-dev
$ ./node_modules/.bin/cosmwasm-cli
globally with yarn
$ yarn global add @cosmwasm/cli
$ cosmwasm-cli
globally with npm
$ npm install -g @cosmwasm/cli
$ cosmwasm-cli
Getting started
- Install
@cosmwasm/cliand runcosmwasm-clias shown above - TODO: write README inspired by https://github.com/iov-one/iov-core/blob/master/packages/iov-cli/README.md
License
This package is part of the cosmwasm-js repository, licensed under the Apache License 2.0 (see NOTICE and LICENSE).