A simple command line tool to quickly create projects for the Internet Computer.
Note that you will need to use npm 6 or higher.
npm init ic
An optional project name can also be passed to the command line:
npm init ic myproject
This npm initializer is basically a shorthand to dfx - the command-line interface for managing Internet Computer projects.
- It first checks if dfx is installed in your environment. If not, it prompts you to install it
- If already installed, the script checks if a newer version of dfx is available and prompts you if you want to install it
- Request a new project name and what type of canister should be created
- Init a new project
It does not support yet Windows and might also not work behind a proxy.
MIT © David Dal Busco