• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

corbindavenport/nexus-tools: Installer for ADB, Fastboot, and other Android tool ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

corbindavenport/nexus-tools

开源软件地址(OpenSource Url):

https://github.com/corbindavenport/nexus-tools

开源编程语言(OpenSource Language):

Dart 77.8%

开源软件介绍(OpenSource Introduction):

Nexus Tools

Nexus Tools is an installer for the Android SDK Platform Tools package, which includes ADB, Fastboot, and other applications. Nexus Tools is writen in Dart, and can run on Linux, macOS, Windows, Windows Subsystem for Linux, and Chrome OS.

Nexus Tools downloads the latest Platform tools package directly from Google's servers (so you're always getting the latest version), saves them to ~/.nexustools ($Home\NexusTools on Windows), and adds the directory to your system's path. On Windows, Nexus Tools can optionally install Koush's Universal ADB Driver.

Once Nexus Tools is finished, you can run adb, fastboot, and other commands with no problems. You need to open a new terminal/command line window after installation for changes to take effect. The SDK Platform Tools can be updated by running nexustools -i, or you can uninstall everything by running nexustools -r.

How to use on Linux, macOS, and Chrome OS

Paste this command into the Terminal app:

bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)

You can also download the Mac and Linux versions from the latest release page, un-zip the file, and run it from the Terminal.

How to use on Windows

Open Windows PowerShell from the Start Menu and paste this command:

iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.ps1'))

You can also download the Windows version from the latest release page, un-zip the file, and run it from Windows PowerShell or the Command Prompt.

Compatibility

Nexus Tools is only available for x86_64 macOS, Linux, and Windows, because Google only provides native Platform Tools binaries for those platforms. On Macs with Apple Silicon, Nexus Tools runs in the Rosetta 2 compatibility layer.

Analytics

Nexus Tools uses Plausible Analytics to transmit your operating system and CPU architecture during the installation process. This data is not sold or shared in any way, it's only for me to know which hardware platforms I should focus my attention on. You can disable analytics reporting by adding the --no-analytics parameter to the install command, like this:

bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh) --no-analytics

It also works when running Nexus Tools locally:

nexustools --no-analytics

This analytics data is viewable publicly at plausible.io/nexustools.corbin.io.

Development info

Nexus Tools is written in Dart, so you need the Dart SDK to work on it. You can run Nexus Tools from source like this:

dart ./bin/main.dart

The compile.sh (macOS and Linux) and compile.ps1 scripts create executables and zip them. You can also use GitHub Actions to compile Nexus Tools, by navigating to Actions > Compile Nexus Tools > Run workflow.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Homebrew/homebrew-command-not-found: 发布时间:2022-08-18
下一篇:
MarioCatuogno/Clean-macOS: 发布时间:2022-08-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap