cosmjs-util/packages/cli/README.md
2020-02-06 17:36:14 +01:00

1.2 KiB

@cosmwasm/cli

npm version

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

  1. Install @cosmwasm/cli and run cosmwasm-cli as shown above
  2. 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).