@aptos-labs/aptos-cli v1.0.2
Aptos CLI
The @aptos-labs/aptos-cli package allows you to use the Aptos CLI from inside a Nodejs project.
Download
To install the Aptos CLI, you need to have Node.js and npm installed on your system. Then, you can install it using:
npm install @aptos-labs/aptos-cliThat command will download the Aptos CLI and create a Node bin file, making it available to use in a Node environment.
Install
Once you have the package installed and the Node bin file, you can run the following command, in your project environment, to install the Aptos CLI in your project:
npx aptos --installAlternatively, you can simply run the cli using the npx aptos command. That will install the Aptos CLI in your project if it's not already installed.
npx aptosUsage
To use the Aptos CLI, in your project environment, run the npx aptos command, to see the available commands.
npx aptosUpdating the Aptos CLI
To update the Aptos CLI, you can run the following command within your project environment:
npx aptos --updateDevelopment
To set up the project for development:
- Clone the repository
- Install dependencies:
npm install - Run the development server:
npm run dev
This will build the project and run the CLI.
Building
To build the project:
npm run build7 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago