Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install the LeanCloud command line tool CLI on MacOS High Sierra 10.13.6

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Brief introduction

According to my analysis (for reference), LeanCloud and mbmod are two very popular cloud API providers in China, and their main markets are aimed at mobile development. I will not repeat the details here. Interested friends can refer to the relevant information on the official website. This article describes the considerations for installing the LeanCloud command line tool CLI on MacOS High Sierra 10.13.6.

Command line tools are tools used to manage and deploy cloud engine projects. It can not only deploy, publish and roll back cloud engine code, manage multiple applications for the same cloud engine project, but also view cloud engine logs and upload files to the LeanCloud cloud in batches. It can be said that the lean-cli command line tool is the main tool for cloud development and debugging based on LeanCloud.

However, there are several special points to note about installing LeanCloud command-line tools on MacOS High Sierra 10.13.6.

Problems and solutions

If you directly follow the following official command, it is likely to fail:

Brew updatebrew install lean-cli

(1) the command brew update to install the LeanCloud command line tool on the latest MacOS High Sierra 10.13.6 is bound to fail! You can only uninstall brew and reinstall it. The command to uninstall brew is as follows:

/ usr/bin/ruby-e "$(curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

(2) reinstall the brew command as follows:

/ usr/bin/ruby-e "$(curl-fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

(3) use brew to install LeanCloud command line tools

Brew install lean-cli

After a successful installation, the command line is displayed as follows:

= = > Downloading https://homebrew.bintray.com/bottles/lean-cli-0.20.0.high_sierra.bottle.tar.gz

# 100.0%

= = > Pouring lean-cli-0.20.0.high_sierra.bottle.tar.gz

= = > Caveats

Bash completion has been installed to:

/ usr/local/etc/bash_completion.d

Zsh completions have been installed to:

/ usr/local/share/zsh/site-functions

= = > Summary

Quote https://leancloud.cn/docs/leanengine_cli.htmlhttps://stackoverflow.com/questions/46459152/cant-chown-usr-local-for-homebrew-in-osx-10-13-high-sierrahttps://www.jianshu.com/p/9474dba212f8https://blog.csdn.net/imliutao2/article/details/78675597

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report